EnglishFrenchSpanish

OnWorks favicon

xhtml2pdf - Online in the Cloud

Run xhtml2pdf in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command xhtml2pdf that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


xhtml2pdf - PDF generator using HTML and CSS

SYNOPSIS


xhtml2pdf [-b base path] [--base=base path] [-c CSS file] [--css=CSS file] [--css-dump]
[-d] [--debug] [--encoding=character encoding] [-h] [--help] [-q] [--quiet]
[--version] [-w] [--warn] [-x] [--xml] [--xhtml] [--html] [SRC] [DEST]

DESCRIPTION


This manual page documents briefly the xhtml2pdf command.

xhtml2pdf is an HTML-to-PDF converter using the ReportLab Toolkit, HTML5lib and pyPdf.

It supports HTML 5 and CSS 2.1 (and some of CSS 3). It is completely written in pure
Python so it is platform independent. The main benefit of this tool that a user with Web
skills like HTML and CSS is able to generate PDF templates very quickly without learning
new technologies. Easy integration into Python frameworks like CherryPy, KID Templating,
TurboGears, Django, Zope, Plone, Google AppEngine (GAE) etc.

OPTIONS


A summary of options is included below.

SRC
Name of a HTML file or a file pattern using * placeholder. If you want to read from
stdin use - as file name. You may also load an URL over HTTP. Take care of putting the
src in quotes if it contains characters like ?.

DEST
Name of the generated PDF file or - if you like to send the result to stdout. Take
care that the destination file is not already opened by any other application like the
Adobe Reader. If the destination is not writeable a similar name will be calculated
automatically.

-b, --base
Specify a base path if input comes via STDIN.

-c, --css
Path to default CSS file

--css-dump
Dumps the default CSS definitions to STDOUT.

-d, --debug
Show debugging information.

--encoding
The character encoding of SRC. If left empty (default) this information will be
extracted from the HTML header data.

-h, --help
Show the help text.

-q, --quiet
Show no messages.

--version
Show version information.

-w, --warn
Show warnings

-x, --xml, --xhtml
Force parsing in XML mode (automatically used if SRC ends with .xml).

--html
Force parsin in HTML mode (default).

Use xhtml2pdf online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    PHP QR Code
    PHP QR Code
    PHP QR Code is open source (LGPL)
    library for generating QR Code,
    2-dimensional barcode. Based on
    libqrencode C library, provides API for
    creating QR Code barc...
    Download PHP QR Code
  • 2
    Freeciv
    Freeciv
    Freeciv is a free turn-based
    multiplayer strategy game, in which each
    player becomes the leader of a
    civilization, fighting to obtain the
    ultimate goal: to bec...
    Download Freeciv
  • 3
    Cuckoo Sandbox
    Cuckoo Sandbox
    Cuckoo Sandbox uses components to
    monitor the behavior of malware in a
    Sandbox environment; isolated from the
    rest of the system. It offers automated
    analysis o...
    Download Cuckoo Sandbox
  • 4
    LMS-YouTube
    LMS-YouTube
    Play YouTube video on LMS (porting of
    Triode's to YouTbe API v3) This is
    an application that can also be fetched
    from
    https://sourceforge.net/projects/lms-y...
    Download LMS-YouTube
  • 5
    Windows Presentation Foundation
    Windows Presentation Foundation
    Windows Presentation Foundation (WPF)
    is a UI framework for building Windows
    desktop applications. WPF supports a
    broad set of application development
    features...
    Download Windows Presentation Foundation
  • 6
    SportMusik
    SportMusik
    Mit dem Programm kann man schnell und
    einfach Pausen bei Sportveranstaltungen
    mit Musik �berbr�cken. Hierf�r haben sie
    die M�glichkeit, folgende Wiedergabvaria...
    Download SportMusik
  • More »

Linux commands

Ad