Dear fop users, I use FOP 1.1 on Windows XP, JRE 1.7, JDK 6. I have no problem with rendering to PDF. But I can't print to printer.
Following simple test demonstrates my problem. Very simple FO sheet helloworld_static.fo <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" > <fo:layout-master-set> <fo:simple-page-master master-name="simpleA4" page-height="29.7cm" page-width="21cm" margin-top="2cm" margin-bottom="2cm" margin-left="2cm" margin-right="2cm"> <fo:region-body margin-top="3cm" /> <fo:region-before extent="3cm"></fo:region-before> </fo:simple-page-master> </fo:layout-master-set> <fo:page-sequence master-reference="simpleA4"> <fo:static-content flow-name="xsl-region-before"> <fo:block>Hello Static!</fo:block> </fo:static-content> <fo:flow flow-name="xsl-region-body"> <fo:block>Hello World!</fo:block> </fo:flow> </fo:page-sequence> </fo:root> I render to PDF with the command fop -fo helloworld_static.fo -pdf helloworld_static.pdf. Result looks like expected - attached in the file helloworld_static_fop.pdf. Then I print to PDF printer with the command fop -fo helloworld_static.fo -print. Result attached in the file helloworld_static_print.pdf. Body region not printed. Similar result if I print to laser printer. By the way when I render this and much more complicated sheet to PCL then print it works perfectly. What is wrong with the direct printing? Every recommendation will be highly appreciated. Best regards Arkady Leyner ark...@islandpacific.com t. +61 2 9369 8519 reception +61 2 9369 8500 f. +61 2 9387 7110 Ground Floor / 35 Spring Street, Bondi Junction NSW 2022 Australia
helloworld_static_print.PDF
Description: helloworld_static_print.PDF
helloworld_static.fo
Description: helloworld_static.fo
helloworld_static_FOP.pdf
Description: helloworld_static_FOP.pdf
--------------------------------------------------------------------- To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org