Here is a code fragment from my report handler.
CASE UPPER(JUSTEXT(.p_ChosenReport)) = "FRX"
IF lnPrinter = 6 && output to printer
m..lcTheCommand = "REPORT FORM " + ALLTRIM(.p_ChosenReport) + ;
" TO PRINTER PROMPT PREVIEW"
&lcTheCommand
ENDIF
Driving toward a Tactical Edge