Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setting windows default printer under Win XP
Message
De
25/09/2003 23:54:00
Larry Long
ProgRes (Programming Resources)
Georgie, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Setting windows default printer under Win XP
Divers
Thread ID:
00832569
Message ID:
00832569
Vues:
43
What am I doing wrong? Using VFP8, I am issuing the following...

Receipt_Printer = GETPRINTER()

* Declare the API call, NOTICE the specific name
* for the DLL here!
DECLARE Integer SetdefaultPrinter IN WINSPOOL.DRV String

* Set the printer
SetDefaultPrinter( (Receipt_Printer) )

but get an error messge saying that it can't find the entrypoint.

HELP!
L.A.Long
ProgRes
lalong1@charter.net
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform