>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