wmhfitz wrote:
> This same code works fine in a standalone.
> PdfStamper stamper = new PdfStamper(reader, bos);
> writer = writer.getInstance(document, bos);
What is bos? A ByteArrayOutputStream?
Why are you writing to it from PdfStamper AND PdfWriter?
This same code works fine in a standalone.
I made some changes for the server app...
try {
PdfReader reader = new PdfReader(readPdf);
System.out.println("Pdf Version:
"+reader.getPdfVersion());
System.out.println("Num of Pa
Hi
I have a PDF can we add contents at a Specific Coordinates i.e at so and so
X and so and so Y coordinates.The content may come from database or hard
coded.
--
View this message in context:
http://www.nabble.com/Adding-Contents-at-specific-coordinates-in-a-PDF-tp21085706p21085706.html
Sen
Kevin,
Unfortunately i cannot send you a shorter pdf. I got the pdf from people using
our software in Japan and complaining about iText not working. They sayd their
pdfs are generated with some software, so I cannot recreate a shorter pdf.
But I attached the Unicode-file for the tic_dogu2 pd
Nick Watts wrote:
> Hello. I am seeing some strange behavior in a PDF I'm generating with
> iText 2.1.4 and I'm not sure if the problem is my code, my data, iText,
> or the Adobe plug-in.
>
> My scenario is that I'm pulling data stored as a CHAR data type in an
> OS/400 DB2 database and using
lucie.b...@armor-group.com wrote:
>
> Hi,
>
> For the moment, I create a PDF file with itext and try to print it
> unsuccessfully. I've tried LPR but it says "Error while start sending
> control file".
> So I'm trying to find out a way to send my PDF document directly to a
> specific printer (
Steve Cole wrote:
> You need to do something like this...
>
> PdfCopyFields pdfCopyFields = new PdfCopyFields(new
> FileOutputStream("my_document.pdf"));
>
> PdfReader reader = new PdfReader(myByteArrayOutputStream1.toByteArray());
> pdfCopyFields.addDocument(reader);
>
> reader = new Pdf
wmhfitz wrote:
> I am getting the following error:
>
> Could not invoke the service() method on servlet clearview. Exception thrown
> : org.springframework.web.util.NestedServletException: Request processing
> failed; nested exception is ExceptionConverter: java.io.IOException: The
> document has
Kumar Jalaj wrote:
> Hello,
> Thanks a lot for replying to my querry. I want to add header in onStartPage()
> becuase I want to use document.add .If I do so what kind of problem I am
> going
> to face.Is there any other way to add header to the document using
> document.add .
The Document obje
Hello,
Thanks a lot for replying to my querry. I want to add header in onStartPage()
becuase I want to use document.add .If I do so what kind of problem I am going
to face.Is there any other way to add header to the document using
document.add .
Thanks and Regards,
Jalaj.
Michael-
Can you please send a PDF that uses the font in question, but is *simple* - maybe containing 2 lines with 3 or 4 words in each?
Also, please send a unicode file that has the text for those files. I can't look at the fonts themselves and figure out whether the decoding I'm doing is
OK, thanks for bearing with me as I come up to speed... So that brings me back to my question on the algorithm:
Does the following algorithm seem to be correct for determining CID -> unicode info?
1. Check to see if ToUnicode is specified. If so, use it.
2. Check sub-type and encoding -
I am getting the following error:
Could not invoke the service() method on servlet clearview. Exception thrown
: org.springframework.web.util.NestedServletException: Request processing
failed; nested exception is ExceptionConverter: java.io.IOException: The
document has no pages.
at
org.s
You need to do something like this...
PdfCopyFields pdfCopyFields = new PdfCopyFields(new
FileOutputStream("my_document.pdf"));
PdfReader reader = new PdfReader(myByteArrayOutputStream1.toByteArray());
pdfCopyFields.addDocument(reader);
reader = new PdfReader(myByteArrayOutputStream2.toByte
You need to create the PDF file first before sending to the printer.
PDF is NOT consumable in a stream like Postscript is...
Leonard
On Dec 18, 2008, at 7:37 AM, lucie.b...@armor-group.com wrote:
Hi,
For the moment, I create a PDF file with itext and try to print it
unsuccessfully. I'v
See http://1t3xt.com/about/ if you need assurance, support and other amenities
that come with a price. You can always use it for free in commercial
applications using one of the MPL/LGPL licenses.
Paulo
> -Original Message-
> From: Orpu [mailto:rajesh.o...@broadridge.com]
> Sent: Thur
Hi,
For the moment, I create a PDF file with itext and try to print it
unsuccessfully. I've tried LPR but it says "Error while start sending
control file".
So I'm trying to find out a way to send my PDF document directly to a
specific printer (given the name of the printer that the user can ch
Hi
I want to use iText in one of the commercial application to generate PDFs on
the fly.
So do i need to buy the product with PRICE
As it states that it is an open source & freely downloadable.
Please give me suggestion
Using it freely in commercial application throws me in trouble or not
--
V
Hi,
I'm trying to merge two PDF files and I'm having trouble getting this figured
out. I've been reading the tutorial and been through the mailing list, looked
through the tool concat_pdf.java, but everything seems to be based on the
documents already existing on disc.
Basically I have two
Hello. I am seeing some strange behavior in a PDF I'm generating with iText
2.1.4 and I'm not sure if the problem is my code, my data, iText, or the
Adobe plug-in.
My scenario is that I'm pulling data stored as a CHAR data type in an OS/400
DB2 database and using the PDFStamper to insert that dat
Kumar Jalaj wrote:
> Hello,
> I want to add content in the onStartPage() PdfPageEvent method.
> This content I want to use it as the header of the document, but in book its
> written that not to add any content in this event, not even header and
> footer.
> will it create some kind of prob
Hi,first of all I want to thank you for the great book and the itext
library.
Here comes my question:
When creating pdf documents containing acroforms I sometimes get an
additional toolbar in Acrobat Reader that enables me to highlight all input
fields & checkboxes.
For some reason I don't get this
Hi,
We have a situation where we are in need to compress the PDF files generated by
an Oracle Application. The PDF files generated by this application are getting
to a point we cannot deliver them via email. What I would like to know is if
there is a way to use itext api's to take an existing
Hi All!
I just downloaded the iText Api today and am trying to Acheive a couple of
things :
1) To Append a String at the end of a file
2) To read-edit the custom properties/bookmarks of the Document(*.rtf)
For 1) I tried two approaches , using the document.bottom() function and
the importRtf
Leonard Rosenthol wrote:
>> jmueto wrote:
>> It's clear to me that it is generally a very bad idea to edit a PDF.
>> I need to drop a keyword from a PDF or at least make it invisible.
>> I know how to place a white image ontop of the keyword to make it
>> invisible, but isn't there a 'nicer' solut
> -Original Message-
> From: Kevin Day [mailto:ke...@trumpetinc.com]
> Sent: Wednesday, December 17, 2008 11:09 PM
> To: IText Questions
> Subject: Re: [iText-questions] extracting text from pdfs with
> japanese data
>
> Ahhh mea-culpa... I do think I remember reading something about
Hello,
I want to add content in the onStartPage() PdfPageEvent method.
This content I want to use it as the header of the document, but in book its
written that not to add any content in this event, not even header and footer.
will it create some kind of problem.
Thanks and regards,
ja
27 matches
Mail list logo