VerySplitMergePDF

I am using your VeryPDF verywrite.dll to take the first page of a bunch of pdf documents.  I use your VerySplitMergePDF function to do it, attached is a pdf file that was supposed to have nine pages in it but the VerySplitMergePDF had an issue and will not open.  This occurs on multiple machines with multiple operating systems.  Any help would be greatly appreciated.
=============================
When we try to open your PDF file in Adobe Acrobat, we get following error, it is indicate your PDF file has been damaged, can you please double check your input PDF file carefully?

VeryPDF
=============================
That was my point, but I did get more information.  If I use VerySplitMergePDF on a 1 page document and try to split out the first page to another document I get the error.  I will be using your other functions to check if there are more than 1 page and work accordingly, but is there a way to use VerySplitMergePDF on a 1 page document?
=============================
VerySplitMergePDF does support 1 page PDF file without any problem, for example,

~~~~~~~~
'Split or merge PDF files
szInputPDFFilename = "C:\verypdf.pdf"
szPageRange = ",1"
szOutputPDFFilename = "C:\out.pdf"

'You need use (") to include the input and output filenames
szCommand = """" + szInputPDFFilename + szPageRange + """" + " " + """" + szOutputPDFFilename + """"

ret = VerySplitMergePDF(szCommand)
~~~~~~~~

Can you work fine with above sample code for 1 page PDF file?

VeryPDF
=============================
No that is what I did but I found certain 1 page documents didn't work and corrupted the file.  I made a workaround using the veryappendpdf and added the one page document to the end of the file.

I would send you the offending document, but it is part of a legal dispute and is part of evidence, so without a NDA we can not send it.
=============================
Do you encounter this problem for all of your PDF files? Or just one special PDF file?

I have tried VerySplitMergePDF() function on the " append.pdf " file which included in package, it works without any problem, can you work fine on " append.pdf " file too?

VeryPDF
=============================
Found another issue, what if there is a , in the file name?
=============================
If input PDF filename contain "," character, VerySplitMergePDF() function will not able to open this PDF file, you should better remove "," character from your PDF filename, because "," character is used to specify the page range in VerySplitMergePDF() function.

However, we are using "*" character to instead of "," in the new version, if you are own the gold support, please email to us your Order ID of gold support, we will send the new version of pdfpg.dll to you shortly.

VeryPDF

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *


Verify Code   If you cannot see the CheckCode image,please refresh the page again!