Find an example attached. It uses the Java Printing System (JDK >=1.4)
to pipe the generated PCL file through to the printer. I've run it under
Windows. I don't know if it's safe to assume it would work under Unix,
too.

The example saves the PCL file generated by FOP as a file which the
second method reads again. It could be piped directly through to JPS but
that depends on your needs.

More info on JPS: http://java.sun.com/j2se/1.4.2/docs/guide/jps/

*bg* I'm looking forward to that Starbucks gift card as we have a
Starbucks here in Lucerne and incidentally the coffee machines Starbucks
uses are produced not 20km from here. :-)

On 01.02.2005 19:35:00 Charles Griswold wrote:
> I'm looking for a working example of where FOP was used to generate PCL 
> and then sent to a printer within a Java program.
> I want to include this within my application and I'm hoping someone can 
> help me out wit a working example to link to such an example.
> 
> Thank you in advance.  I'm happy to buy the helpful person a cup of 
> coffee via a Starbucks gift card.



Jeremias Maerki

Attachment: JPSForPrinting.java
Description: Binary data

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to