Justy,
First, check what is your default printer. ?set('printer',1). It should be printer, otherwise you will get problems.
Second, in your PDF destination you should:
1) Run the program, I gave you
2) Run Report form command (now output should go to PDF)
3) set printer to default
4) Be sure, that default is your printer (check set('printer',1) again
For Printer destination you should just use
Report Form MyReport to printer noconsole
Let me know, if there are some other problems with this approach...
>Dear Nadya,
>
>I need your help again! I have a form to let user to choose where the report out (To printer or to PDF and mail). When user clicked "mail", it's great and work fine, perfect. But user clicked "to printer", problem comes out. The PDF dialog box prompted. I try to use 'set printer to name
' or 'set printer to name prompt' or 'report form report1 to printer prompt' or 'set printer to default'. It doesn't work and prompt an error "error access the printer spooling ...". What's going on? It make me crazy! I have urgent project to need this function. Could you help me to solve the problem as soon as you can?
>
>Thanks a lot!!!
>
>Best Regards,
>
>Justy Chow
>
>** If anybody have any idea/suggestion, feel free to send an e-mail to me. Thanks!
If it's not broken, fix it until it is.
My Blog