>I want to print a report using different printers.
>I don't want to use the PROMPT clause, because I want to change printers programmatically depending of user and his working place.
>
>Thanks in advance
>
>Carlos F. Restrepo
Look at the APRINTERS(), SET("PRINTER"), and SET PRINTER TO NAME commands.
APRINTERS() will return an array of printer path, printer name for each.
SET("PRINTER",2) will return name of windows default.
SET PRINTER TO NAME in combination with printer name from either will change printer.