Apache PDFBox
The Apache Software Foundation > Incubator > Apache PDFBox

TextToPDF

Description

This application will create a PDF document from a text file.

Command Line Parameter Type Default Value Description
-standardFont <fontname> One of the following:
Times-BoldItalic
ZapfDingbats
Helvetica
Courier-Bold
Courier-BoldOblique
Symbol
Times-Bold
Courier-Oblique
Times-Roman
Times-Italic
Helvetica-Bold
Helvetica-Oblique
Helvetica-BoldOblique
Courier
Helvetica The font to use for the text. Either this or -ttf should be specified but not both.
-ttf <fontfile> Path to TTF File. None The TTF font to use for the text. Either this or -standardFont should be specified but not both.
-fontSize <fontsize> integer 10 The size of the font to use.