Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Need help Trapping for Printer Errors
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00595572
Message ID:
00595715
Vues:
21
Tracy,
thanks for the reply. PRINTSTATUS(), according to the VFP, does not work with Windows printers:

In Visual FoxPro, PRINTSTATUS( ) always returns true (.T.) if the printer is connected through the Windows Control Panel.

Am I wrong here?

John.


>John, this is what we use BEFORE we initiate the print job:
>
>
>	IF !PRINTSTATUS()
>		SET PRINT TO
>		SET DEVICE TO SCREEN
>		=okay("Printer is not ready.",7,0,'PORT: '+port)
>		xreturn = .F.
>	ENDIF
>
>
>Does this not work for you? After this, when the print job is initiated, we trap for the general printing errors in our errortrap program.
Beer is proof that God loves man, and wants him to be happy. - Benjamin Franklin
John J. Henn
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform