Printing Problems with MS Word generated PDFs

PDF-XChange Viewer SDK
Simple DLL and ActiveX

Moderators: Tracker Support, TrackerSupp-Daniel, Chris - Tracker Supp, Vasyl-Tracker Dev Team, Sean - Tracker, Tracker Supp-Stefan

Post Reply
CWDOnTracker
User
Posts: 2
Joined: Thu Jan 29, 2015 10:36 pm

Printing Problems with MS Word generated PDFs

Post by CWDOnTracker » Thu Jan 07, 2016 3:55 pm

OS: Windows 7
Clarion 9.1.0 build 11497
PDF-XChange PDF-Tools Viewer Procedure Template v2.0, PDFXCV4
PDFXCV4 PXCViewBaseClass ! Added by PDF-Xchange Viewer Templates v2.0
pxcview.dll File Version 2.5.312.1, last modified 2/9/15

Ok, now the overview is finished...

Steps:
1) Start MS Word and create a new blank document.
2) Type a few words to produce three or four lines of text.
3) Save as PDF
4) In Clarion 9, use PDFXCV4.ReadDocument(P_PathToPDFDocument) to read in the Word generated PDF
5) Use PDFXCV4.PrintDocument to print the PDF in silent mode

Issue:
Some printers (Brother) will not print the PDF, others (HP) will print hieroglyphics at the top of the page.

I'm using PrintDocument to do silent printing of PDFs with the following settings:
IF ~PDFXCV4.ReadDocument(P_PathToPDFDocument) THEN
DO ProcedureReturn
END
PrintFitMode = 2 !Fit to printer margins
PrintRotate = 0
PrintVector = 0
FromPage = 1
ToPage = PDFXCV4.GetPagesCount()
UsePrinterDialog = 0
PDFXCV4.PrintDocument(PrintFitMode, PrintRotate, PrintVector, FromPage, ToPage, UsePrinterDialog)


Thanks in advance
Carl

Tracker - Clarion Support
Site Admin
Posts: 1412
Joined: Wed Jun 30, 2004 4:45 pm
Location: Maryland, USA
Contact:

Re: Printing Problems with MS Word generated PDFs

Post by Tracker - Clarion Support » Thu Jan 07, 2016 4:21 pm

Hi Carl!

Sorry to hear you are having difficulties with PF-Tools printing a PD to hardcopy.

1. Has this worked for you in the past? Or have you only recently begun to try printing the Word-generated PDF files?

2. There are MANY things that can affect the generation of PDF files from programs like Word. To assist us in solving your problem, please post or email me a copy of the Word-generated PDF that isn't printing correctly. My email address is located under the envelope Icon to the right of this message. Thanks!
Craig Ransom
Tracker Software - Clarion Support
http://www.tracker-software.com

CWDOnTracker
User
Posts: 2
Joined: Thu Jan 29, 2015 10:36 pm

Re: Printing Problems with MS Word generated PDFs

Post by CWDOnTracker » Fri Jan 08, 2016 6:16 pm

Craig,
I do not see an 'envelope' icon anywhere as the message area covers the entire area to the right of the browser window.
Anyway, we have re-created this issue with two different MS Word versions. Just follow my steps above.
Is there a way to send a private message?

Thanks,
Carl

Tracker - Clarion Support
Site Admin
Posts: 1412
Joined: Wed Jun 30, 2004 4:45 pm
Location: Maryland, USA
Contact:

Re: Printing Problems with MS Word generated PDFs

Post by Tracker - Clarion Support » Sun Jan 10, 2016 1:07 pm

Using email for file transfer. :)
Craig Ransom
Tracker Software - Clarion Support
http://www.tracker-software.com

Post Reply