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
-
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
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