Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setting a printer
Message
 
À
27/08/2001 17:37:06
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00545890
Message ID:
00549737
Vues:
20
>Ok...found the article
>
>READ the article.
>Understand the article.
>
>One problem tho', when I go to set the default printer using oNet.SetDefaultPrinter, it wants a printer name. The printer that I need to set as default printer does not exist on the workstation. I need to create the printer connection, set it as default, use it within the application and the get rid of it when the application is closed.
>
>I'd rather not have to create the printer on each individual workstation, mostly because of that whole 'when Novell goes to print, it wants to log onto ALL the printers' thing.
>
>Mayhaps I'm trying to do something that really can't be done, and if I have to create the printed on every workstation, I will....but I really don't want to and I'm hoping I'm just missing something real obvious
>

Dorris,

I don't know if gplib can do this for you. I can, however, explain what the problem is with what you're trying to do. Simply put, Windows (winspool.drv) needs to resolve (via the registry) what the printer driver is. This requires that the driver be installed and registered. If it's not, it won't be able to do this and, as a result, won't be able to print.
George

Ubi caritas et amor, deus ibi est
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform