[iText-questions] Re: Printing PDF

2003-09-16 Thread Carsten Hammer
roli khanna schrieb: Hi I am using itext for generating the PDF document . I have to print this document as soon as a i generate the PDF document . If this is ok for you you could transfer it to a printer/server able to handle pdf via a lpr client written in java. Best regards, Carsten

[iText-questions] Heather with Image

2003-09-16 Thread Patrícia Taroni
Hi,   My header has an image and some text above. When I try to put this header in a document, my Image doesn't appear completely... It's top was cut out.   How can I fix this?   thank's,   PatriciaDesafio AntiZona: participe do jogo de perguntas e respostas que vai dar 1 Renault Clio, computadores

[iText-questions] Removing Security Method and Master Password

2003-09-16 Thread Giovanna Valente
Hi, I need to implement the following flow: 1) start from a PDF file without any encryption 2) process it using PdfEncryptor.encrypt (all done OK) blocking printing 3) reprocess the file using PdfEncryptor.encrypt (all done OK) allowing printing 4) use the unprotected file to concatenate like in

[iText-questions] Re: Itext

2003-09-16 Thread Carsten Hammer
T-Online schrieb: Dear Mr. Lowagie, I want to open an existing PDF- File from my java- application with AcrobatReader using iText. Is that possible? if yes, what must I do? Is there annother way to run AcrobatReader? Another option is to use Adobes Java version of the reader like the example us

RE: [iText-questions] Turning whole page output 90 degrees

2003-09-16 Thread Boris X
Hi Paulo, I've tested it with Hylafax. It really works! It works even better than PHP/PDFlib No *ANY* "special rotating" coding at all Using PageSize.A4.rotate() should work. If Hylafax doesn't care about the rotation it will show as portrait and print correctly. PageSize.A4.rotate() will

RE: [iText-questions] Turning whole page output 90 degrees

2003-09-16 Thread Boris X
Just to publish it on the forum: PageSize.A4.rotate() will set the page size as portrait A4 but with the /Rotate 90 in the page dictionary. Unless you are using a very, very old version of iText that's how it works. If you have any doubts create the document and with an hex editor replace the /Ro

RE: [iText-questions] Turning whole page output 90 degrees

2003-09-16 Thread Boris X
Hi Paulo, Thanks for prompt response. PageSize.A4.rotate() will change size of the paper. But I want to rotate content of the page as well. The original document has wide tables. The only way that I see for now is: 1) produce original document as an external file 2) read it via PdfReader and p

[iText-questions] onParagraph and table of contents

2003-09-16 Thread Sarah Benwell
Hi I am trying to write a table of contents but am not having much luck. I am using onParagraph and can get the pagenumber but how do I get either the name of the elementtag or the value to populate the Treemap glossary? TIA Sarah Experience the benefit consolidating your IT infrastructure w

Re: [iText-questions] Licenses

2003-09-16 Thread Bruno
Quoting Matej Blahut <[EMAIL PROTECTED]>: > Our team develops information systems for big > industrial companies in java technology. Now, we wanna > start to focus on generating PDF documents and your > solutions seems a good choise for us. That's why I'd > like to ask you whether we need any lice

RE: [iText-questions] Filling a created PFD.

2003-09-16 Thread Leonard Rosenthol
At 3:46 PM +0200 9/16/03, [EMAIL PROTECTED] wrote: via iText Then forget about FDF and look instead at PdfReader and PdfStamper. Leonard -- --- Leonard Rosenthol Chief Tec

RE: [iText-questions] Filling a created PFD.

2003-09-16 Thread javier_jdiaz
via iText --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/list

[iText-questions] Licenses

2003-09-16 Thread Matej Blahut
Our team develops information systems for big industrial companies in java technology. Now, we wanna start to focus on generating PDF documents and your solutions seems a good choise for us. That's why I'd like to ask you whether we need any license if we wanna use your product for approximately 20

RE: [iText-questions] Javascript are not getting copied in PDFCop y

2003-09-16 Thread Paulo Soares
PdfCopy only copies pages not other objects at a global level. Furthermore only a single file can have fields, the other files must be flattened before concatenating. Best Regards, Paulo Soares > -Original Message- > From: Sivasubramanian Gurunathan [SMTP:[EMAIL PROTECTED] > Sent: Tuesday

RE: [iText-questions] Heap memory requirements for PdfReader?

2003-09-16 Thread Paulo Soares
I doubt that it really needs 1GB. Many jvm only gc when the memory is exhausted. If you do a gc() after PdfReader how many memory is used? Best Regards, Paulo Soares > -Original Message- > From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED] > Sent: Tuesday, September 16, 2003 14:13 > To: [E

RE: [iText-questions] Is it possible to change the default line s pacing?

2003-09-16 Thread Paulo Soares
Subclass Paragraph and Phrase and set the leading there. Best Regards, Paulo Soares > -Original Message- > From: Raymond Leong [SMTP:[EMAIL PROTECTED] > Sent: Tuesday, September 16, 2003 9:39 > To: [EMAIL PROTECTED] > Subject: [iText-questions] Is it possible to change the default

RE: [iText-questions] Create with no PdfEncryption?

2003-09-16 Thread Paulo Soares
All the pdf are created without encryption unless explicitly set. Best Regards, Paulo Soares > -Original Message- > From: J B [SMTP:[EMAIL PROTECTED] > Sent: Monday, September 15, 2003 18:42 > To: [EMAIL PROTECTED] > Subject: [iText-questions] Create with no PdfEncryption? > > How

RE: [iText-questions] Links on images.

2003-09-16 Thread Paulo Soares
Create a Chunk with the image and add that Chunk to the Anchor. Best Regards, Paulo Soares > -Original Message- > From: Glorious Blues [SMTP:[EMAIL PROTECTED] > Sent: Tuesday, September 16, 2003 0:42 > To: [EMAIL PROTECTED] > Subject: [iText-questions] Links on images. > > Hi. >

RE: [iText-questions] Turning whole page output 90 degrees

2003-09-16 Thread Paulo Soares
Using PageSize.A4.rotate() should work. If Hylafax doesn't care about the rotation it will show as portrait and print correctly. Best Regards, Paulo Soares > -Original Message- > From: Boris X [SMTP:[EMAIL PROTECTED] > Sent: Monday, September 15, 2003 21:14 > To: [EMAIL PROTECTED] > Sub

Re: [iText-questions] Heap memory requirements for PdfReader?

2003-09-16 Thread Leonard Rosenthol
At 1:12 PM + 9/16/03, [EMAIL PROTECTED] wrote: I'm trying to split a PDF file by bookmarks into smaller individual files using PdfReader and PdfCopy. The test file I have is 14MB in size with 1,000 pages (1 bookmark/page). You might want to look at a different PDF library, such as MultiValen

[iText-questions] Heap memory requirements for PdfReader?

2003-09-16 Thread itext
I'm trying to split a PDF file by bookmarks into smaller individual files using PdfReader and PdfCopy. The test file I have is 14MB in size with 1,000 pages (1 bookmark/page). When I tried to run it using IBM 1.4.1 JVM (with -verbose:gc), I could see that it created a lot of objects and allocat

RE: [iText-questions] Filling a created PFD.

2003-09-16 Thread Leonard Rosenthol
At 10:03 AM +0200 9/16/03, [EMAIL PROTECTED] wrote: we don´t want to change the image of a button, only we want to insert a image in a form field. Do you want the image to be placed into the PDF on the server (via iText) or on the client (via Acrobat)? What version of Acrobat is being used on t

[iText-questions] Javascript are not getting copied in PDFCopy

2003-09-16 Thread Sivasubramanian Gurunathan
Hi all, I am using PDFCopy for merging PDF after mapping the fields using PDFStamper. While opening the Merged Pdf, I am getting a script error, when I opened the form in Acrobat Editor 5.0. The detailed error is below. Acrobat Database Connectivi

Re: [iText-questions] vertical align in cell.

2003-09-16 Thread Raymond Leong
Hi, I tried BaseFont bf = BaseFont.createFont(fields[i].getFontFilename(), BaseFont.WINANSI, true); Font font = new Font(bf, fields[i].getFontSize(), fields[i].getFontStyle()); Phrase ph = new Phrase(data.getFieldValue(fields[i].getFieldname()), font); PdfPCell cell = new PdfPCell(ph); cell.setV

RE: [iText-questions] Filling a created PFD.

2003-09-16 Thread javier_jdiaz
Hello! we don´t want to change the image of a button, only we want to insert a image in a form field. But how should we do that giving a value like the path to the image or a set of bytes in de image, the code in base64, what? i test this fdf.setFieldAsString("image", "c:\\Hola.jpg"); but it

[iText-questions] Is it possible to change the default line spacing?

2003-09-16 Thread Raymond Leong
Hi, According to the doc, the default is 1.5 * fontSize. I prefer to use 1.2 * fontSize, so I begin to setLeading() here and there. If there is a way to change the default leading, pls give me a hint. Thank You. Raymond _ Get 10mb