I love your product.  I have succesfully implemented a web based delivery system which dynamically renders data  from our agency database onto a PDF template.  It all works fine as long as the client is using Adobe 4.0.  When an Adobe 5.0 client attempted to render the same document, she got:
 
<Illegal Operation 'BT' inside a text object>
 
and
 
<Illegal Operation 'ET' inside a text object>
 
The template subsequently appeared without any data imbedded.
 
My code:
 
        cb.beginText();
        cb.setFontAndSize(bf, fontsize);
        cb.showTextAligned(PdfContentByte.ALIGN_LEFT,display_field,x, y, 0);
        cb.endText();
 
cb is PDFContentByte object
bf is BaseFont object
fontsize is int
display_field is String data fro the db
x and y are coordinates (i.e point values as int)
 
 
Is there a compatibility issue?  And, more importantly, is there a way around it? 
 
I know so little about Adobe and PDF's but your product has made it pretty easy.
 
Thanks
 
Ralph Hutchins
Information Resources
Texas State Office of Risk Management
(512)936-1566
 
 

Reply via email to