Re: embedded font for PCL

2006-04-28 Thread Jeremias Maerki
You can't use PSGraphics2D like that. PSGraphics2D is for use in an externally set up PS document. What you need is PSDocumentGraphics2D. There is also an EPSDocumentGraphics2D which can be used to create EPS files. For that, an example exists:

Re: embedded font for PCL

2006-04-27 Thread Jeremias Maerki
Uhm, no I actually won't fix it. It's in FOP 0.20.5 after all. :-) On 27.04.2006 09:06:38 Jeremias Maerki wrote: Hmm, level INFO for this message is probably overkill. It simply says that normally JAI (another image library) is usually preferred over the older Jimi library. I'll fix that and

Re: embedded font for PCL

2006-04-27 Thread Camilakill
-font-for-PCL-t1511151.html#a4116966 Sent from the FOP - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: embedded font for PCL

2006-04-27 Thread Jeremias Maerki
FOP 0.92beta supports embedding of Type 1 fonts, but not TrueType fonts, for PostScript output. FOP 0.20.5 doesn't support font embedding for PostScript output. More info: http://xmlgraphics.apache.org/fop/0.92/fonts.html#embedding On 27.04.2006 10:51:34 Camilakill wrote: I was wondering if the

Re: embedded font for PCL

2006-04-27 Thread Camilakill
dinamically, it would be a piece of work to store it and identify unically the files etc. -- View this message in context: http://www.nabble.com/embedded-font-for-PCL-t1511151.html#a4118171 Sent from the FOP - Users forum at Nabble.com

embedded font for PCL

2006-04-26 Thread Camilakill
://www.nabble.com/embedded-font-for-PCL-t1511151.html#a4099217 Sent from the FOP - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: embedded font for PCL

2006-04-26 Thread Chris Bowditch
Camilakill wrote: Hi, I am trying to use embedded fonts. When I run the class to render into PDF everything works fine. But when I run the class to render PCL it doesn't. Thats right. The PCL Renderer in FOP 0.20.5 has not been developed to the same extent as the PDF Renderer. There are a

Re: embedded font for PCL

2006-04-26 Thread Camilakill
strugling to understand how it works! Can you help me with that? Many thanks! Camila -- View this message in context: http://www.nabble.com/embedded-font-for-PCL-t1511151.html#a4099872 Sent from the FOP - Users forum at Nabble.com

Re: embedded font for PCL

2006-04-26 Thread Jeremias Maerki
Maybe you can have that a lot simpler and just use the Java Printing System (JDK 1.4 and later) to print the document directly to the printer. The PCLRenderer is not really supposed to be used that way. Otherwise, just render a simple FO document referencing the JPEG image you create to PCL. On

Re: embedded font for PCL

2006-04-26 Thread Camilakill
! Camila -- View this message in context: http://www.nabble.com/embedded-font-for-PCL-t1511151.html#a4100084 Sent from the FOP - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: embedded font for PCL

2006-04-26 Thread Camilakill
) .. Do you know what I might be doing wrong? Thanks, Camila -- View this message in context: http://www.nabble.com/embedded-font-for-PCL-t1511151.html#a4100370 Sent from the FOP - Users forum at Nabble.com. - To unsubscribe, e

Re: embedded font for PCL

2006-04-26 Thread Jeremias Maerki
On 26.04.2006 14:10:59 Camilakill wrote: The problem is that I am not doing client-side printer.. I am actually sending the file to a LPD proxy via Socket. You can do that with JPS, too, if you set up the printer in your operating system. The other thing is that I am not saving the image

Re: embedded font for PCL

2006-04-26 Thread Camilakill
Ok I am downloading the 0.92beta version. Do you have any code example using this URIResolver? Cheers, Camila -- View this message in context: http://www.nabble.com/embedded-font-for-PCL-t1511151.html#a4100689 Sent from the FOP - Users forum at Nabble.com

Re: embedded font for PCL

2006-04-26 Thread Jeremias Maerki
Grr, again I forgot something: No PCL Renderer in FOP 0.92beta! :-( I'm currently writing it but it's not ready, yet. I'm sorry to have sent you on the wrong track! On 26.04.2006 14:53:06 Camilakill wrote: Ok I am downloading the 0.92beta version. Do you have any code example using this

Re: embedded font for PCL

2006-04-26 Thread Camilakill
No problem!! So, what do you reckon I should do? Cheers, camila -- View this message in context: http://www.nabble.com/embedded-font-for-PCL-t1511151.html#a4100875 Sent from the FOP - Users forum at Nabble.com

Re: embedded font for PCL

2006-04-26 Thread Jeremias Maerki
Well, the easiest is probably to write out a temporary PNG file (since you already have a bitmap you're satisfied with) and use that with 0.20.5 with the wrapper FO. The approach I would take would be to use JPS to print directly. On 26.04.2006 15:05:48 Camilakill wrote: No problem!! So,

Re: embedded font for PCL

2006-04-26 Thread Chris Bowditch
Camilakill wrote: I now tested it using png and it doesn't work. [ERROR] Error while creating area : Error creating FopImage object (file:C:/Project/D42/workspace/FOPProject/xml/image/img.png) : Jimi image library not available It works with bmp... I am trying to find out how I convert a

Re: embedded font for PCL

2006-04-26 Thread Camilakill
I installed Jimi!! And now it worked. Thanks! But why is it logging this: [INFO] JAI support was not installed (read: not present at build time). Trying to use Jimi instead -- View this message in context: http://www.nabble.com/embedded-font-for-PCL-t1511151.html#a4102746 Sent from the FOP