This section covers the most important command line calls.
Using -v or --verbose you can specify several levels of output: they reach from "debug" for all possible information available to "fatal" which only displays fatal errors. The following example displays all available debug information:
java -jar pdfreactor.jar -v debug c:\test\test.html test.pdf
This example only displays fatal errors:
java -jar pdfreactor.jar -v fatal c:\test\test.html test.pdf
When specifiying -v whithout indicating a level, it is set to "info" by default.
By default, all information is written to the standard output. When using stdout as output for the PDF document, all logging information is automatically written to stderr.
Styles can be applied in various ways. Usually they're linked with the rendered document using ordained elements such as <link> in XHTML documents. You can also specify styles via command line parameter directly as string or by indicating a CSS as URL:
java -jar pdfreactor.jar
--style "* {font-weight:bold}" c:\test\test.html test.pdf
java -jar pdfreactor.jar
--styleurl http://myserver/style.css c:\test\test.html test.pdf