Re: [iText-questions] iTextSharp removeUsageRights stopped working (1T3XT BVBA)

2011-03-23 Thread Jeff Sodeman
Thank you for your time and help. I made sure the response was flushing after iTextSharp was done with it to get rid of that HTML. The test server is running the latest iText, but the live server was running an older one (and that's where the sample I posted came from) - it's been updated now. And

Re: [iText-questions] How to display Arabic

2011-03-23 Thread David Thielen
Close out for anyone Google-ing this in the future. When you request a font from iText, if it cannot find that font it returns a different font. And that different font generally does not include Arabic & Hebrew glyphs. From: Mark Storer [mailto:msto...@autonomy.com] Sent: Wednesday, March 23,

Re: [iText-questions] How to display Arabic

2011-03-23 Thread David Thielen
That was it – thank you David Thielen - CTO/founder 303-499-2544 x1185 720-352-0676 (cell) www.windwardreports.com World's coolest blog - Windward Wrocks! From: Mark Storer [mailto:msto...@autonomy.com] Sent: Wednesday, M

Re: [iText-questions] iTextSharp removeUsageRights stopped working

2011-03-23 Thread 1T3XT BVBA
Op 23/03/2011 18:30, Jeff Sodeman schreef: > A sample of one of the forms after having some fields filled in by > iTextSharp is at: http://spark9.com/example.pdf OK, but can you also provide the original PDF? I downloaded your example.pdf, opened it in a text editor, and the first thing I saw wa

Re: [iText-questions] How to display Arabic

2011-03-23 Thread Mark Storer
What version of iText are you using? What OS are you using (I'm gonna guess some version of windows from your file path). Examine the return value of getFont() in a debugger. What font is being returned? I suspect it's not what you're asking for. --Mark Storer Senior Software Engineer

[iText-questions] iTextSharp removeUsageRights stopped working

2011-03-23 Thread Jeff Sodeman
I've been using the code sample from iText in Action (8.7.2) to deal with the "cannot save" issue with PDF forms and iTextSharp. It was working fine, but recently the fix stopped working and all the variations of the code listed in the book to prevent the saving problem haven't solved it. I'm usin

Re: [iText-questions] Question about page number footers

2011-03-23 Thread dwhite
Sorry guys, I found the problem. I thought I set the footer flag to false, but it was true which is why it kept appending the actual page number to the end of my footer string. Also I wasn't incrementing the page number so when I printed it the value was 0. Thanks for your help. -- View this

Re: [iText-questions] Question about page number footers

2011-03-23 Thread dwhite
Wow, you're right. The example in the book (page 173 fig 5.18) doesn't use that method. I added it because I think I'm mixing up my versions. I will look into showTextAligned() . Thanks -- View this message in context: http://itext-general.2136553.n4.nabble.com/Question-about-page-number-foo

Re: [iText-questions] Question about page number footers

2011-03-23 Thread 1T3XT BVBA
Op 23/03/2011 14:38, phle...@free.fr schreef: > Hello, > > I used the following exemple (I have not yet received the book). > > Exemple : Part1.Chapter5.MoviesCountries1.java > > Exemple : Part2.Chapter6.TwoPasses.java I think you must use it if you want > page 1/100. Those are indeed the correct

Re: [iText-questions] Question about page number footers

2011-03-23 Thread Klas Lindbäck
I assume you want the same date and time on all pages. So you should generate the date/time string only once and then use it on each page. I assume you want different page numbers on each page. So you should generate the page number once for each page. It loooks like you are applying the page n

Re: [iText-questions] Question about page number footers

2011-03-23 Thread phlegay
Hello, I used the following exemple (I have not yet received the book). Exemple : Part1.Chapter5.MoviesCountries1.java Exemple : Part2.Chapter6.TwoPasses.java I think you must use it if you want page 1/100. PHL. - Mail Original - De: "1T3XT BVBA" À: itext-questions@lists.sourcefo

Re: [iText-questions] getDpiY returning 50% of Actual for TIFF (images & pdfs attached)

2011-03-23 Thread jmueto
The most frequetly used fax resolutions are 204dpi*196dpi and 204dpi*98dpi. Transmitting every second line is an effective approach to cut the duration of the telephone call with little impact on the readability of text characters. You will also frequently see 200dpi

Re: [iText-questions] Question about page number footers

2011-03-23 Thread 1T3XT BVBA
Op 23/03/2011 12:49, dwhite schreef: > Hi, I am just trying to add current page number to the footer of my document. > I followed the example from "iText in Action" Which example? Can you give me a page or listing number? > public void onOpenDocument(PdfWriter writer, Document document) {

[iText-questions] Question about page number footers

2011-03-23 Thread dwhite
Hi, I am just trying to add current page number to the footer of my document. I followed the example from "iText in Action" and it works except for one small issue. For some reason the page number gets broken up. I have pasted the following code I use to write the footer but it produces the follo

Re: [iText-questions] Question about page number footers

2011-03-23 Thread dwhite
Also, the above code is called before document.open() -- View this message in context: http://itext-general.2136553.n4.nabble.com/Question-about-page-number-footers-tp3399290p3399321.html Sent from the iText - General mailing list archive at Nabble.com. --

Re: [iText-questions] getDpiY returning 50% of Actual for TIFF (images & pdfs attached)

2011-03-23 Thread Paulo Soares
As I said there's nothing wrong with the image. The dpi tells you what the aspect ratio to apply. This situation happens often with fax machines. Paulo From: Steve Roberts [mailto:srobe...@stage3.net] Sent: Tuesday, March 22, 2011 7:45 PM To: 'Post all your quest

[iText-questions] [demo] create your own online Invoice

2011-03-23 Thread 1T3XT BVBA
Last week, we've published an online demo showing how iText can be used to create an "all-PDF" web site. This web application demonstrates some of iText's interesting features, such as: - using interactive forms, - creating barcodes, - adding content to an existing PDF in a dynamic way, and so o

Re: [iText-questions] Insufficient data for an Image

2011-03-23 Thread 1T3XT
Op 23/03/2011 9:42, 1T3XT BVBA schreef: > Op 22/03/2011 22:49, Gisbert van Rossum schreef: >> Hello iText, >> >> I am having a problem with converting an image to pdf. > Hello again Gisbert, > I'm not able to reproduce the problem. > When I open the PDF in Adobe Reader X, I don't get > the error m

Re: [iText-questions] Absolute positioning of Chapter?

2011-03-23 Thread edbras
Ok, clear, thanks. - Ed -- View this message in context: http://itext-general.2136553.n4.nabble.com/Absolute-positioning-of-Chapter-tp3397657p3398856.html Sent from the iText - General mailing list archive at Nabble.com. ---