Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Get default windows printer name with API
Message
 
À
10/03/1998 13:26:05
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00083700
Message ID:
00083757
Vues:
23
>Can anyone please show me some VFP5 code to get the default windows printer name with an API call?
>
>I know the following pure VFP code works:
>
>KEYBOARD "{ENTER}"
>cQueue = GETPRINTER()
>
>but it is rather annoying to see the print dialog box flash on the screen.
>
>Thanks,
David,

The follwong VFP code works too and it doesn't have any dialogs;

lcPrinter = SET("PRINTER",2)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform