Hello again;

I have yet another question: direct printing (application/X-fop-print) seems to 
work, but it spooles a much larger quantity (200KB instead of max 20K of other 
data: pdf, ps, png, pcl,..). Why does it write such a large printing data? The 
application will spool this over the country at low bandwithds.

What can I do to compress this?

Thank,
nicu 

-----Original Message-----
From: Nicolae Marasoiu [mailto:[email protected]] 
Sent: Thursday, May 28, 2009 5:20 PM
To: [email protected]; [email protected]
Subject: PCLRenderer warning on custom paper size

 
Hello;

In the attached fo xml I define a custom paper size of 95 by 254 milimeters, 
which is the format of a preprinted legal paper we need to fill with some 
information that is afterwards over-printed on the preprinted note.

When running the FO through Apache-FOP 0.95 I get the following error:

May 28, 2009 4:53:41 PM org.apache.fop.render.pcl.PCLRenderer selectPageFormat
WARNING: Paper type could not be determined. Falling back to: Legal

Can I define other papers? I see the comment: "TODO Add envelope definitions".
 
Apparently one way is to hack the FOP. The other, maybe it will work with other 
page size, but this is not very clean of course.
 
What is your advice?

My second question: how do I print the PCL from JAVA? Naturally, for the 
effective printing I will use JPS? Can JPS be directly fed or even piped from 
FOP? The FOP_PRINT mime directly prints, this is why I ask. The piping is 
probably doable by Java streams.
 
Thanks,
Nicu Marasoiu





---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to