James, that should be SET PRINTER TO NAME (your printer name)
>set printer name to (your printer name)
>
>>Hi all,
>> I use a line "set printer to name (lcPrintername)" and then not to use "promp" in line "REPORT FORM (lcReportName)TO PRINTER PROMPT NOCONSOLE". The report cannot be printed to the lcReportName (lcReportName is "Epson EPL6200L").
>>
>> Can anyone give me idea how to print a report to specified printer in the network?
>>
>> Thanks.