This application will create a PDF document from a text file.
usage: java -jar pdfbox-app-x.y.z.jar TextToPDF [OPTIONS] <outputfile> <textfile>
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. |