actually i installed bullzip free pdf printer as default printer. when i give the command fop xslfo.fo -print 1 it will send to bullzip pdf printer it gives the output in pdf format,but when i change my default printer to epson fx-2175 it prints an empty page but in bullzip pdf printer it shows the matter.. any reply
lmpmbernardo wrote: > > > There is indeed a bug. For now you can do this: > > fop xslfo.fo -print 1 > > note: I don't know if it will print... I can confirm it does send the > job to the printer, but in my case the page comes blank. the issue may > be with the printer or with FOP... > > On 5/16/12 6:16 PM, pr4321 wrote: >> 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 > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org > For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org > > > -- View this message in context: http://old.nabble.com/getting-error-when-use--print-tp33859521p33868502.html Sent from the FOP - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org