Is there a reason why you are not using
Set printer to name getprinter()
RD
>>>I meant to say TO PRINTER PROMPT PREVIEW
>>
>>You do know that you can't use those keywords all at the same time, right? TO PRINTER PROMPT would be to send it to the printer (with a prompt to ask the user to select the printer) and PREVIEW pops up the preview window.
>>
>>Bill
>
>REPORT FORM reportname NOCONSOLE TO PRINTER PROMPT PREVIEW will show preview and then when you click on a print button will prompt for a printer. Problem is how to catch Cancel from that prompt.
>Mark