Take a look at file#
9588 "Printer Control Functions" might be what you are looking for. Don't know if it works with VP5.
>I want my users to have access to the most comprehensive interface for selecting printers, paper sources, copies and so on. Getprinter() is not enough and does not respect the language of the Windows version in use. The last objection is also valid for ... TO PRINTER PROMPT and SYS(1037).
>
>Then I found the Common Dialog control and fired the Showprinter method. Great! Just what I needed! Lots of options and the language of the operating system. I also found out how to configure it with the flags property. But, how do I direct my report to the printer and the set-up the user has chosen? I use REPORT FORM Reportname TO PRINTER NOCONSOLE.
>
>I am currently using VFP5, and I will appreciate any information on he use of this control for printing purposes.
>
>Petter Andersen
>Trainor as
>
>
petter.andersen@trainor.no