This msdn link:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_foxhelp9/html/1845aee0-11f6-4d09-bfbd-b1847476a3d1.aspsays that object assisted printing will fail if there is no printer installed or the print spooler is not started in the executing environment. It suggests that getpageheight() and getpagewidth() can be used to give VFP enough information to prevent the "Error loading printer driver (Error 1958)" which occurs when trying to execute the REPORT FORM ... command.
Can anybody show me how to modify the following to accomplish this?
...code to build the print cursor
Do (_reportOutput) With 5, loListener
loListener.quietmode = .t.
Report Form budget.frx Object loListener
lc=FiletoStr(loListener.targetfilename)
... code to send lc to the asp page
Thanks for any help.