Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
PDF reDirect Pro Beta
 EXP Systems Forum : PDF reDirect : PDF reDirect Pro Beta
Topic: Multiple Page error Post Reply Post New Topic
Author Message
SS88
Newbie
Newbie


Joined: 13 Dec 07
Posts: 1
Quote SS88 Replybullet Topic: Multiple Page error
    Posted: 13 Dec 07 at 3:02AM
Hi,
 
I am using it to create PDF files from VB application which I would like to send by e-mail automatically.
 
I am successfully able to send if the pdf file contains 1 page but the problem arises if pdf file is more than 1 page, if more than 1 page then it is sending only the last page.
 
Kindly let me know how to fix this.
 
Thanks
 
SS
IP IP Logged
Michel_K17
Moderator Group
Moderator Group
Avatar
Forum Administrator

Joined: 25 Jan 03
Posts: 1673
Quote Michel_K17 Replybullet Posted: 13 Dec 07 at 8:31PM
Do you have any code that I can look at? It's hard to fix something that I cannot see. Smile

You can it to me at exp [at] exp-systems [dot] com

Thanks!

Michel Korwin-Szymanowski
EXP Systems LLC
IP IP Logged
Michel_K17
Moderator Group
Moderator Group
Avatar
Forum Administrator

Joined: 25 Jan 03
Posts: 1673
Quote Michel_K17 Replybullet Posted: 18 May 08 at 3:12PM
Hi,
 
    Thanks for the sample code, although it looks like it is missing other portions of the code. Particulatly, how are you ensuring that the pages get merged together? Did you set the merge option manually via PDF reDirect Pro >> Preferences >> batch printer settings, or do you set it programmatically by changing the Merge option to "OW_Append"
 
    As I see it, you have three options
 
    1. Set the Batch printer "overwrite" option in PDF reDirect Pro to "Append" like this:
PDF Overwrite = Append Output to Existing File
 
    2. Set it programmatically like this:
oPDF.Settings_Overwrite = OW_APPEND
 
    3. Or, print all three outputs (1st page, middle and last page) to three separate PDF files, and then merge them together using an array of the files you want to merge (I called it Files_to_Merge in my sample below):
oPDF.Utility_Merge_PDF_Files("C:\MergeTest.pdf", Files_to_Merge)
 
    I hope this helps. See below for sample merging code that you can use. If you do it this way, you can then send the e-mail afterwards (once the PDF is finalized) using this function: oPDF.Utility_Send_Email
 
     Best regards,

Michel Korwin-Szymanowski
EXP Systems LLC
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum