Jeremias Maerki-2 wrote:
> 
> That seems to be a bug in ExampleFO2OldStylePrint.java. If you
> instantiate the Renderer yourself, you also have to set the user agent.
> See additional line below. Sorry for the trouble.
> 
Thank you, it runs perfectly...



Jeremias Maerki-2 wrote:
> 
> Well, a better way would be support for the Java Printing System (JPS,
> available since J2SE 1.4). If you can make it work with the hint above,
> good. Otherwise, someone has to implement support for JPS first. It's
> on my personal list but I don't have much "fun time" left lately.
> 
> Jeremias Maerki
> 

I use the JPS in my application. The "old style" classes PrintJob have some
new methods (in Java 1.5) to set the Printer Services similar to the modern
JPS.

CU Immo!

-- 
View this message in context: 
http://www.nabble.com/NullPointerException-while-printing-tf2225561.html#a6262441
Sent from the FOP - Users forum at Nabble.com.


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

Reply via email to