deckjs2pdf - Convert a Deck.JS presentation to PDF
deck2pdf [OPTION]... URI [FILE]
-v, --verbose enable verbose mode -w, --width WIDHT the width of the slides in pixels -h, --height HEIGHT the height of the slides in pixels -z, --zoom LEVEL zoom level (negative values zoom out, positive zoom in) -p, --pause MS number of milliseconds to wait before a capture -h, --help print this help message
Simple usage:
# Presentation with a zoom out of 2 levels (smaller fonts) deckjs2pdf --zoom -2 deck-presentation.html # Save the presentation through a frame buffer (no window visible) xvfb-run --server-args="-screen 0 1280x800x24" deckjs2pdf --pause 1000 --width 1280 --height 800 index.html webkit-perl.pdf
Convert and Deck.JS presentation into a PDF.
This is ideal for sharing the presentation with others as it ensures that the slides will be visible with all resources loaded (fonts, images, css, etc).
If you can view the slides properly with WebKit then you can export a PDF with the slides rendering in the same way.
Written by Emmanuel Rodriguez <potyl@cpan.org>
Copyright (c) 2011 Emmanuel Rodriguez. License same as Perl.
To install deckjs2pdf, copy and paste the appropriate command in to your terminal.
cpanm
cpanm deckjs2pdf
CPAN shell
perl -MCPAN -e shell install deckjs2pdf
For more information on module installation, please visit the detailed CPAN module installation guide.