This msdn link:
says 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 exe to accomplish this? ( The exe passes the string up to a mtdll and then to an asp page.)
Thanks for any help.
Oakgrove Computer Grouper
Lansing, MI
says 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 exe to accomplish this? ( The exe passes the string up to a mtdll and then to an asp page.)
Code:
Define Class getregexe As Custom OlePublic
...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
enddefine
Oakgrove Computer Grouper
Lansing, MI