Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Change Windows default printer
Message
De
05/02/2007 05:54:40
 
 
À
05/02/2007 05:41:13
Aman Bains
Jaguar Computers
Jalandhar, Inde
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows '98
Divers
Thread ID:
01192297
Message ID:
01192318
Vues:
22
>>How to Change Windows default printer in Win 98 programatically?
>
>
>DECLARE INTEGER SetDefaultPrinter IN WINSPOOL.drv STRING pszPrinter
>lcPrinter = GETPRINTER()
>SetDefaultPrinter(lcPrinter)
>
>
>Gives error in Win 98:-
>"Cannot find entry point SetDefaultPrinter in the DLL", Error No 1754.
>
>How to change Default printer in Win 98?

Sorry, that command will works only with Win2000 and above.
Windows 95/98/Me: Unsupported.

Check:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/gdi/prntspol_027m.asp
to see how to do it for older versions.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform