ImgPostscript was removed due to licensing issues but DocumentException is 
still there. It's not difficult to get the code from a previous iText 
version and adapt it to your 2.0.6 code.

Paulo

----- Original Message ----- 
From: "johne" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Wednesday, October 24, 2007 7:29 PM
Subject: [iText-questions] ImgPostscript


>
> I just upgraded our product from using iText 1.3 to the latest 2.0.6 due 
> to
> new requirements (XFA support).  In doing so, some old bar code work
> somebody else did seems to not be working.  Classes not found include
> ImgPostscript and DocumentException.
>
>            com.lowagie.text.Image pdfImage =
>
> com.lowagie.text.ImgPostscript.getInstance((java.awt.Image)img,
>                                                           null);
>            pdfImage.setAbsolutePosition(imageBeginX,
>                                         imageBeginY
>                                         + (float)
>
> BarcodeCellParam.BAR_IMAGE_CELL_Y);
>            m_Template.addImage(pdfImage);
>
> Is there something else I can use as a replacement or an example of how to
> do what was done above?  Code is always helps the most.
>
> Thanks!


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to