Page 1 of 1

Printing Problems with MS Word generated PDFs

Posted: Thu Jan 07, 2016 3:55 pm
by CWDOnTracker
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

Re: Printing Problems with MS Word generated PDFs

Posted: Thu Jan 07, 2016 4:21 pm
by Tracker - Clarion Support
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!

Re: Printing Problems with MS Word generated PDFs

Posted: Fri Jan 08, 2016 6:16 pm
by CWDOnTracker
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

Re: Printing Problems with MS Word generated PDFs

Posted: Sun Jan 10, 2016 1:07 pm
by Tracker - Clarion Support
Using email for file transfer. :)