Re: NullPointerException while printing

2006-10-17 Thread koenig
High, I had the same problem. It seems I have solved the problem. Replace foUserAgent.setRendererOverride(p_renderer) with renderer.setUserAgent(foUserAgent). I hope your printjob is directed to the right printer. Andrea -

Re: NullPointerException while printing

2006-09-12 Thread flyingscot
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

Re: NullPointerException while printing

2006-09-10 Thread Jeremias Maerki
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. On 06.09.2006 10:52:43 flyingscot wrote: Hello! I have some problems embedding FOP 0.92b with an