Some test text!

DocPub (Command Line Conversion for PDF, HTML, EPUB & More)

In this document
chevron_rightKey Functions
chevron_rightCommon Use Case Scenarios
chevron_rightOperating Systems Supported
chevron_rightSystem Requirements
chevron_rightExamples

DocPub is an easy-to-use, multi-platform command-line program that can be used for high-quality batch conversion from a wide range of document formats to HTML, EPUB, XOD, XPS, and PDF.

Like other PDFTron products, DocPub does not rely on any third party components. The technology is suitable for use in high-throughput server environments.

Download DocPub

linkKey Functions

  • Fast, high-quality conversion from practically any document to PDF (Portable Document Format), XPS (XML Paper Specification) or XOD (web optimized OpenXPS standard), HTML or EPUB format, that maintains the original document quality and layout and preserves hyperlinks, colors and fonts.

  • Create XOD documents for use with PDFTron WebViewer (HTML5, Silverlight, and Flash), including streaming conversions on-demand.

  • The conversion process preserves the original document's meta-data as well as other non-graphical information such as bookmarks, logical structure, and articles.

  • Thumbnail generation option for fast navigation through multi-page documents.

  • Automatic repair of broken PDF documents.

  • Support for all versions of the PDF Language Standard, including Acrobat 9 documents as well as ISO PDF (ISO 32000).

  • Batch conversion.

  • Wild card and subfolder processing.

  • 100% conversion accuracy.

  • Optional flattening to create PDF's that render faster on mobile devices with lower memory and speeds.

linkCommon Use Case Scenarios

  • Developers may want to use DocPub to quickly add batch conversion support to any application or workflow that requires PDF, XPS, XOD, HTML or EPUB as output formats.

  • Server-based, on-demand conversion of documents to PDF, XPS, XOD, HTML and EPUB files.

  • Stream XOD conversions on-demand to a WebViewer client.

  • Batch processing of large collections of files with the same conversion options.

  • Extending existing applications to take advantage of the new XPS Print API and XPS print path available in Windows 8, 7, and Vista.

linkOperating Systems Supported

  • Windows, Linux and Mac.

linkSystem Requirements

  • At least 12 MB of free disk space.

  • Memory requirement is dependent on source document being converted.

linkExamples

#!/bin/sh
echo "Example 1) Convert a PDF document to Silverlight XPS (XOD):"
./docpub -f xod -o test_out "PDFTron DocPub User Manual.pdf"
echo
echo "Example 2) Convert a PDF to print/achiving quality XPS:"
./docpub -f xps -o test_out "PDFTron DocPub User Manual.pdf"
echo
echo "Example 3) Convert an XPS document to PDF:"
./docpub -f pdf -o test_out test_out/"PDFTron DocPub User Manual.xps"
echo
echo "Example 4) Convert generic XPS to Silverlight XPS (XOD):"
./docpub -f xod -o test_out --fname fromxps test_out/"PDFTron DocPub User Manual.xps"