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!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > I need help - I can help
  New Posts New Posts RSS Feed - Concatenate Files
  FAQ FAQ  Forum Search   Register Register  Login Login

Concatenate Files

 Post Reply Post Reply
Author
Message
zaksoft View Drop Down
Beginner
Beginner
Avatar

Joined: 16 Jan 06
Location: Italy
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote zaksoft Quote  Post ReplyReply Direct Link To This Post Topic: Concatenate Files
    Posted: 01 Jul 08 at 11:44AM
Is there any way to concatenate 2 PDF files into one ?
I've seen DACapturePage(), but DADrawCapturatepage works only within the same file..
 
TIA
 
P.S. working in C++ unsing COM Object...
Davide
Back to Top
Michel_K17 View Drop Down
Newbie
Newbie
Avatar
www.exp-systems.com

Joined: 25 Jan 03
Status: Offline
Points: 297
Post Options Post Options   Thanks (0) Thanks(0)   Quote Michel_K17 Quote  Post ReplyReply Direct Link To This Post Posted: 01 Jul 08 at 9:28PM
Yes you can. Use the following functions:
  • MergeFileList
  • MergeFileListFast
  • MergeFiles
Cheers!


Michel
Back to Top
zaksoft View Drop Down
Beginner
Beginner
Avatar

Joined: 16 Jan 06
Location: Italy
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote zaksoft Quote  Post ReplyReply Direct Link To This Post Posted: 02 Jul 08 at 3:45AM
Thank you, sorry for the silly question, I was searching for concatenate, I thought that merge was related to 'blending' together pages...
 
Is there a 'direct way' to superimpose a page over a PDF or do I have to load the layout and draw it over single page ?
 
Thanxs again.
 
P.S. any news about COM library ?
Davide
Back to Top
zaksoft View Drop Down
Beginner
Beginner
Avatar

Joined: 16 Jan 06
Location: Italy
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote zaksoft Quote  Post ReplyReply Direct Link To This Post Posted: 10 Jul 08 at 2:40AM
I've implemented MergeFiles ( V. 5.22 COM under VS2005 SP1) but I cant understand where is the problem. Giving the code (FileExist is a function to test document availability):
 

ASSERT( FileExist( "D:\\CSI\\Studio\\documenti\\libromatricola\\bollato\\010\\000\\0100000256.bak"));

ASSERT( FileExist( "D:\\CSI\\Studio\\documenti\\libromatricola\\bollato\\010\\000\\0100000257.bak"));

CQuickPdf pdf;

VERIFY( pdf.MergeFile( "D:\\CSI\\Studio\\documenti\\libromatricola\\bollato\\010\\000\\0100000256.bak",

"D:\\CSI\\Studio\\documenti\\libromatricola\\bollato\\010\\000\\0100000257.bak",

"D:\\CSI\\Studio\\libromatricola\\test.pdf"));

The function return TRUE, the resulting file has two pages, but the second is a copy of the first... of course the concent of doc 256.pdf and 257.pdf is different. I've hardcoded all strings to be sure that source docs are really different..
Any idea of how to spot the problem ?
TIA
Davide
Back to Top
zaksoft View Drop Down
Beginner
Beginner
Avatar

Joined: 16 Jan 06
Location: Italy
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote zaksoft Quote  Post ReplyReply Direct Link To This Post Posted: 10 Jul 08 at 3:50AM
I've probably found where the problem comes from... both document have filelds (with Courier new font - maybe it's important), if the fields are flattened after being compiled the function works.. So can be related to editable fields.
 
Hope this help.
Davide
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store