I need to run a VFP report and have it print the PCL to a file. I can do this by doing the following:
SET PRINTER TO NAME WindowPrinterName
REPORT FORM ReportName TO (FileName)
Where
WindowPrinterName is a Windows Printer that has been set up using a PCL print driver.
However, I don't want to hardcode the printer name so I need to find out if the user has any printers on their machine that use a PCL driver. APRINTER() gives me the names of the printers but gives no indication of what print driver is associated with the printer.
Any ideas on how I can get his information?
Thanks so much for your help!
Rodd