RE: [iText-questions] only one printing

2003-03-31 Thread HELLEBOID David (CAMPUS)
There are several reasons : for instance, a good of purchase will be itext-generated in order to be printed. The vendor must not be able to print it several times ;-) Of course, I can put a code or barcode on the document what will be checked when the customer will change it for cash, but I would

[iText-questions] Servlet PDF Streaming

2003-03-31 Thread Mark Gilmore
Hello, I have a servlet that generates a PDF. Whenever I request the Servlet from my browser (IE 6.0) the Servlet always get invoked 2 times. I found some mention of this on a Google Groups search, but the suggested remedy did not work. Here is the code from my servlet: . . . public void servi

Re: [iText-questions] RTF header

2003-03-31 Thread Mark Hall
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Monday 31 March 2003 20:36, Pablo Collazos Fernandez wrote: > I want to create a header with a value that can change > from a page to another one according to a conditions. If you want a different header on each page, you will have to create a Secti

Re: [iText-questions] open a pdf file

2003-03-31 Thread Leonard Rosenthol
At 04:48 PM 3/31/2003 +0300, Eduardo Santilli wrote: how can i open a pdf file that already exists? See the PdfReader class. Leonard --- Leonard Rosenthol Chief Tec

[iText-questions] open a pdf file

2003-03-31 Thread Eduardo Santilli
how can i open a pdf file that already exists? --- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.at

Re: [iText-questions] only one printing

2003-03-31 Thread Matt Benson
I guess my question, notwithstanding Leonard's direct answer, would be "what is the purpose of this restriction?" -Matt --- "HELLEBOID David (CAMPUS)" <[EMAIL PROTECTED]> wrote: > Hi all, > > Using Itext and tomcat, I have to generate pdf bills > that have to be printed > only one time. I manage

[iText-questions] RTF header

2003-03-31 Thread Pablo Collazos Fernandez
Hello! I want to create a header with a value that can change from a page to another one according to a conditions. With Pdf this is easy to do using PdfPageEventHelper to create the header, but i don´t know doing for rtf. Some solution? Thanks for any help, Pablo ___

Re: [iText-questions] only one printing

2003-03-31 Thread Leonard Rosenthol
At 06:37 PM 3/31/2003 +0200, HELLEBOID David (CAMPUS) wrote: Using Itext and tomcat, I have to generate pdf bills that have to be printed only one time. I managed not to cache the document in the browser cache, but users are still able to print the pdf several times. Is there a way to allow only on

[iText-questions] only one printing

2003-03-31 Thread HELLEBOID David (CAMPUS)
Hi all, Using Itext and tomcat, I have to generate pdf bills that have to be printed only one time. I managed not to cache the document in the browser cache, but users are still able to print the pdf several times. Is there a way to allow only one printing of the document (I don't think so ...), o

[iText-questions] RTF tables

2003-03-31 Thread Pablo Collazos Fernandez
Hi! The method Table.setTableFitsPage() doesn't work with Rtf. As I can obtain the same effect? Thanks ___ Yahoo! Messenger - Nueva versión GRATIS Super Webcam, voz, caritas animadas, y más... http://messenger.yahoo.es --

RE: [iText-questions] Different Alignments in one line

2003-03-31 Thread Paulo Soares
Use a table with no borders, two columns, the first left aligned and the second right aligned. Best Regards, Paulo Soares > -Original Message- > From: Dieter Zysk [SMTP:[EMAIL PROTECTED] > Sent: Monday, March 31, 2003 15:52 > To: [EMAIL PROTECTED] > Subject: [iText-questions] Diffe

[iText-questions] Different Alignments in one line

2003-03-31 Thread Dieter Zysk
Hi to all, how is it possible to create one line with for example 2 words, where the first word is aligned to the left border and the second to the right ? cheers dieter --- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting fo

RE: [iText-questions] Image mask

2003-03-31 Thread Paulo Soares
The problem is that your png is not BW, it has an RGB palette. Best Regards, Paulo Soares > -Original Message- > From: Robert Koval [SMTP:[EMAIL PROTECTED] > Sent: Monday, March 31, 2003 11:40 > To: 'Paulo Soares' > Subject: RE: [iText-questions] Image mask > > sure, here they are

RE: [iText-questions] Image mask

2003-03-31 Thread Paulo Soares
The code looks good. Can you send me privately the two images? Best Regards, Paulo Soares > -Original Message- > From: Robert Koval [SMTP:[EMAIL PROTECTED] > Sent: Monday, March 31, 2003 11:17 > To: 'Paulo Soares' > Cc: '[EMAIL PROTECTED]' > Subject: RE: [iText-questions] Image m

RE: [iText-questions] Image mask

2003-03-31 Thread Robert Koval
com.lowagie.text.Image imgMask = com.lowagie.text.Image.getInstance("C:\\mask3.png"); imgMask.makeMask(); Image maskedImage = Image.getInstance("C:\\masked.JPG"); maskedImage.setImageMask(imgMask); maskedImage.setAbsolutePosition(0,0); cb.addImage(maskedImage); where mask3.png is BW 2 colo

RE: [iText-questions] Image mask

2003-03-31 Thread Paulo Soares
Show me a sample of your code. Best Regards, Paulo Soares > -Original Message- > From: Robert Koval [SMTP:[EMAIL PROTECTED] > Sent: Monday, March 31, 2003 11:08 > To: 'Paulo Soares' > Cc: '[EMAIL PROTECTED]' > Subject: RE: [iText-questions] Image mask > > Paulo, > > I tried us

RE: [iText-questions] Image mask

2003-03-31 Thread Robert Koval
Paulo, I tried using BW PNG as mask but it doesn't seem to be working. I have modified the code for isMaskCandidate method. End result is that mask image replaces original masked image. Any idea ? What am I doing wrong ? -Original Message- From: Paulo Soares [mailto:[EMAIL PROTECTED

RE: [iText-questions] Image mask

2003-03-31 Thread Paulo Soares
It's a bug. Png can be BW and be used as a mask. Best Regards, Paulo Soares > -Original Message- > From: Robert Koval [SMTP:[EMAIL PROTECTED] > Sent: Monday, March 31, 2003 8:03 > To: '[EMAIL PROTECTED]' > Subject: [iText-questions] Image mask > > What are the prerequisites for an

[iText-questions] RE: PDF generation in NON XServer environment

2003-03-31 Thread Paulo Soares
See http://www.jfree.org/phpBB2/viewtopic.php?t=1012 Best Regards, Paulo Soares > -Original Message- > From: Nikhil C. Khedkar [SMTP:[EMAIL PROTECTED] > Sent: Monday, March 31, 2003 6:53 > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: PDF generation in NON XServer envi