Function PrintPDFDocument() prints garbage characters

The Amyuni PDF Converter is our Printer Driver that enables you to convert any documents to PDF format. If you have any questions about installing and using the Amyuni PDF Converter please post them here.
Post Reply
wd818
Posts: 22
Joined: Tue Oct 14 2008

Function PrintPDFDocument() prints garbage characters

Post by wd818 »

When the function PrintPDFDocument() prints out certain PDF files, lots of weird characters are instroduced to replace the original text. In some files, it is so bad that the print out is not readable at all.

The version we use is 3.0.3, it is used as a dll in our MFC application.

Can someone help?
David
Amyuni Team
Posts: 89
Joined: Mon Dec 18 2006

Re: Function PrintPDFDocument() prints garbage characters

Post by David »

Hello

The issue that you are encountering is file specific and in order to successfully provide a solution to your issue we would need to look at the PDF files.
You would need to contact our support department with the documents for assistance.

David
lovison@algolsh.it
Posts: 30
Joined: Fri Apr 04 2003

Re: Function PrintPDFDocument() prints garbage characters

Post by lovison@algolsh.it »

Hi,
We have the same problem : PrintPDFDocument() prints out certain PDF files, lots of weird characters are instroduced to replace the original text.
On some pc from our application when we print PDF generated from Amyuni PDF Converter with PrintPDFDocument, we obtain garbage characters in all pdf.
We have Amyuni PDF Converter 4.0.1.1 :roll:
zaksoft
Posts: 66
Joined: Fri Feb 20 2004

Re: Function PrintPDFDocument() prints garbage characters

Post by zaksoft »

Same problem, we have to set a config flag to switch to ShellExecute( "print") over Acrobat Reader to overcome the problem
Davide Zaccanti
lovison@algolsh.it
Posts: 30
Joined: Fri Apr 04 2003

Re: Function PrintPDFDocument() prints garbage characters

Post by lovison@algolsh.it »

Thanks Davide,
I also worked around using ShellExecute with the print, but I have other problems because it is asynchronous, and some printers
can lock the application ("virtual printers" as Amyuni o CutePDF) ... Amyuni's technicians cannot run correct this 'PrintPDFDocument'?
I try to attach these files but the system does'nt allow attach pdf (!!)
Devteam
Posts: 119
Joined: Fri Oct 14 2005
Location: Montreal
Contact:

Re: Function PrintPDFDocument() prints garbage characters

Post by Devteam »

To what type of printer are you printing your PDF? One thing to note is that if the PDF contains embedded fonts, you need to make sure the printing is completed before deleting the CDIntf or PDFCreactiveX instances.
Amyuni Development Team

Efficient and accurate conversion to PDF, XPS, PDF/A and more. Free trials at - https://www.amyuni.com
Post Reply