Page 1 of 1

Problems merging 2 landscape PDFs

Posted: Mon Dec 03, 2007 2:11 pm
by Compunited
Hi,
I'm trying to merge two PDFs in landscape format. As a result I correctly get a PDF in landscape format but the second document is merged in portrait format into it.
I haven't found a parameter for setting portrait/landscape
I read the document like this
res = PXCp_ReadDocumentW(PDF, StrConv(strNavigationTemplate, vbUnicode), 0)

Dim objContentPlaceInfo As PXCp_ContentPlaceInfo


objContentPlaceInfo.Alignment = CPA_HorLeft
objContentPlaceInfo.DestPage = 0
objContentPlaceInfo.SrcPage = 0


and merge it like this
res = PXCp_PlaceContents(PDF1, PDF2, 1, objContentPlaceInfo, 0)

What's wrong?

Michael

Posted: Mon Dec 03, 2007 2:56 pm
by Ivan - Tracker Software
Can you provide us with PDFs which cause the trouble ?

Posted: Tue Dec 04, 2007 12:05 pm
by Compunited
Here are the two files

Posted: Wed Dec 05, 2007 8:46 am
by Ivan - Tracker Software
Trouble reproduced. We are working on the fix. Thanks for your patience.

Posted: Wed Dec 05, 2007 10:02 am
by Compunited
Thanks.
btw there also seems to be a memory leek in the merging funktion. After round about 2000 PDFs excel fails with not enough memory and it's impossible to save anything.

Posted: Wed Dec 05, 2007 10:50 am
by Ivan - Tracker Software
I'm afraid I will need your code which calls PXCp_XXX function for checking memory leaks if they are.

Posted: Mon Dec 10, 2007 9:24 am
by Compunited
Do you have any news concerning the document merging question? My customer is very impatient.

Posted: Mon Dec 10, 2007 10:23 am
by Ivan - Tracker Software
Troubles with merging landscape oriented documents are solved. New build with included this fix will be available in days.

New binary?

Posted: Fri Dec 14, 2007 11:45 am
by Compunited
Hi
Is the new binary ready and where can i get it. We have acceptance procedure today.

Regards

Michael

Posted: Fri Dec 14, 2007 12:35 pm
by John - Tracker Supp
Hi,

We will begin uploading in approx 1 hour - so I suggest you wait approx 4 hours as the whole process is quite lengthy due to the number of differing installation files for differing purposes we must upload

HTH

Posted: Fri Dec 14, 2007 3:39 pm
by John - Tracker Supp
Build 3.60128 now available

Download latest Releases
http://www.tracker-software.com/downloads/

HTH

Problem not solved

Posted: Mon Dec 17, 2007 7:14 am
by Compunited
Hi,

i've uninstalled the previous sdk, deleted the folde tracker software and installed the new sdk.
The problem is still there.

regards
Michael

Posted: Mon Dec 17, 2007 7:23 am
by John - Tracker Supp
Hi Michael,

Could you please zip and send the file generated by the new build.

Many thanks.

Posted: Mon Dec 17, 2007 3:22 pm
by Compunited
Here is the sample

Posted: Mon Dec 17, 2007 5:57 pm
by Ivan - Tracker Software
Sorry, but attached file was not created by PDF-XChange.

Posted: Tue Dec 18, 2007 7:13 am
by Compunited
It was actually created with pdf-xchange. Only the template which is merged to the other page was created with Adobe Acrobat because of the Buttons.
I can send you the Excel VBA code to create this file yourself .

Regards

Michael

Posted: Tue Dec 18, 2007 8:47 am
by Ivan - Tracker Software
Yes, please send this code, and original PDFs.

Posted: Tue Dec 18, 2007 2:00 pm
by Compunited
Just extract everything to c:\tracker open the excel sheet and hit create pdf

Posted: Wed Dec 19, 2007 8:51 am
by Ivan - Tracker Software
The problem is you have more than one copies of the PDF-XChange DLLs -- the file you sent (error.pdf) was created by build 0124, but not the build 0128 where this trouble was fixed. So, just check all places where DLLs are located (Excel uses PATH environment to find DLLs) and replace them with latest build you have.

Attached file is the file created by 0128 build.

Posted: Wed Dec 19, 2007 1:03 pm
by Compunited
Thanks.
Dll was copied into the system32 directory by the user.

Regards

Michael

Posted: Wed Dec 19, 2007 3:11 pm
by John - Tracker Supp
Pleased all is well.

If this ever happens in the future - you might find this tool useful.

http://www.tracker-software.com/forum/v ... php?t=1545