Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Selecting a Windows printer from FPW 2.6
Message
De
19/06/2000 17:43:00
Ray Crosier
Creative Consulting Services
North Bennington, Vermont, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Titre:
Selecting a Windows printer from FPW 2.6
Divers
Thread ID:
00381992
Message ID:
00381992
Vues:
40
I need to "automatically" select a windows printer in a FPW 2.6 application, to print bar code labels during receipt entry. I have used the MS KB articles on "HOWTO: Change the default windows printer from foxpro" which uses the LISTPRINT, GETPRINT and PUTPRINT routines. It works, mostly, but about once per week, the workstation loses all printer drivers completely!

I have been working with the WNetAddConnection and WNetCancelConnection API functions today with no success.

Can anyone suggest a workable, reliable method to temporarily select a windows printer from FPW 2.6? One that leaves the default printer alone?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform