Java Mailing List Archive

http://www.java2.5341.com/

Home » fop-users.xmlgraphics »

getting error when use -print

pr4321

2012-05-16

Replies: Find Java Web Hosting

Author LoginPost Reply

I am getting the following error when using to print an .fo file with usig
fop.

C:\>fop xslfo.fo -print
May 16, 2012 10:32:37 PM org.apache.fop.cli.Main startFOP
SEVERE: Exception
java.lang.ArrayIndexOutOfBoundsException: 2
    at
org.apache.fop.cli.CommandLineOptions.parsePrintOutputOption(CommandL
ineOptions.java:559)
    at
org.apache.fop.cli.CommandLineOptions.parseOptions(CommandLineOptions
.java:325)
    at
org.apache.fop.cli.CommandLineOptions.parse (CommandLineOptions.java:1
62)
    at org.apache.fop.cli.Main.startFOP (Main.java:158)
    at org.apache.fop.cli.Main.main (Main.java:205)


XSLFO.fo file content:

<?xml version="1.0" encoding="ISO-8859-1"?>

<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">

<fo:layout-master-set>
<fo:simple-page-master master-name="A4">
  <fo:region-body />
</fo:simple-page-master>
</fo:layout-master-set>

<fo:page-sequence master-reference="A4">
<fo:flow flow-name="xsl-region-body">
  <fo:block text-indent="80mm" space-before="0mm">REPORT STATUS</fo:block>
 <fo:block text-indent="80mm" space-before="0mm">--------------</fo:block>
</fo:flow>
</fo:page-sequence>

</fo:root>


COMMAND IS;C:\>fop xslfo.fo -print

anyone please solve my problem

Regards,
Murali
--
Sent from the FOP - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@(protected)
For additional commands, e-mail: fop-users-help@(protected)

©2008 java2.5341.com - Jax Systems, LLC, U.S.A.