>I am trying to automatically create a PDF of a report when the user clicks a button.
>
>Therefore I have
>
>SET PRINTER TO NAME '\\xp000429\QuestPDM PDF PRINTER Driver 375'
>REPORT FORM "U:\questpdm\reports\fabricsubmission.frx" NOEJECT NOCONSOLE TO File
>
>But I keep getting an error messgage 'Error Accessing Printer spooler'
>
>Can anybody help me please?
>
>In addition to this how can I automatically create the name of the PDF file as whatever the value of my variable named 'PDFname' is?
>
>Many Thanks
In report form command try TO Printer instead of TO FILE. Also try set printer to before set printer to name. I'm not sure it all would work, though. Did you test this printer before manually?
If it's not broken, fix it until it is.
My Blog