FW: Print renderer does not render body region

2013-09-06 Thread Arkady Leyner
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:blockHello Static!/fo:block
/fo:static-content

fo:flow flow-name=xsl-region-body
  fo:blockHello 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

Re: FW: Print renderer does not render body region

2013-09-06 Thread Pascal Sancho
Hi,

there are known issues when using -print option on windows.
Perhaps you are facing to one; see [1] for further information.

[1] http://xmlgraphics.apache.org/fop/1.1/output.html#print

2013/9/6 Arkady Leyner ark...@islandpacific.com:
 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:blockHello Static!/fo:block
 /fo:static-content

 fo:flow flow-name=xsl-region-body
   fo:blockHello 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






 -
 To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
 For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



-- 
pascal

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



RE: FW: Print renderer does not render body region

2013-09-06 Thread Arkady Leyner

Thank you for prompt response,

PDF printer is PS printer. PDF printer and PCL printer produce the same result 
- body not rendered.

Anyway I'll try to install PS driver on office Ricoh printer and let you know 
if this helps.

Best regards
Arkady

-Original Message-
From: Pascal Sancho [mailto:psancho@gmail.com]
Sent: Fri 9/6/2013 10:16 PM
To: fop-users@xmlgraphics.apache.org
Subject: Re: FW: Print renderer does not render body region
 
Hi,

there are known issues when using -print option on windows.
Perhaps you are facing to one; see [1] for further information.

[1] http://xmlgraphics.apache.org/fop/1.1/output.html#print

2013/9/6 Arkady Leyner ark...@islandpacific.com:
 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:blockHello Static!/fo:block
 /fo:static-content

 fo:flow flow-name=xsl-region-body
   fo:blockHello 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






 -
 To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
 For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



-- 
pascal

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org


winmail.dat
-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org