Re: [iText-questions] PDF Time Bomb

2006-04-28 Thread Vineet Reynolds
Adobe LiveCycle Policy Server. You can specify a policy where the PDF will expire after a certain period of time.On 4/29/06, Buchanan, Trevor < [EMAIL PROTECTED]> wrote: Hi,   Is there any way to program pdf files to self destruct after a specified time with itext or any other java api?   Tha

Re: [iText-questions] Printing PDF without opening the document.

2006-04-27 Thread Vineet Reynolds
Vivek, to be more specific you could look at this page - http://www.noliturbare.com/ChicksTools.htmlOn 4/27/06, Vineet Reynolds <[EMAIL PROTECTED]> wrote: Thanks Bruno.Vivek, you could try if the programs available at http://www.noliturbare.com/ can match your needs.These are not my pr

Re: [iText-questions] Printing PDF without opening the document.

2006-04-27 Thread Vineet Reynolds
Thanks Bruno.Vivek, you could try if the programs available at http://www.noliturbare.com/ can match your needs.These are not my programs though. But they're worth a try. You could ask the author (Govert) regarding any licensing issues for commercial projects. On 4/27/06, bruno <[EMAIL PROTECTED]>

Re: [iText-questions] links that could be added to the itext web site links list

2006-02-25 Thread Vineet Reynolds
I think the first one has been omitted intentionally.The Acrobar Viewer Javabean is something that Adobe doesnt support anymore.And in a response received from Richard Bair, a pdf viewer created by him happens to be lying in one of the code attics of the JDIC project. Thanks for sending the other t

Re: [iText-questions] Error integrating iText in J2EE webapp

2006-02-21 Thread Vineet Reynolds
n 49.0) Cordialement,   - Original Message - From: Vineet Reynolds To: Gaet Cc: itext-questions@lists.sourceforge.net ; bruno Sent: Tuesday, February 21, 2006 4:37 PM Subject: Re: [iText-questions] Error integrating iText in J2EE webapp Do you have iText.

Re: [iText-questions] Error integrating iText in J2EE webapp

2006-02-21 Thread Vineet Reynolds
Do you have iText.jar in WEB-INF/lib directory of the web app, and only in that directory ?Someone earlier had a problem with Websphere because of this problem.On 2/21/06, Gaet <[EMAIL PROTECTED]> wrote: Below you can see my compilation trace (and the version of java I use)

Re: [iText-questions] Error integrating iText in J2EE webapp

2006-02-21 Thread Vineet Reynolds
I think the Websphere env requires you to have a 1.4 or 1.5 build. 1.5 looks to be the reason behind the errors. Maybe you need to download the code and recompile it using JDK 1.5.On 2/21/06, bruno <[EMAIL PROTECTED]> wrote: Gaet wrote:> Hi,>> I have successfully written a java class that generate

Re: [iText-questions] iText in a servlet using ByteArrayOutputStream

2006-02-10 Thread Vineet Reynolds
It seems like the acrobat toolbars and Window UI have been disabled. It can be reenabled using the F8 and F9 function keys on the keyboard. If you want to set the viewer preference to view the toolbar (in case the toolbars are not being displayed, as in your case), then you must set the appropriate

Re: [iText-questions] Not a Question. I have a piece of source to contribute ;-)

2006-02-07 Thread Vineet Reynolds
What Leonard says is right. The printer's driver determines that. It's either PS or PCL in most cases. Definitely not PDF. A few HP Laserjets do have native PDF drivers, and they will definitely support the solution utilising the piped output stream. On 2/7/06, Leonard Rosenthol <[EMAIL PROTECTED]

Re: [iText-questions] Allowing comments

2006-01-27 Thread Vineet Reynolds
You'll need to set the document security permissions to allow commenting. I assume that it is disabled by default. Have a look at the PdfEncryptor class. On 1/27/06, Steve Simpson (AVR IT Dept) <[EMAIL PROTECTED]> wrote: > > > > All, > > > > I'm using iText to create PDF's that are then published

Re: [iText-questions] Form design tools (not Designer 7.0)

2006-01-27 Thread Vineet Reynolds
You can use Designer 7.0. Just make sure you produce iText compatible forms (non-XFA forms, atleast for the time being). On 1/27/06, David Woosley <[EMAIL PROTECTED]> wrote: > > What's a good tool to use for designing Acro-field based PDF forms. I've > read here that iText doesn't support Designe

Re: [iText-questions] How to set the validity in PDF before signing

2006-01-19 Thread Vineet Reynolds
You need Adobe LiveCycle Policy Server. On 1/19/06, Fabio Mondelli <[EMAIL PROTECTED]> wrote: > Hello, > > is there the possibility to set the validity of the document before i > sign it? > Possible solution could be, that the document could no more be printed > or be opened and a message will be

Re: [iText-questions] Printing PDF's randomly outputs junk characters

2006-01-17 Thread Vineet Reynolds
need to > work out a solution that is reasonably wasy to expalin to the end users, > but does not cause majore performance issues for the rest of their > printing. > > I guess I will try that first, although not sure how to make that > setting change, I assume it's diffe

Re: [iText-questions] Printing PDF's randomly outputs junk characters

2006-01-16 Thread Vineet Reynolds
Maybe you should set the printer to print only after the document is completely spooled. Usually, printers start printing when they receive th first page of the document, and that could be the real problem. On 1/17/06, Steve Vanspall <[EMAIL PROTECTED]> wrote: > Thanks for that, > > having clarifi

Re: [iText-questions] Disable printing and Saving copy in Browser

2006-01-09 Thread Vineet Reynolds
You cant. Atleast when it comes to knowledgeable people. http://princeoflightning.blogspot.com/2005/12/silent-print-pdf-print-pdf.html http://www.adobeforums.com/cgi-bin/[EMAIL PROTECTED]@.3bbb311e http://www.adobeforums.com/cgi-bin/[EMAIL PROTECTED]@.3bbac656/0 On 1/7/06, AKumar <[EMAIL PROTECTE

Re: [iText-questions] Inquiry on PDF display control

2006-01-09 Thread Vineet Reynolds
Oops !! Miss Marry, iText is a PDF generation library. To view/preview PDF files, you will have to look at using the Acrobat Reader ActiveX component, or 3rd party libraries lik JPedal, ICEPdf etc. On 12/30/05, Marry Chambers <[EMAIL PROTECTED]> wrote: > Hello, > > Do you have such a PDF display c

Re: [iText-questions] RE: Print from Browser

2006-01-09 Thread Vineet Reynolds
It is possibly because the URL mapping for your servlet doesnt end with a .pdf "extension". Known to cause problems with certain IE and Opera browser versions. You can find the fix here: http://xmlgraphics.apache.org/fop/0.20.5/servlets.html#ie Follow on the part on URL-ending. Do NOT do anything

Re: Re: [iText-questions] Disable Save as copy and print buttons in browser

2006-01-08 Thread Vineet Reynolds
t; > Thanks..in advance > > On Sun, 08 Jan 2006 Vineet Reynolds wrote : > > >You can hide entire toolbars (which can be unhidden again by the user), but > >no a single button. > > > >On 1/8/06, Kumar <[EMAIL PROTECTED]> wrote: > > > > &g

Re: [iText-questions] How to merge multiple PDF into a temporary PDF and show on browser?

2006-01-08 Thread Vineet Reynolds
You need to set the content-type header of the response stream of the servlet. On 1/8/06, Robin Zhao <[EMAIL PROTECTED]> wrote: > Hi, > after i modified souse code according you, browser show something, but that > is not PDF. > > If i change IE->View->Encoding->West Eurepean (ISO), then browser wi

Re: [iText-questions] Disable Save as copy and print buttons in browser

2006-01-08 Thread Vineet Reynolds
You can hide entire toolbars (which can be unhidden again by the user), but no a single button.On 1/8/06, Kumar < [EMAIL PROTECTED]> wrote:Hi all,How can i disable the print and save as buttons of the adobe plugin in the browser for a PDF file that i am sending to the user..Thanks in advance,Regard

Re: [iText-questions] Line with arrow

2006-01-05 Thread Vineet Reynolds
Using Arial or Times Roman fonts with Unicode characters !!Use the long dash character to draw the line and the arrow character of your choice.Use charmap in Windows to find out the actual Unicode value to be used while coding.

Re: [iText-questions] iText in a Web Service

2005-12-30 Thread Vineet Reynolds
I'm really new to Java, so I apologize if I am missing something obvious.No problem.  All of us started that way .  I have successfully written a Java application that utilizes the iText methods.  It works wonderfully and I have been really impressed with it.I would hence rule out that you have a

Re: [iText-questions] Is it possible to change line properties of existing PDF using iText?

2005-12-21 Thread Vineet Reynolds
If I'm not wrong, it is easier ( and better ) to make an in-memory copy of the dwg file, make changes to the line properties there, and then print to PDF using iText. That is way better than searching for line properties in a PS or PDF stream. This will also enhance your software structure by allow

Re: [iText-questions] error with fonts

2005-12-21 Thread Vineet Reynolds
AFM files are known to work everywhere. Have you tried using the same AFM files in other PDFs that are not generated by iText [ try Acrobat or some other PDF generator]. I will be tough trying to reproduce the error, so you may have to give us that extra bit of detail. I also think there are utilit

Re: [iText-questions] Question about wrapping text

2005-12-16 Thread Vineet Reynolds
Maybe you should have a look at ColumnText. That will simulate the bounding box for you.On 12/16/05, Baker, Gregory M < [EMAIL PROTECTED]> wrote: We are currently using iText to create a PDF.  We use the method "showTextAligned" to write some text values out.  However, there are some cases wh

[iText-questions] Re: PDF printing from Reader is randomly ROT1'ing the printed page(s)

2005-12-16 Thread Vineet Reynolds
evaporate by just embedding the font. If not, then try using a pre-flight of the document in Acrobat 6/7 Pro to see if there are any possible problems. Regards, Vineet Reynolds. --- This SF.net email is sponsored by: Splunk Inc. Do you grep

Re: [iText-questions] iText and Asian Bitmap Fonts?

2005-12-16 Thread Vineet Reynolds
There is an embed flag when registering a font. You could use that. You will need the JARs only while making the pdf, not while viewing them. The Adobe CJK font map is to be installed at the client system only when you dont embed the fonts. So just relax and let iText do it's job.

Re: [iText-questions] iText and Asian Bitmap Fonts?

2005-12-16 Thread Vineet Reynolds
I suggest that you use the CJK fonts present in iTextAsian.jarPlease do go through the tutorial. It should solve most of your problems.As far as bitmapped fonts are concerned, they are a definite "no-no". They usually have problems in reproducability for different font sizes; you may end up blaming

Re: [iText-questions] iText and Asian Bitmap Fonts?

2005-12-16 Thread Vineet Reynolds
Have you made yourslef doubly sure that you have put the Asian fonts jar in the classpath ?I mean - do you have the iTextAsian.jar / iTextAsianCMaps.jar in the same directory as iText.jar ?That is first problem which people face. There is more about this in the online tutorial. On 12/12/05, Andreas

Re: [iText-questions] How to show a pdf with no save option

2005-12-16 Thread Vineet Reynolds
xperience which some developers experienced when Adobe made drastic changes while coming out with Acrobat Reader 7.0. Regards,Vineet Reynolds.

Re: [iText-questions] Silent print PDF in browser problem

2005-12-16 Thread Vineet Reynolds
It is possible to do what you have specified.You will have to look at the Acrobat _javascript_ Reference.To achieve access to the list of printers available, you will have to do some programming with regard to the doc and printparams objects in Acrobat _javascript_. Please download the Acrobat JS G

Re: [iText-questions] Broken pipe error at newPage()

2005-12-14 Thread Vineet Reynolds
If I'm not wrong the problem lies here:com.algorithmics.assetmanagement.servlets.PrintPDFServlet.service((PrintPDFServlet.java:135))Maybe you should check this part out, especially since it causes an error while writing out the PDF to a stream - java.io.BufferedOutputStream.write(BufferedOutputStr

Re: [iText-questions] Displaying pdf in acrobat reader instead of browser from web application.

2005-12-14 Thread Vineet Reynolds
Seems like you want to bypass the Acrobat IE Browser Helper Object and display the PDF within Adobe Acrobat (Reader).A force download could solve the problem partially I suppose.You'll need to ensure that the servlet / webserver includes the following headers in the response - Content-type: applic

Re: [iText-questions] PDF Conversion

2005-12-14 Thread Vineet Reynolds
You'll need to look at Ghostscript. It's the most widely used option for converting PDF to PS.The main page is here: http://www.cs.wisc.edu/~ghost/Have a look at the Ghostscript programming API here - http://www.cs.wisc.edu/~ghost/doc/cvs/API.htmI'll have to search more to find out any Java specif

Re: [iText-questions] Comments

2005-12-13 Thread Vineet Reynolds
You need to set the necessary security permission to allow that. Have a look at the PdfEncryptor class.

Re: [iText-questions] line justification

2005-12-09 Thread Vineet Reynolds
I think it is because of the difference between JUSTIFIED and JUSTIFIED_ALL. The former is usually the way to go, the latter usually creates the problem described by you. Please check the code once again or switch between the two variants.On 12/9/05, Mitch Freed <[EMAIL PROTECTED]> wrote: I have a

Re: [iText-questions] Can i embed a pdf in to a pdf

2005-12-08 Thread Vineet Reynolds
Did u mean - I want to have a PDF attachment inside the PDF file ? Or do you want the contents of one PDF file to be present in the other ? Or do you want. Please be specific.

Re: [iText-questions] Any area where I could help ?

2005-12-08 Thread Vineet Reynolds
I do unit testing for all my projects in Java using JUnit that is bundled with NetBeans 4.1 Writing them to generate bytestreams will be kind of easy given the way Netbeans interfaces with JUnit. I'll get back to you after I'm done with some work of mine.   PDFDoclet was an interesting to

Re: [iText-questions] Line break

2005-12-07 Thread Vineet Reynolds
Yes, possible !!You will have to try using the splitChar() function. There is an example in the tutorial as well.You may have to split the "line" at any given underscore.Give it a try and let me know.

Re: [iText-questions] font size

2005-12-07 Thread Vineet Reynolds
Seems like you need to understand FontStylePropagation - http://itextdocs.lowagie.com/examples/com/lowagie/examples/fonts/styles/FontStylePropagation.java On 12/8/05, Dawn <[EMAIL PROTECTED]> wrote: Hi,Is any method like 'table.getDefaultCell().setFontSize(5);'?Instead of setting the font size in e

[iText-questions] Re: Copy over the top

2005-12-07 Thread Vineet Reynolds
Hello Eric, That's simple to achieve. Use PdfContentByte to stamp the two objects on the same page, probably on different layers. Then again, I'm not sure if you can do it using PdfStamper by making the object point to the same page. Sorry for this hurriedly written reply, but I felt

[iText-questions] Re: Question

2005-12-07 Thread Vineet Reynolds
Hello Vijay, There are methods to set the document author, pdf version etc.. Please go through the initial part of the iText tutorial. Hi All Can i text be used to substitute values in the PDF content. Ex: if i have <> in the PDF document can i substitute author name in the PDF dyna

Re: [iText-questions] Watermarking Problem

2005-12-06 Thread Vineet Reynolds
Pass in the appropriate parameters to setAbsolutePosition(), after getting the pagesize of the page with the watermark.. Some math is required here. On 12/7/05, Sandeep Prabhu <[EMAIL PROTECTED]> wrote:  I am using the itext classes for watermarking my PDFs. But the watermarks appear at differe

Re: RE: [iText-questions] (no subject)

2005-12-06 Thread Vineet Reynolds
I'll tell you why it is problematic to achieve it in certain situations. 1) To print a PDF you will need to convert the PDF into the printer-understandable input [ tough, given the varieties of printers available ; and you will eventually reduce PDF to just a file storage mechanism]. Not recommend

Re: [iText-questions] Working with Fonts on OS X

2005-12-06 Thread Vineet Reynolds
Same here. I would avoid OS specific programming for this library. But is it possible to use objects of java.awt.Font instead of BaseFactory fonts ? Or should this be a feature request for a future version ? Stefan might like it if he were able to use java.awt.Font objects instead of BaseFactory re

Re: [iText-questions] Working with Fonts on OS X

2005-12-06 Thread Vineet Reynolds
I'm not sure if this link can help Bruno and Paulo. But it seems like iText might have problems reading Mac TTF fonts. Strange filesystem there which might be causing the problems. And I'm not sure if the CrossFont utility might help Stefan.

Re: [iText-questions] Working with Fonts on OS X

2005-12-06 Thread Vineet Reynolds
sing its name, I visually see 10 fonts printed. All others don'tappear. Moreover, I get a message that one font has a problemregarding 'OS/2'.Am 06.12.2005 um 06:35 schrieb Vineet Reynolds: The font file [ Corvisa ] may be corrupt or unsupported [ did you rename it ? ]. Can we have a copy

Re: [iText-questions] Working with Fonts on OS X

2005-12-05 Thread Vineet Reynolds
The font file [ Corvisa ] may be corrupt or unsupported [ did you rename it ? ]. Can we have a copy of the file so that we can try using it in a test program. Try using registerDirectory() so that iText will register all the fonts present in the directory specified. That will also enable you to bui

Re: [iText-questions] Re: PDF will not open.

2005-12-03 Thread Vineet Reynolds
ot;");         }  On 12/3/05, Bruno Lowagie <[EMAIL PROTECTED]> wrote: Vineet Reynolds wrote:> Hello [EMAIL PROTECTED],> I encountered the same problem just once. It seems to be a problem > with the Browser Helper Object of MS IE specifically or just MS IE > alon

[iText-questions] Re: Re: how to change the table cells direction

2005-12-02 Thread Vineet Reynolds
"myLable 2"); table.addCell("myField 1"); table.addCell("myField 2"); document.add(table); --- Vineet Reynolds <[EMAIL PROTECTED]> wrote: Hello Dawn, Hi, I am coding a simple table with 2 cells. How I able to change the cells from Horizontal to Vertical (put the fi

[iText-questions] Re: question

2005-12-02 Thread Vineet Reynolds
> - Original Message - > From: "John Li" fedex.com> > > Hi, > > Do you have commercial license itext version? > > Thanks! > John > Seems like FedEx wants a Pdf printing solution like Click-N-Ship. John, you are welcome to ask me any question, for I worked on a similar project. This

[iText-questions] Re: PDF pages at same time

2005-12-02 Thread Vineet Reynolds
Develop yahoo.com.br> writes: > > > Hi, > > is it possible to work with more than one page at the same time, or I need to put all I need at one page, like text and images, and then after I create a new page and put text and images ? > > If I'm working at page 2, is it possible to put someth

[iText-questions] Re: From Brazil: Question

2005-12-02 Thread Vineet Reynolds
Hello kVkq,ZkRx,Q!qqkR )., Yes it is possible to generate password protected PDF files using iText. Have a look at the PdfEncryptor class. Can i put passwords in the pdf documents generated with your free software? .:: §ëVëñ¬ZëRø¬Ñ¡ññëR ©® [ http://www.709.cjb.net ] ::. --

[iText-questions] Re: PDF will not open.

2005-12-02 Thread Vineet Reynolds
Hello [EMAIL PROTECTED], I encountered the same problem just once. It seems to be a problem with the Browser Helper Object of MS IE specifically or just MS IE alone. It was difficult to reproduce because of the fact that my client encountered it only once. hi, i have a problem opening pdfs

[iText-questions] Re: How to view PDF in Java?

2005-12-02 Thread Vineet Reynolds
Hello Michael, Itext is not used for viewing PDF files but for writing to them. If you meant about sending a PDF file to the client browser without serving a stored file, then all you need to do is to write the Pdf contents to the servlet response stream directly. Hi, Is there any

[iText-questions] Re: how to change the table cells direction

2005-12-02 Thread Vineet Reynolds
Hello Dawn, Hi, I am coding a simple table with 2 cells. How I able to change the cells from Horizontal to Vertical (put the field underneath its lable)? Thanks! PdfPTable table = new PdfPTable(2); table.addCell("your name:"); PdfPCell cell = new PdfPCell(); cell.setCellEvent(new TestForm(wr

[iText-questions] Re: Table.CreatePdfPTable() not preserving Horizontal alignment

2005-12-02 Thread Vineet Reynolds
On 12/1/05, Stewart Meyers <[EMAIL PROTECTED]> wrote: > The function Table.CreatePdfPTable() preserves vertical alignment, but > doesn't appear to preserve horizontal alignment. I searched the list but > could not find anything about this. Am I missing something? > > > > Thank you, > > Stew > > >

[iText-questions] Re: PdfPTable's background color.

2005-12-02 Thread Vineet Reynolds
On 12/1/05, Karen Vardanyan <[EMAIL PROTECTED]> wrote: > Hello! > How can be set a background color for PdfPTable . > Whether the PdfPTable has ability to set the background color, or not? > Thanks in advance ! > > You cant set the background color of the table directly. BUT You can set the backgro

[iText-questions] Re: Enabling copy in pdf

2005-11-27 Thread Vineet Reynolds
Indeed surpising. My guess is that he accidentally set the security to disallow content extraction. --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that

[iText-questions] Re: help!!!

2005-11-25 Thread Vineet Reynolds
Omar F. Rodriguez hotmail.com> writes: > > is there some kind of limitant when itext adds an image to a pdf document?, > i am making an application which uploads a GIF o JPG, and i am using itext > to create a dynamic PDF to show to the users what information has entered > and what image has

[iText-questions] Re: Avery Labels

2005-11-24 Thread Vineet Reynolds
You need to set certain properties for your doc object. That includes the document size [ by default it seems to be A4 and not Letter ]. Next you might need to change certain print settings like scaling and "rotate and shrink to fit". You might not change them directly via 1 line function calls but

[iText-questions] Re: pdf expire

2005-11-24 Thread Vineet Reynolds
Adobe LiveCycle Policy Server, or a 3rd party DRM plugin is the solution; midn you both are expensive. --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine th

[iText-questions] Re: Question on the PDFWriter

2005-11-24 Thread Vineet Reynolds
It depends on how scalable you want the solution to be. If you go through the Acrobat Javascript reference you can see that it is possible to access all the printer properties through a printparams object. Try searching there. If you are sure that the printer name is consisent throughout the usage

[iText-questions] Re: How to add Barcode to Existing PDF

2005-11-23 Thread Vineet Reynolds
Ooops!! Let me restate it - it is possible to get a null reference if we dont use the PdfWriter object in the usual manner [preparing a PDF doc from scratch]. --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register

[iText-questions] Re: How to add Barcode to Existing PDF

2005-11-23 Thread Vineet Reynolds
Here are the steps to be followed: 1) get the contentbyte object using getOverContent() of the pdfstamper class 2) add the image object to the contentbyte at the exact location using addImage() NOTE: dont try using the getWriter() of the pdfStamper class. it usually returns a PdfWriter with a nul

[iText-questions] Re: Disable PDF printing and copying

2005-11-23 Thread Vineet Reynolds
I faced almost the same request from a customer a couple of weeks ago. Based on my research I concluded that: To disable printing, you can set the document security permission so that users cant print it. To disable copying [ or saving a copy of the file ], the PDF file with ordinary password secur