>What is currently the best way to give the user the ability to designate a report-specific printer?
cPrinter = GETPRINTER()
>This is a large application where the user has the ability to add new reports.
>
>If a DEVICE=PrinterName line is added to the Expr field in the first record
>of a frx, will the report always be sent to the specified printer without having
>to add a Set Printer To Name command?
>How does that work?
I would disable/remove the specific printer reference in the report itself, and then set the printer prior to generation.
cPrinter = GETPRINTER()
IF NOT EMPTY(cPrinter)
SET PRINTER TO NAME (cPrinter)
ENDIF