Can't Open PDF in Adobe after Printed from Lite Driver
Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan
Can't Open PDF in Adobe after Printed from Lite Driver
One of my client's is having issues with printing to the Lite Driver (which we license from you and distribute with our product). The attached file is one example. It opens fine in the ViewerAX and NitroPDF, but it will not open in Adobe (I'm using Adobe 9).
See attached.
See attached.
- Attachments
-
- Corrupted.zip
- (34.23 KiB) Downloaded 242 times
- Lzcat - Tracker Supp
- Site Admin
- Posts: 677
- Joined: Thu Jun 28, 2007 8:42 am
Re: Can't Open PDF in Adobe after Printed from Lite Driver
Sorry, but your documkent was modified after creation, so it not a problem of Lite Driver itself. However looks like last modification was done using Viewer, so I'll need way to reproduce it.
By the way, if your client is using some automation system to manage documents it may be its problem - file is completely correct except one: it has appended with five letters string "39258", which is CORRECT file size (without this string). If I remove it - file opens correctly in Adobe.
By the way, if your client is using some automation system to manage documents it may be its problem - file is completely correct except one: it has appended with five letters string "39258", which is CORRECT file size (without this string). If I remove it - file opens correctly in Adobe.
Victor
Tracker Software
Project manager
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
Tracker Software
Project manager
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
Re: Can't Open PDF in Adobe after Printed from Lite Driver
Ok. Here's his exact process.
1. Prints the file out using the Lite driver from his Tax preparation program.
2. Opens the file in the ViewerAX
3. Reorders some pages in the thumbs view
4. Selects a number of radom pages in thumbs view and extracts them to new file
5. Saves the newly extracted pages to a file.
I tried to reproduce this on my end by haven't been able to yet.
--Jeff
1. Prints the file out using the Lite driver from his Tax preparation program.
2. Opens the file in the ViewerAX
3. Reorders some pages in the thumbs view
4. Selects a number of radom pages in thumbs view and extracts them to new file
5. Saves the newly extracted pages to a file.
I tried to reproduce this on my end by haven't been able to yet.
--Jeff
- Tracker Supp-Stefan
- Site Admin
- Posts: 17824
- Joined: Mon Jan 12, 2009 8:07 am
- Location: London
- Contact:
Re: Can't Open PDF in Adobe after Printed from Lite Driver
Hi Jeff,
So is he doing all this in your application or using some other third party tools as well? If yes - do you have anything extra in the code that could be adding the size of the file at it's end, and is he using the latest build of your app? Or maybe that user is using some document managements software after creating.modifying the file - as Victor suggested?
Best,
Stefan
So is he doing all this in your application or using some other third party tools as well? If yes - do you have anything extra in the code that could be adding the size of the file at it's end, and is he using the latest build of your app? Or maybe that user is using some document managements software after creating.modifying the file - as Victor suggested?
Best,
Stefan
Re: Can't Open PDF in Adobe after Printed from Lite Driver
The extraction is done using the following code. Other than that, we just save out the extracted pages by calling save in the Viewer.
Code: Select all
procedure TPDFViewerAX.ExtractAndCreate(ADocID: Integer; APages: String; DeleteSource: Boolean;
var ANewDocID: Integer);
begin
FControl.SetProperty('Operations.ExtractPages.RangeType', 'Exact', 0);
FControl.SetProperty('Operations.ExtractPages.RangeText', APages, 0);
FControl.SetProperty('Operations.ExtractPages.DeleteAfterExtract', 0, 0);
FControl.DoDocumentVerb(ADocID, '', 'ExtractPages', vIn, vOut, PXCVA_NoUI);
FControl.GetActiveDocument(ANewDocID);
if DeleteSource then DeleteDocumentPages(ADocID, APages);
end;
- John - Tracker Supp
- Site Admin
- Posts: 5219
- Joined: Tue Jun 29, 2004 10:34 am
- Location: United Kingdom
- Contact:
Re: Can't Open PDF in Adobe after Printed from Lite Driver
Hi Jeff,
I suspect this was a specific problem with build 200 and is now resolved - if the file is opened in build 201 and saved (see attached) - it opens just fine in Adobe ...
Please update and advise if you concur.
Thanks
I suspect this was a specific problem with build 200 and is now resolved - if the file is opened in build 201 and saved (see attached) - it opens just fine in Adobe ...
Please update and advise if you concur.
Thanks
- Attachments
-
- Corrupted2.pdf
- Corrupted2.pdf
- (38.34 KiB) Downloaded 289 times
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.
Best regards
Tracker Support
http://www.tracker-software.com
Best regards
Tracker Support
http://www.tracker-software.com
- Vasyl-Tracker Dev Team
- Site Admin
- Posts: 2352
- Joined: Thu Jun 30, 2005 4:11 pm
- Location: Canada
Re: Can't Open PDF in Adobe after Printed from Lite Driver
Hi Jeff,
We have checked your attached document:
The File Modification Date is (see it in any file explorer): 29/03/12
The last Document Modification Date is (see it in 'Document Properties' in the any pdf-viewer): 26/03/12
It looks like: you modified file directly after saving by our viewer ActiveX (or by our end-user viewer).
If you believe that it is our issue please make the simple app. to reproduce trouble and give us the source example document also...
Thanks.
We have checked your attached document:
The File Modification Date is (see it in any file explorer): 29/03/12
The last Document Modification Date is (see it in 'Document Properties' in the any pdf-viewer): 26/03/12
It looks like: you modified file directly after saving by our viewer ActiveX (or by our end-user viewer).
If you believe that it is our issue please make the simple app. to reproduce trouble and give us the source example document also...
Thanks.
Vasyl Yaremyn
Tracker Software Products
Project Developer
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
Tracker Software Products
Project Developer
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
Re: Can't Open PDF in Adobe after Printed from Lite Driver
I think my user may have some kind of document management system that is affecting this. Again, I can't reproduce on my end. Thaks for looking into it.
- John - Tracker Supp
- Site Admin
- Posts: 5219
- Joined: Tue Jun 29, 2004 10:34 am
- Location: United Kingdom
- Contact:
Re: Can't Open PDF in Adobe after Printed from Lite Driver
Pleasure Jeff
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.
Best regards
Tracker Support
http://www.tracker-software.com
Best regards
Tracker Support
http://www.tracker-software.com