Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (101)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (309)
Collections:
Other Resources:
"fop" Command in fop-0.93-bin-jdk1.4.zip
What Is the "fop" command in fop-0.93-bin-jdk1.4.zip? Can I use it to generate PDF files?
✍: FYIcenter
"fop" command is the command line tool that allows you
to run FOP 0.93 as a standalone application.
It reads a XSL-FO file and generates a PDF file by default.
"fop" command requires that the environment variable JAVA_HOME be set to a path pointing to the appropriate Java installation on your system. See the session below on how to use the "fop" command:
\fyicenter>cd \local\fop-0.93 \local\fop-0.93>fop "\Program Files\Java\jdk1.8.0_45\bin\java" USAGE Fop [options] [-fo|-xml] infile [-xsl file] [-awt|-pdf|-mif|-rtf|-tiff |-png|-pcl|-ps|-txt|-at [mime]|-print] <outfile> [OPTIONS] -d debug mode -x dump configuration settings -q quiet mode -c cfg.xml use additional configuration file cfg.xml -l lang the language to use for user information -r relaxed/less strict validation (where available) -dpi xxx target resolution in dots per inch (dpi) where xxx is a number -s for area tree XML, down to block areas only -v to show FOP version being used -o [password] PDF file will be encrypted with option owner password -u [password] PDF file will be encrypted with option user password -noprint PDF file will be encrypted without printing permission -nocopy PDF file will be encrypted without copy content permission -noedit PDF file will be encrypted without edit content permission -noannotations PDF file will be encrypted without edit annotation permission -pdfprofile prof PDF file will be generated with the specified profile (Examples for prof: PDF/A-1b or PDF/X-3:2003) [INPUT] infile xsl:fo input file (the same as the next) -fo infile xsl:fo input file -xml infile xml input file, must be used together with -xsl -atin infile area tree input file -xsl stylesheet xslt stylesheet -param name value <value> to use for parameter <name> in xslt stylesheet (repeat '-param name value' for each parameter) [OUTPUT] outfile input will be rendered as PDF into outfile -pdf outfile input will be rendered as PDF (outfile req'd) -pdfa1b outfile input will be rendered as PDF/A-1b compliant PDF (outfile req'd, same as "-pdf outfile -pdfprofile PDF/A-1b") -awt input will be displayed on screen -mif outfile input will be rendered as MIF (FrameMaker) (outfile req'd) -rtf outfile input will be rendered as RTF (outfile req'd) -tiff outfile input will be rendered as TIFF (outfile req'd) -png outfile input will be rendered as PNG (outfile req'd) -pcl outfile input will be rendered as PCL (outfile req'd) -ps outfile input will be rendered as PostScript (outfile req'd) -txt outfile input will be rendered as plain text (outfile req'd) -svg outfile input will be rendered as an SVG slides file (outfile req'd) -at [mime] out representation of area tree as XML (outfile req'd) specify optional mime output to allow AT to be converted to final format later -print input file will be rendered and sent to the printer see options with "-print help" -out mime outfile input will be rendered using the given MIME type (outfile req'd) Example: "-out application/pdf D:\out.pdf" (Tip: "-out list" prints the list of supported MIME types) -foout outfile input will only be XSL transformed. The intermediate XSL-FO file is saved and no rendering is performed. (Only available if you use -xml and -xsl parameters) [Examples] Fop foo.fo foo.pdf Fop -fo foo.fo -pdf foo.pdf (does the same as the previous line) Fop -xml foo.xml -xsl foo.xsl -pdf foo.pdf Fop -xml foo.xml -xsl foo.xsl -foout foo.fo Fop foo.fo -mif foo.mif Fop foo.fo -rtf foo.rtf Fop foo.fo -print or Fop -print foo.fo Fop foo.fo -awt ... org.apache.fop.cli.Main startFOP SEVERE: Exception org.apache.fop.apps.FOPException: No input file specified at org.apache.fop.cli.CommandLineOptions.checkSettings (CommandLineOptions.java:694) at org.apache.fop.cli.CommandLineOptions.parse(CommandLineOptions.java:145) at org.apache.fop.cli.Main.startFOP(Main.java:148) at org.apache.fop.cli.Main.main(Main.java:191)
⇒ Download and Install fop-0.20.5-bin.zip
2015-11-19, 8972🔥, 0💬
Popular Posts:
commons-io-1.4.jar is the JAR file for Commons IO 1.4, which is a library of utilities to assist wit...
What Is mail.jar of JavaMail 1.4.2? I got the JAR file from javamail-1.4.2.zip. mail.jar in javamail...
maven-compat-3.8.6.jar is the JAR file for Apache Maven 3.8.6 Compact module. The JAR file name may ...
JDK 8 tools.jar is the JAR file for JDK 8 tools. It contains Java classes to support different JDK t...
How to download and install ojdbc14.jar for Oracle 10g R2? ojdbc14.jar for Oracle 10g R2 is a Java 1...