![]() |
![]() |
![]() |
![]() |
![]() |
FTP | ![]() |
![]() |
CCD | ![]() |
![]() |
Buscar | ![]() |
![]() |
Trucos | ![]() |
![]() |
Trabajo | ![]() |
![]() |
Foros | ![]() |
|
Registrarse | FAQ | Miembros | Calendario | Guía de estilo | Temas de Hoy |
![]() |
|
Herramientas | Buscar en Tema | Desplegado |
|
#1
|
||||
|
||||
![]() Hola Compañer@s:
Me gustaría saber como sacar el nombre que tiene la impresora seleccionada en windows. Con: Código:
Printer.Printers.Strings[Printer.PrinterIndex] ![]() Gracias. Saludos!!! |
#2
|
||||
|
||||
![]() Por si a alguien le interesa, la solución es la siguiente:
Código:
var Device, Driver, Port : array [0..255] of Char; Modo : Cardinal; begin Printer.GetPrinter(Device,Driver,Port,Modo); If Device <> '' then ShowMessage(Device) else ShowMessage('Sin definir impresora'); end; ![]() Saludos! |
![]() |
|
|
![]() |
|