Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error 1958 w/ object assisted repo form + no printer
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Error 1958 w/ object assisted repo form + no printer
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows 2000 SP4
Database:
Visual FoxPro
Divers
Thread ID:
01014730
Message ID:
01014730
Vues:
93
This msdn link:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_foxhelp9/html/1845aee0-11f6-4d09-bfbd-b1847476a3d1.asp

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 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.
Paul Emery
theoakgrove@lansing.com
the Oakgrove Computer Group, Inc.
Grand Rapids, Michigan, USA
1-616-456-7133
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform