Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!
![]() |
Can't merge two pdfs |
Post Reply ![]() |
Author | |
hoogie76 ![]() Beginner ![]() Joined: 05 May 09 Location: United States Status: Offline Points: 1 |
![]() ![]() ![]() ![]() ![]() Posted: 05 May 09 at 2:23PM |
Trying to merge two single page pdf files of the same type into 1 pdf file with two pages.
Once merged, data from page 1 is showing up on partially on page 2. If you look at the pdf files individually they are fine. I've tried opening the docs, flattening the fields and resaving the files to new names but still have the same problem.
I've tried mergefiles, mergefilelist and mergefilelistfast, all with the same results.
Anyone know how to resolve the issue?
I have sample docs and code if anyone wants me to send them.
Thanks, Mark
|
|
![]() |
|
Ingo ![]() Moderator Group ![]() ![]() Joined: 29 Oct 05 Status: Offline Points: 3529 |
![]() ![]() ![]() ![]() ![]() |
Hi Mark!
Where can we find the two files and where is the result? What's about your relevant code part in this case? Perhaps it's possible for you to load them anywhere up and post the links here. Then we can see ... Here is a sample about how to merge two files: QP := TQuickPDF712.Create; try QP.UnlockKey('MyKey'); fa1 := FileGetAttr(Trim(starting_file)); FileSetAttr(Trim(starting_file), faArchive); QP.LoadFromFile(starting_file); QP.Unencrypt; msd := QP.SelectedDocument; fa2 := FileGetAttr(Trim(next_file)); FileSetAttr(Trim(next_file), faArchive); QP.LoadFromFile(next_file); QP.Unencrypt; md0 := QP.SelectedDocument; QP.SelectDocument(msd); QP.MergeDocument(md0); QP.SetInformation(0,'1.4'); //erforderliche PDF-Version QP.SetInformation(5,'My Super App'); //Creator QP.SetInformation(6,'The fantastic QuickPDF'); //Producer QP.SaveToFile(The_new_file); finally QP.RemoveDocument(msd); FileSetAttr(Trim(starting_file), fa1); FileSetAttr(Trim(next_file), fa2); QP.Free; end; Cheers, Ingo |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() 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 |
Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. About — Contact — Blog — Support — Online Store