I'm not no familiar with the PCL renderer, so I can't help here
immediately. But you've got the possibility to use the AWT renderer and
print directly to a printer. Have a look at the documentation and the
FOPPrintServlet in docs/examples/embedding.
Another possibility is to create a PDF or a PS
Thanks for your hint.
In all I have 1 second to get an Bean Object into my
FO file and then on paper. This has to happen
automatically.
So, PDF or PS with Ghostscript or getting the print
through a call from the commandline do not help me.
But your hint to use the AWT renderer sounds
When I try the direct printing by Fop foo.fo -print
the Windows 2000 Fax wizard pops up.
My first try for direct printing was to use the Java
Communications API with a PCL ByteArrayOutputStream.
I set my port to LPT1 and all was fine except the PCL
Rendering. So PCL rendering couldn't help me.
Now it works. The problem was that my printer was not
the default printer.
When I compare the AWT rendering with my former PCL
rendering, I am far away from my 1 second in all.
While I had times between 2 and 3 seconds with PCL , I
have now times between 11 and 18 seconds with AWT.
How can I