Emmanuel Rodriguez > App-deckjs2pdf-0.02 > deckjs2pdf

Download:
App-deckjs2pdf-0.02.tar.gz

Annotate this POD

Website

View/Report Bugs
Source  

NAME ^

deckjs2pdf - Convert a Deck.JS presentation to PDF

SYNOPSIS ^

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

DESCRIPTION ^

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.

AUTHOR ^

Written by Emmanuel Rodriguez <potyl@cpan.org>

COPYRIGH ^

Copyright (c) 2011 Emmanuel Rodriguez. License same as Perl.

syntax highlighting: