RE: [iText-questions] Need help!

2004-05-26 Thread Gajdos Gabriel
Try to recompile iText sources with javac -target set to lower JVM version. see javac -help GG -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Hasan Fawad Sent: Wednesday, May 26, 2004 9:13 AM To: [EMAIL PROTECTED] Subject: [iText-questions] Need help! i

[iText-questions] iText and Font subsetting

2004-05-16 Thread Gajdos Gabriel
Hi all! Does iTest support font-subsetting when embedding fonts? I know (and use) BaseFont.EMBEDDED and NOT_EMBEDDED constants... But how does the embedding work? Is the whole font embedded or only used characters? Is there any possibility to insert only used font-characters to output PDF (=font

RE: [iText-questions] Adding JFreeChart to iText without absolute coordinates

2004-03-22 Thread Gajdos Gabriel
Thanx, Paulo. It works fine as expected. -Original Message- From: Paulo Soares [mailto:[EMAIL PROTECTED] Sent: Monday, March 22, 2004 10:39 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: [iText-questions] Adding JFreeChart to iText without absolute coordinates Convert the temp

[iText-questions] Adding JFreeChart to iText without absolute coordinates

2004-03-21 Thread Gajdos Gabriel
Hi all! I just started to use JFreeChart to be able to add some charts to iText's PDFs... I tried recommended solution but it is not exactly what I want... Recommended solution is: PdfTemplate tp = cb.createTemplate(width, height); Graphics2D g2 = tp.createGraphics(width, height, mapper); Rectang

RE: [iText-questions] Enhancements to Cell

2004-01-22 Thread Gajdos Gabriel
It would be really nice to have this feature. I've been missing it since a few months ago. I am also missing the features for different styles for Cell/PdfPCell borders (solid, dotted, dashed, doubled...) as well as individual border settings... Good luck. GG -Original Message- From: [EM

RE: [iText-questions] PDF file size too large while printing??

2004-01-21 Thread Gajdos Gabriel
Remark: "print as image" provides lower quality than native vector printing. Anyway, this may cause problems only under some rare circumstances (f.e. small barcode printing). In such a case, the solution is sending native printer understandable data. We can transform PDF to PCL (many printers suppo

RE: [iText-questions] Printing postscript level 2

2003-12-05 Thread Gajdos Gabriel
Just an idea. Before throwing the printer away, I would try to investigate its firmware upgrade. If it should support PS level 2, may be it is not functional (or disabled?) in your curent firmware... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Paulo Soa

RE: [iText-questions] PdfPTable absolute positioning mixed with non-absolute document.add()s

2003-12-03 Thread Gajdos Gabriel
Have you tried just seeting the page margins? I solved similar situation with preformating this table before the page starts. It is possible to find out its height and this hight was used to reduce "printable" area for usual document.add() methods. In your case: info.getTotalHeight() My sequence:

RE: [iText-questions] pdf417_barcode.java

2003-12-03 Thread Gajdos Gabriel
Hallo yun! I am affraid, this is not the topic of iText. Anyway, you should consult your Java API documentation for supported encodings. May be, there will be another encoding for your charset. If not, you can allways create and register your own character set. But don't ask me how (I haven't tri

RE: [iText-questions] PdfPTable and padding my cells

2003-12-01 Thread Gajdos Gabriel
< cell = new PdfPCell(Image.getInstance(pic, null)); IMHO this is the default behaviour that this image will fill in the cell. Try to insert an image with Chunk. Remember, you can create Chunk with image and this Chunk can be used to create Phrase. Something like this... Chunk ch = new Ch

Thanx: RE: [iText-questions] single A4 --> double A5 layout conversion

2003-12-01 Thread Gajdos Gabriel
Thanx, Bruno... I have totally forgotten this example... My fault! >> Example: If source file has 10 pages, I want to get result file with only 5 >> page sheets, but each page will contain 2 pages from source file. >There is an example that puts 4 pages of one document >on 1 page of a new docume

[iText-questions] single A4 --> double A5 layout conversion

2003-12-01 Thread Gajdos Gabriel
Hi all! I am looking for a help with following situation. I have a PDF with A4 page size. Is it possible (with iText) to convert it into a new A4 file containing 2 previous pages on each page (A4-->A5 page layout)? Example: If source file has 10 pages, I want to get result file with only 5 page

RE: [iText-questions] PdfPTable

2003-11-24 Thread Gajdos Gabriel
Hi, thanx for interest.   For barcode generation I use only with iText. It is very nice and usefull tool.   I use classes Barcode128 and Barcode39 (but there are also other available). Now I am working on Global Tansport Label (similar to VDA4902, but more modern) with PDF417 (2D barcode)

RE: [iText-questions] PdfPTable

2003-11-21 Thread Gajdos Gabriel
Hi!   What do you mean with border 0? I am using PdfPCells without border: pcell.setBorder(Rectangle.NO_BORDER). I am also using cells with zero padding pcell.setPadding(0).   Rowspan... Lets say you have 2 columns in the resulting table. There is only one cell in first collumn and second

Thanx: RE: [iText-questions] PDF417 - confused about parameters/options

2003-11-20 Thread Gajdos Gabriel
Thanx Paulo. Anyway, your answer was very helpful. GG -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Paulo Soares Sent: Wednesday, November 19, 2003 10:58 AM To: '[EMAIL PROTECTED]'; [EMAIL PROTECTED] Subject: RE: [iText-questions] PDF417 - confused about

RE: [iText-questions] Table in table

2003-11-20 Thread Gajdos Gabriel
Hi! I am using class PdfPTable and PdfPCell with success. Nested tables look great and it is adjustable enough for my purposes. Anyway, this table does not support rowspan, so I allways need to use nested tables if rowspan needed. GG -Original Message- From: [EMAIL PROTECTED] [mailto:[E

FW: [iText-questions] PDF417 - confused about parameters/options

2003-11-19 Thread Gajdos Gabriel
Any ideas? Thanx in advance. GG -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Gajdos Gabriel Sent: Tuesday, November 11, 2003 3:32 PM To: [EMAIL PROTECTED] Subject: [iText-questions] PDF417 - confused about parameters/options Hallo there! I am trying

[iText-questions] PDF417 - confused about parameters/options

2003-11-11 Thread Gajdos Gabriel
Hallo there! I am trying to generate PDF417 barcode and I am a little bit confused about setting parameters. I am not able to produce PDF417 image with x/y ratio of 2:1. I set the option PDF417_USE_ASPECT_RATIO, than call setAspectRatio(0.5F) ant the resulting image has following dimensions: widt