Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Retriving a Printer DRIVER name
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00492459
Message ID:
00493710
Vues:
20
>I need to check if the user has Acrobat PDFWriter printer installed. It is simple to do with APRINTERS(), which returns a printer name but the users can rename his printers, so I am trying to retrieve the name of the printer driver to check for. This issue is not specific to PDFWriter printer (I mean I don't want to check for the particular files installed...): same with WinFax or Generic/Text printers.
>

Aleksandr,

If you have some comfort level in VB, you could create a small class in VB that would make use of its printers collection. Each printer object in VB has a bunch of properties that might be of use to you.

This is what I personally did in order to get the driver name of a printer to pass to Crystal Reports at runtime when the user wishes to change their current printer selection.

Laterness,
Jon
Jon Rosenbaum
Devcon Drummer
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform