Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Obtener la impresora predeterminada
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00980380
Message ID:
00980442
Vues:
46
This message has been marked as the solution to the initial question of the thread.
>Como obtengo la impresora por defecto de un puesto de trabajo ?
>
>La función APRINTERS() me devuelve todas las impresoras instaladas sin ser necesariamente la primera del array la predeterminada.
>
>Tampoco pude con WSH, ya que solo encontre la función SetDefaultPrinter(), pero no tiene la opción Get.
>
>Desde ya muchas gracias.

? set('Printer', 2) devuelve la impresora default de Windows
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform