"FOP -awt" - Generate Output on Screen


How to use "FOP -awt" option to generate output on the screen?

✍: FYIcenter.com


If you want to display output on the screen instead of PDF files, you can use the "FOP -awt" command option. Here is how to do this:

fyicenter> cd \local\fop-2.x\fop

fyicenter> fop -awt examples\fo\basic\fonts.fo
org.apache.fop.render.java2d.Java2DRenderer getPageImage
INFO: Rendering Page 1 (pageWidth 595, pageHeight 842)

The output will be displayed on the screen as shown below:
FOP Example - Display Output on Screen


Transform XML to FO and Generate PDF with FOP

Convert Image to PDF with FOP

FOP Commands and Examples

⇑⇑ FAQ for FOP (Formatting Object Processor)

2018-04-28, 1291🔥, 0💬