[iText-questions] Bytes

2002-01-29 Thread Bhagia, Mahesh
Does anyone know how can we add byte[] to Document. I can't convert it to String because it is binary data ( combo of image & text ) Mahesh Bhagia ___ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listin

Re: [iText-questions] Bytes

2002-01-29 Thread Matt Benson
addByteArrayToDocument(Document d, byte[] b) { d.add(new Chunk(new String(b))); } --- "Bhagia, Mahesh" <[EMAIL PROTECTED]> wrote: > > Does anyone know how can we add byte[] to Document. > > Mahesh > > > ___ > iText-questions mailing list > [EMAI

[iText-questions] Bytes

2002-01-29 Thread Bhagia, Mahesh
Does anyone know how can we add byte[] to Document. Mahesh ___ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions

RE: [iText-questions] PDFWriter

2002-01-29 Thread Paulo Soares
That's a corruption in the class. One of the most common causes is to have uploaded the jar with FTP in ASCII mode instead of binary. Best Regards, Paulo Soares > -Original Message- > From: Bhagia, Mahesh [SMTP:[EMAIL PROTECTED]] > Sent: Tuesday, January 29, 2002 16:46 > To: '[EMAIL PR

[iText-questions] PDFWriter

2002-01-29 Thread Bhagia, Mahesh
Code Snapshot: Font font= new Font(Font.COURIER, 16, Font.BOLD, new java.awt.Color(255, 0, 0)); trace(LogManager.INFO,methodName, "BEFORE DOC PDF SERVLET") ; Document doc = new Document(PageSize.LETTER, 30, 30, 30, 30); trace(LogManager.INFO,met

RE: [iText-questions] Varying results - Websphere Test vs. AIX box

2002-01-29 Thread Paulo Soares
You are using different versions of iText. Note that the last version available (0.81) improves a lot in the Table alignment. Best Regards, Paulo Soares > -Original Message- > From: Prohaska, Jennifer [SMTP:[EMAIL PROTECTED]] > Sent: Tuesday, January 29, 2002 14:48 > To: '[EMAIL PROTEC

[iText-questions] Re: modified files

2002-01-29 Thread bruno
Antoine BLANC writes: > I send you the modified files if you want to add it to the next iText > release. OK, I have put the changes in the CVS repository. Bruno ___ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/l

[iText-questions] modified files

2002-01-29 Thread Antoine BLANC
hello !! I've try to put a new page in an HTML document when I print it but it's doesn't work !! :-( So I've modified some files to add page break in my HTML Document when I print it. I send you the modified files if you want to add it to the next iText release. modification : HTMLWriter : metho

[iText-questions] Re: Extra Blank Page

2002-01-29 Thread bruno
I said: >> I don't remember the exact nature of the problem, but as >> soon as I find some time, I will have a look at it. Paulo replied: > This is not really a problem. The method is called before anything is > writen and there's no way that it can guess what the user is going to > do next. And

[iText-questions] Varying results - Websphere Test vs. AIX box

2002-01-29 Thread Prohaska, Jennifer
I don't know if anyone has seen this before, but I thought it's worth a post just in case someone has. Any advice is greatly appreciated. Here's what's happening. I've created a Bill of Lading document using iText 1.1. The IDE I'm using is IBM's VisualAge for Java. For initial testing, I'm

Re: [iText-questions] Re: Printing Very Big Files

2002-01-29 Thread Matt Benson
Another possibility might be to set up one Java process that runs as a PDF print server, accepting socket connections to be fed PDF documents over streams, to which you should be able to write directly with iText. The print server could use ghostScript or some other application to print the PDFs.

RE: [iText-questions] Re: Extra Blank Page

2002-01-29 Thread Paulo Soares
This is not really a problem. The method is called before anything is writen and there's no way that it can guess what the user is going to do next. Best Regards, Paulo Soares > -Original Message- > From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]] > Sent: Tuesday, January 29, 2002 9:33 >

Re: [iText-questions] Re: Printing Very Big Files

2002-01-29 Thread Tim Bray
Hi, >> For the second application we want to print all letters at one go or >> with some control but we don't want to create 3000-5000 physical >> files, and print. If we accumulate these letters into a single file, >> one file will be too big since letters have logos too and two, >> printin

[iText-questions] Re: Printing Very Big Files

2002-01-29 Thread bruno
I forward your question to the mailing list: Haseen ul Haq writes: > Bruno Lowagie, > > My name is Haseen ul Haq and I am working for an Insurance Company in > Ohio, USA. We are developing a distributed application where we print PDF > letters ultimately. We have used your libarary to gen

[iText-questions] Re: Pdf Servlet with Netscape ok IE not

2002-01-29 Thread bruno
[EMAIL PROTECTED] writes: > Hello! > > I have create a servlet which creates a document in pdf. It function with > Netscape but not with the msy in spite of the code which should be ok. And > I do not believe that it is because of plug-in. If it works with one browser but not with another, cha

[iText-questions] Re: Problems with servlet using iText in both Netscape and IE

2002-01-29 Thread bruno
Archana Venkat writes: > In IE, it displays a blank page. I did the > workaround for that, by giving > res.setContentLength(bytearray.size(). Does not seem > to help. This is a MSIE bug, check the MS support pages: http://support.microsoft.com/default.aspx?scid=kb;EN-US;q293792 http://support.m

[iText-questions] Re: are document serializable ??

2002-01-29 Thread bruno
No, we didn't made our objects serializable. ___ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions

[iText-questions] Re: can i set a default font for a pdf document?

2002-01-29 Thread bruno
[EMAIL PROTECTED] writes: > > > Hi. Is there any way to set the default font for a pdf document using itext? No, this is not yet supported. People who want another default font usually derive their own classes myPhrase, myParagraph,... with their default font. __

[iText-questions] Re: Extra Blank Page

2002-01-29 Thread bruno
Wilson AJ writes: > If you add headers and footers in the onStartPage method, you > sometimes have a blank page too many. And that is why I add headers and footers in the onEndPage. I don't remember the exact nature of the problem, but as soon as I find some time, I will have a look at it.

[iText-questions] Re: iText and Threads

2002-01-29 Thread bruno
Matt Benson writes: > I have written an application that can create multiple > reports simultaneously using iText in multiple > Threads. I have a Servlet project where different documents can be generated by different users. Each document is constructed and filled in a seperate thread. While the

[iText-questions] can i set a default font for a pdf document?

2002-01-29 Thread dbrennan
Hi. Is there any way to set the default font for a pdf document using itext? Thanks. ___ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions

[iText-questions] Pdf Servlet with Netscape ok IE not

2002-01-29 Thread krattinger
Hello! I have create a servlet which creates a document in pdf. It function with Netscape but not with the msy in spite of the code which should be ok. And I do not believe that it is because of plug-in. PS: I translated the text with a tools thank you public void init(ServletConfig config)

[iText-questions] Problems with servlet using iText in both Netscape and IE

2002-01-29 Thread Archana Venkat
Hi Everybody, I am trying to generate a PDF document using a servlet. This servlet calls the mainframe pgm and displays the data. I call the mainframe pgm several times, and get a String msg(one big msg) and display it in PDF. In IE, it displays a blank page. I did the workaround for that, by gi