Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Obtener la impresora predeterminada
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00980380
Message ID:
00980442
Views:
49
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform