Can't get evaluation to create a pdf

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
lfriesen
Posts: 4
Joined: Thu Oct 07 2004

Can't get evaluation to create a pdf

Post by lfriesen »

Hello,
I've downloaded the demo for the developer evaluation version of 2.10i and installed it overtop of our purchased copy of 1.0.0.1. I've followed all of the instructions on page 7 of "Common Driver Interface 210.pdf" to get it installed and running. My install command was: install "Profile PDF Export". (I'm assuming that if I don't enter a license code that it will give me the evaluation version). The code I am running is:

Handle = DriverInit("Profile PDF Export");
SetDefaultFileName(Handle, "C:\\Test, T2042.pdf");
SetResolution(Handle, 300);
SetFileNameOptions(Handle, 3);
EnablePrinter(Handle, "", ""); // no company name & no code for eval
// Do some printing to the printer
SetDefaultFileName(Handle, "");
DriverEnd(Handle);

I know this should work because it was working before I installed 2.10i. Any suggestions would be greatly appreciated. Thanks.
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Post by Joan »

Hello,

using version 2.10 you need to add a call to EnablePrinter() right after DriverInit and right before printing.

Hope this helps.
Post Reply