Re: What else than PCL?
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 file and use GhostScript to convert it to the target printer format (ex. PCL). This will be rather slow, though. Or you can print a PDF on the command line using Acrobat Reader. Examples of everything should also be in the mailing list archive and maybe even in the FAQ. trying to convert a FO file including some bitmap images to PCL ends up with: [INFO]: FOP 0.20.3 [INFO]: building formatting object tree [INFO]: rendering areas to PCL [INFO]: [1] [ERROR]: null The only image format which is recognized by FOP/PCL is the GIF format. However the rendering doesn't also work. Coming to this result the PCLRenderer is useless at least for my need. My Problem is, I don't know how else I can get my FO file straight and rendered to a printer. Is there anyone who can tell me howto achieve this. Cheers, Jeremias Märki mailto:[EMAIL PROTECTED] OUTLINE AG Postfach 3954 - Rhynauerstr. 15 - CH-6002 Luzern Tel. +41 41 317 2020 - Fax +41 41 317 2029 Internet http://www.outline.ch
Re: What else than PCL?
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 interestingly. I will try that out. regards, Darya --- Jeremias Maerki [EMAIL PROTECTED] schrieb: 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 file and use GhostScript to convert it to the target printer format (ex. PCL). This will be rather slow, though. Or you can print a PDF on the command line using Acrobat Reader. Examples of everything should also be in the mailing list archive and maybe even in the FAQ. trying to convert a FO file including some bitmap images to PCL ends up with: [INFO]: FOP 0.20.3 [INFO]: building formatting object tree [INFO]: rendering areas to PCL [INFO]: [1] [ERROR]: null The only image format which is recognized by FOP/PCL is the GIF format. However the rendering doesn't also work. Coming to this result the PCLRenderer is useless at least for my need. My Problem is, I don't know how else I can get my FO file straight and rendered to a printer. Is there anyone who can tell me howto achieve this. Cheers, Jeremias Märki mailto:[EMAIL PROTECTED] OUTLINE AG Postfach 3954 - Rhynauerstr. 15 - CH-6002 Luzern Tel. +41 41 317 2020 - Fax +41 41 317 2029 Internet http://www.outline.ch __ Gesendet von Yahoo! Mail - http://mail.yahoo.de Kreative Köpfe gesucht! Machen Sie mit beim Yahoo! SMS Literatur Wettbewerb und gewinnen Sie tolle Preise - http://smswettbewerb.yahoo.de
Re: What else than PCL?
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 I try above and the result is again not that what I want. Why the hell does this wizard pops up? I don't want send anything to a fax. I want to print directly to MY printer on LPT1, without any interaction. By the way, AWT rendering Fop foo.fo -awt works fine. Nevertheless I want it on paper and not as a preview. So, can anyone tell me how to achieve my printout? Or isn't it possible at all? Any hints are welcome! regards, Darya --- Darya Said-Akbari [EMAIL PROTECTED] schrieb: 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 interestingly. I will try that out. regards, Darya --- Jeremias Maerki [EMAIL PROTECTED] schrieb: 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 file and use GhostScript to convert it to the target printer format (ex. PCL). This will be rather slow, though. Or you can print a PDF on the command line using Acrobat Reader. Examples of everything should also be in the mailing list archive and maybe even in the FAQ. trying to convert a FO file including some bitmap images to PCL ends up with: [INFO]: FOP 0.20.3 [INFO]: building formatting object tree [INFO]: rendering areas to PCL [INFO]: [1] [ERROR]: null The only image format which is recognized by FOP/PCL is the GIF format. However the rendering doesn't also work. Coming to this result the PCLRenderer is useless at least for my need. My Problem is, I don't know how else I can get my FO file straight and rendered to a printer. Is there anyone who can tell me howto achieve this. Cheers, Jeremias Märki mailto:[EMAIL PROTECTED] OUTLINE AG Postfach 3954 - Rhynauerstr. 15 - CH-6002 Luzern Tel. +41 41 317 2020 - Fax +41 41 317 2029 Internet http://www.outline.ch __ Gesendet von Yahoo! Mail - http://mail.yahoo.de Kreative Köpfe gesucht! Machen Sie mit beim Yahoo! SMS Literatur Wettbewerb und gewinnen Sie tolle Preise - http://smswettbewerb.yahoo.de __ Gesendet von Yahoo! Mail - http://mail.yahoo.de Kreative Köpfe gesucht! Machen Sie mit beim Yahoo! SMS Literatur Wettbewerb und gewinnen Sie tolle Preise - http://smswettbewerb.yahoo.de
Re: What else than PCL? - Performanceproblem with AWT rendering
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 reach my 1 second goal? Any hints are welcome. regards, Darya __ Gesendet von Yahoo! Mail - http://mail.yahoo.de Kreative Köpfe gesucht! Machen Sie mit beim Yahoo! SMS Literatur Wettbewerb und gewinnen Sie tolle Preise - http://smswettbewerb.yahoo.de