This has nothing to do with iText. PDF files are binary. If
you want to send them by e-mail you have to mime attach it.
Best Regards,
Paulo Soares
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of S Lam
Sent: Wednesday, June 09, 2004 10:56 AM
To: [EMAIL PROTECTED]
Subject: [iText-questions] Question of PDF content generated by iTextHi all,I need your great help.Firstly, I generate 2 pdf files by FOP 20.4 each in 1 page, with Asian NLS characters.Then, I use iText to concat two pdf files into a 2-page pdf. The file can be opened and viewed with Acrobat reader in Window successfully.However, when I try to send the 2-page pdf via email, the Internet mail gateway blocks the email and says it cannot verify the email content. This problem doesn't occur when I send the 2 separate 1-page pdf files via email.I understand the problem is dependent on the mail gateway policy. However, I want to know how (and why) iText will alter the pdf content when merging the pdf files. And how to prevent it.I originally suspect the problem is due to the second binary comment (some binary characters to indicate the file is in binary format). However, after I amended the coding to skip this comment, the problem persists.Any comment and help?ThanksSL
S Lam <[EMAIL PROTECTED]> wrote:Dear all,
I am using iText to merge two pdf files into one. However, I don't want to include the second line comment '%����' in the pdf. Any comment or advice where can I turn off this binary character option?
Thanks for your great help in advance.
SL
Do you Yahoo!?
Friends. Fun. Try the all-new Yahoo! Messenger
Do you Yahoo!?
Friends. Fun. Try the all-new Yahoo! Messenger
