Run fop.jar in FOP as Executable
How to run fop.jar in FOP an executable jar?
fop.jar in FOP has "Main-Class: org.apache.fop.cli.Main" specified in the manifest file. You can run fop.jar as an executable jar as shown below:
\fyicenter>cd \local\fop-2.2\fop \local\fop-2.2\fop>java -jar build\fop.jar -imagein examples\fo\graphics\listgeometry.gif \temp\listgeometry.pdf ... org.apache.fop.events.LoggingEventListener processEvent INFO: Rendered page #1.
The above command uses FOP to convert an image file in GIF format into a PDF directly.
The output PDF file is located at \temp\listgeometry.pdf.
Open it with a PDF viewer, you will see something like this:
The same example is provided in FOP 2.2, 2.1, and 2.0.
2016-07-05, 2435👍, 0💬
How to download and install ojdbc14.jar for Oracle 10g R2? ojdbc14.jar for Oracle 10g R2 is a Java 1...
JDK 11 jdk.jfr.jmod is the JMOD file for JDK 11 JFR module. JDK 11 JFR module compiled class files a...
What Is commons-io-2.6.jar? commons-io-2.6.jar is the JAR file for Commons IO 2.5, which is a librar...
This package is the backport of java.util.concurrent API, introduced in Java 5.0 and further refined...
Commons Pool provides an Object-pooling API, with three major aspects: 1. A generic object pool inte...