[iText-questions] .net 2.0?

2007-02-07 Thread Ben Schultz
Is there a version of iText that is compatible with .Net 2.0? Thanks very much! Ben Ben Schultz | Onvia, Inc. | Production Operations Manager 1260 Mercer Street Seattle, WA 98109 voice/fax: 206.373.9011 | mobile: 20

[iText-questions] Great itext library

2007-02-07 Thread Carsten Lüning
Hi, thanks for that great library. But can you send me the API Documentation because there is an "File not found 404" error at the website. Greetings Carsten Luening - Using Tomcat but need to do more? Need to support web se

Re: [iText-questions] Page Labels

2007-02-07 Thread Bruno Lowagie
Dean Krueger wrote: > The object class name returning is > "com.lowagie.text.pdf.PRIndirectReference" what is this telling me? If you do a toString() of this object, you'll get something like "14 0 R", meaning that the real object is located outside the dictionary you are inspecting. It's somewher

Re: [iText-questions] JSP PAGE GENERATION ERROR

2007-02-07 Thread Bruno Lowagie
Satish wrote: > What I am not able to understand is why will this work in TST instance > but not in Prod? we have three different files where we generate pdf in > each server and it works right everywhere except this one file in prod. > Will keep you posted. Did you perform any stress tests in

Re: [iText-questions] JSP PAGE GENERATION ERROR

2007-02-07 Thread Satish
Thanks guys, The reason it was urgent is because its a production server. We are using JSP's because of the limitation of our product and its coded entirely in JSP we have no work arounds and I am pretty new to this tool, used it the first time. What I am not able to understand is why will this

Re: [iText-questions] Page Labels

2007-02-07 Thread Dean Krueger
Dean Krueger wrote: > Can you think of an example in the book that would show me how to do this? > Yes, in chapter 18, you explore the internal syntax > of a PDF document. But you don't really need that: > all you need is some common Java knowledge: > if you have a ClassCastException: remove the '

Re: [iText-questions] JSP PAGE GENERATION ERROR

2007-02-07 Thread Bruno Lowagie
Udo Rader wrote: > If browsers make a difference, I can think about some javascript in > action that misbehaves under IE at the first run. If you use javascript, > you should probably also check this possibility. The Original Poster was shouting because he had mailed me personally, and I replied t

Re: [iText-questions] Page Label Demo

2007-02-07 Thread Bruno Lowagie
Dean Krueger wrote: > Can you think of an example in the book that would show me how to do this? Please keep on the mailing list! Yes, in chapter 18, you explore the internal syntax of a PDF document. But you don't really need that: all you need is some common Java knowledge: if you have a ClassCa

Re: [iText-questions] JSP PAGE GENERATION ERROR

2007-02-07 Thread Udo Rader
On Wed, 2007-02-07 at 12:16 -0500, Satish wrote: > First how do I save this file, its not getting generated. i get > this dialog with the message file damaged > and could not be repaired and now i noticed that I open my pdf > generating jsp in a different window, and I get the error above, but > w

Re: [iText-questions] xfa and iText

2007-02-07 Thread Bruno Lowagie
Sérgio Oliveira wrote: > Hi, > > What can be done in a xfa document using iText? I know it is possible to > merge data, but I would like to know if it is possible to create a watermark > or some text stream. The general PdfStamper functionality with getUnderContent and getOverContent will work.

Re: [iText-questions] Page Label Demo

2007-02-07 Thread Bruno Lowagie
Dean Krueger wrote: > Bruno; > > Thanks for the example on Page Labels, in trying it I am getting a > java.lang.ClassCastException when I try running with any PDF other than > the one you supplied with the demo. Looking at the PDF I am trying to > get the page info from, has page numbers defin

Re: [iText-questions] JSP PAGE GENERATION ERROR

2007-02-07 Thread Satish
*First how do I save this file*, its not getting generated. i get this dialog with the message file damaged and could not be repaired and now i noticed that I open my pdf generating jsp in a different window, and I get the error above, but when I refresh the jsp the pdf gets generated without erro

[iText-questions] xfa and iText

2007-02-07 Thread S�rgio Oliveira
Hi, What can be done in a xfa document using iText? I know it is possible to merge data, but I would like to know if it is possible to create a watermark or some text stream. Thank you _ FREE pop-up blocking with the new MSN Toolb

Re: [iText-questions] About Fonts... again

2007-02-07 Thread Bruno Lowagie
Leonard Rosenthol wrote: > I wouldn't say "exact replica". I stand corrected. > I wouldn't make that assumption UNLESS you are using "low order ASCII". Yes, I was thinking about the common a b c; if you have a look at the AFM files, you'll see that the set of available glyphs is rath

Re: [iText-questions] JSP PAGE GENERATION ERROR

2007-02-07 Thread Udo Rader
On Wed, 2007-02-07 at 10:54 -0500, Satish wrote: > Hi, > > I am generating pdf from JSP. This seems to be working perfecty fine > in two other pages, But in one of the pages, I am getting this error " > The file is damaged and could not be repaired" in IE, but even this > works perfectly ok in fi

Re: [iText-questions] About Fonts... again

2007-02-07 Thread Leonard Rosenthol
On Feb 7, 2007, at 10:49 AM, Bruno Lowagie (iText) wrote: > Sérgio Oliveira wrote: >> As the book says: Standard Type 1 fonts are a set of 14 fonts that >> are >> required to be available in all PDF consumer applications. >> According to >> the table presented: Times-Roman is a Type 1 Font. > >

Re: [iText-questions] About Fonts... again

2007-02-07 Thread Paulo Soares
Acrobat 4 was the last version shipping the Type1 fonts. Just for fun I tried to embedd the pfb and it worked. Of course, if you need to use the fonts, Adobe is more than happy to sell you Type1 Helvetica and the rest of the family. Paulo > -Original Message- > From: [EMAIL PROTECTED]

[iText-questions] JSP PAGE GENERATION ERROR

2007-02-07 Thread Satish
Hi, I am generating pdf from JSP. This seems to be working perfecty fine in two other pages, But in one of the pages, I am getting this error " The file is damaged and could not be repaired" in IE, but even this works perfectly ok in firefox, any help will be appreciated. Also the very same page

Re: [iText-questions] About Fonts... again

2007-02-07 Thread Bruno Lowagie (iText)
Sérgio Oliveira wrote: > As the book says: Standard Type 1 fonts are a set of 14 fonts that are > required to be available in all PDF consumer applications. According to > the table presented: Times-Roman is a Type 1 Font. Yes, in old versions of Acrobat (and other PDF viewers), the Type 1 font

[iText-questions] About Fonts... again

2007-02-07 Thread S�rgio Oliveira
Hi, I was reading chapter 8 from the iText book, however, I still have some doubts about using fonts. As the book says: Standard Type 1 fonts are a set of 14 fonts that are required to be available in all PDF consumer applications. According to the table presented: Times-Roman is a Type 1 Fo

Re: [iText-questions] Getting Origin(0,0) of PDF

2007-02-07 Thread porcupine
indeed you may find that Illustrator shows you the full MediaBox yet you have a CropBox defined at 432,432 C# PdfReader reader = new PdfReader(path);\ Rectangle media= reader.GetBoxSize(pageno, "media"); Rectangle crop = reader.GetBoxSize(pageno, "crop"); There are others 'trim', 'art'. GetBoxS

Re: [iText-questions] SEAM and PDF

2007-02-07 Thread Bruno Lowagie (iText)
Bruno Lowagie (iText) wrote: > In package org.jboss.seam.pdf.ui.ITextComponent, there's > a method replaceEntities(String text). In iText 2, there > will be a class EntitiesToUnicode I just added a method public static String decodeString(String s) to this class: http://itext.cvs.sourceforge.net/i

Re: [iText-questions] Getting Origin(0,0) of PDF

2007-02-07 Thread Leonard Rosenthol
Origin is always the MediaBox - since all drawing is relative to that. And I've seen some REALLY STRANGE origins... Leonard On Feb 7, 2007, at 3:02 AM, Bruno Lowagie (iText) wrote: > Tallat Hussain wrote: >> Hi, >> >> I want to know how we can calculate the origin of a PDF. Most of the >> case

Re: [iText-questions] Page Labels

2007-02-07 Thread Bruno Lowagie (iText)
Dean Krueger wrote: > Hi. > I have a multi page PDF and would like to get the page numbers of each > page. In the PDF spec this is called Page Label. I was wondering if iText > supports the getting of these page numbers. I am looking in the book on > page > 402 it shows that I can change them on

Re: [iText-questions] PDF: orientation page/text

2007-02-07 Thread Bruno Lowagie (iText)
Xavi Aranda wrote: > Hi > In this tutorial, not found the way to rotate the page, but finding in > API documentation I found this "Document document = new > Document(PageSize.A4.rotate());" and work correctly. That line is an exact copy of what is written in the tutorial. I quote (literally, wit

Re: [iText-questions] PDF: orientation page/text

2007-02-07 Thread Xavi Aranda
Hi In this tutorial, not found the way to rotate the page, but finding in API documentation I found this "Document document = new Document( PageSize.A4.rotate());" and work correctly. THX again 2007/2/7, Bruno Lowagie (iText) <[EMAIL PROTECTED]>: Xavi Aranda wrote: > Dear to all. > > I need t

Re: [iText-questions] [POSTSCRIPT] Can iText generate postscript instead of PDF ?

2007-02-07 Thread Bruno Lowagie (iText)
Fabrizio Accatino wrote: > Bruno, help, does iText support it? Yes, but I never used that functionality myself. There's a class PdfPSXObject to which you can add PS code with setLiteral(). As you rightly point out: there are a lot of caveat's if you choose this path. I can't guarantee it will work

Re: [iText-questions] [POSTSCRIPT] Can iText generate postscript instead of PDF ?

2007-02-07 Thread yves pielusenet
Thank you for all Fabrizio and Bruno. I'll into the archives... Le mercredi 07 février 2007 à 09:41 +0100, Fabrizio Accatino a écrit : > I'm not sure but if i remember correctly, old versions of Pdf standard > supported "postscript xobject" or something like that. The idea is to > inject small pie

Re: [iText-questions] Problems with adding cells to a table using Itext

2007-02-07 Thread Bruno Lowagie (iText)
Okuwa A Nwanze wrote: > I was trying to run the sample code provided for creating a pdf with > table More specifically the example found here: http://itextdocs.lowagie.com/tutorial/objects/tables/#intro It works perfectly for me. > and I was encountering an error while trying to add a cell objec

Re: [iText-questions] PDF: orientation page/text

2007-02-07 Thread Bruno Lowagie (iText)
Xavi Aranda wrote: > Dear to all. > > I need to generate pdf files with horizontal page, this is posible? Yes. > I try to rotate the page or change the direction of text. How? Did you follow the advice given in the tutorial? Search for LandscapePortrait on this page: http://itextdocs.lowagie.co

Re: [iText-questions] [POSTSCRIPT] Can iText generate postscript instead of PDF ?

2007-02-07 Thread Bruno Lowagie (iText)
yves pielusenet wrote: > I already have a soft that use jasperreport (which use iText to PDF > export). So that's why I wonder if iText can generate postscript (since > postscript /setpagedevice can selecte duplex mode and paper tray). So I > should have add (try to add) paper tray/duplex mode supp

Re: [iText-questions] [POSTSCRIPT] Can iText generate postscript instead of PDF ?

2007-02-07 Thread Fabrizio Accatino
I'm not sure but if i remember correctly, old versions of Pdf standard supported "postscript xobject" or something like that. The idea is to inject small pieces of postscript code in a pdf file. The postscript code will be ignored by all non PS device but executed by PS device. That features was d

[iText-questions] PDF: orientation page/text

2007-02-07 Thread Xavi Aranda
Dear to all. I need to generate pdf files with horizontal page, this is posible? I try to rotate the page or change the direction of text. THX - Using Tomcat but need to do more? Need to support web services, security? Get

[iText-questions] Problems with adding cells to a table using Itext

2007-02-07 Thread Okuwa A Nwanze
I was trying to run the sample code provided for creating a pdf with table and I was encountering an error while trying to add a cell object. I have pasted the code below and the line causing the exception is colored blue. Please I need help. Document document = new Docu

Re: [iText-questions] [POSTSCRIPT] Can iText generate postscript instead of PDF ?

2007-02-07 Thread yves pielusenet
Le mercredi 07 février 2007 à 08:57 +0100, Fabrizio Accatino a écrit : > Hi Bruno, > > yes, I know that Pdf 1.7 suports those features but the real > production printing machines does not support Pdf 1.7. > Ok, ok, perhaps there are few printers supporting it now... but I dont > know them.

Re: [iText-questions] Getting Origin(0,0) of PDF

2007-02-07 Thread Bruno Lowagie (iText)
Tallat Hussain wrote: > Hi, > > I want to know how we can calculate the origin of a PDF. Most of the > cases it is (0,0). But in some cases it is not zero. I have a document > where it is (x=-432,y=432) I want to see that marvel ;-) I'd have a look at the MediaBox values; and at the page cont

Re: [iText-questions] [POSTSCRIPT] Can iText generate postscript instead of PDF ?

2007-02-07 Thread Bruno Lowagie (iText)
Fabrizio Accatino wrote: > The problem of "real" pdf direct printing is complex and hard to make > it work well (it's my own experience). Yes, I know. By the way: I thought your suggestions were actually very good; I just wanted to make some publicity for the upcoming iText release ;-) br, Bruno

Re: [iText-questions] Page Labels

2007-02-07 Thread Bruno Lowagie (iText)
Dean Krueger wrote: > Hi. > I have a multi page PDF and would like to get the page numbers of each > page. In the PDF spec this is called Page Label. I was wondering if iText > supports the getting of these page numbers. I am looking in the book on > page > 402 it shows that I can change them on

[iText-questions] Getting Origin(0,0) of PDF

2007-02-07 Thread Tallat Hussain
Hi, I want to know how we can calculate the origin of a PDF. Most of the cases it is (0,0). But in some cases it is not zero. I have a document where it is (x=-432,y=432) Using iText how we can get the origin(x,y) of PDF. Thanks in anticipation Best Regards Tallat --