Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changing the default printer (Again!)
Message
De
24/02/1999 05:34:24
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Changing the default printer (Again!)
Divers
Thread ID:
00190845
Message ID:
00190845
Vues:
52
In the past, I've changed the default printer by changing the INI file setting, running my print job and then changing it back.

This works fine. The system we are currently writing is to run on NT 4, so I've been asked to make the functions use the registry.

I've searched all the messages about changing printers and been pointed to changing

HKEY_CURRENT_CONFIG\System\CurrentControlSet\Control\Print\Printers - Default

but I cannot get Fox (Version 5) to respect ithe change. Quiting Fox and reloading doesn't get it to update either. The only way to get the change to update is to reboot the PC - not really an option :)

Is there anything else I need to change in the registry to get Fox to change what it thinks is the default printer - I've seend the SYS(3056) command mentioned but I that appears to be Fox 6 only.

TIA
regards

Ian
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform