Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set Printer To Name in Vista
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Miscellaneous
Thread ID:
01291635
Message ID:
01291672
Views:
18
This message has been marked as the solution to the initial question of the thread.
>I'm trying to get Amyuni PDF Converter to work in Vista.
>The problem is with the SET PRINTER TO NAME command.

1) Make sure you have the printer environment turned off when you save the report.
2) If you suspend your code after the print driver creation, does the print driver actually show up? you may not have enough permissions to install the print driver on the fly.
3) When using Amyuni with VFP, you don't have to create the print driver on the fly using:
lnHandle = this.opdf.driverinit('SWI PDF Printer')
You can just run the default, client install and just use the following to print:
SET PRINTER TO NAME amyunipdf
REPORT FORM myreport TO FILE
However, it is very important that the Printer Environment is turned off
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform