GuíasGuides · Nivel 1Level 1

Impresoras: instalar una impresora de red y desatascar la colaPrinters: installing a network printer and clearing a stuck queue

Añadir una impresora por IP o desde el servidor de impresión, y los tres arreglos que resuelven casi todas las incidencias de impresión.Add a printer by IP or from the print server, and the three fixes that resolve almost every printing ticket.

Qué vas a conseguir

Un usuario imprimiendo en la impresora de su planta, y un método corto para "no imprime", que es el ticket más repetido de cualquier service desk.

Antes de empezar

  • Cómo se publican las impresoras en tu empresa: desde un servidor de impresión (\\print01), por Universal Print en Intune, o directamente por IP.
  • El nombre o la IP de la impresora. Suele estar en una pegatina en la propia impresora o en su página de configuración (botón de menú → Red).
  • Permisos: añadir una impresora del servidor no necesita administrador; instalar un controlador por IP, normalmente sí.

1. Añadir una impresora

Desde el servidor de impresión

Windows · Ejecutar
Win + R\\print01
print01PRN-MAD-2P-COLORConectar…
EstadoInstalando controlador… Listo

Con PowerShell, igual, y vale para hacerlo en remoto o en lote:

PowerShell · usuario
Add-Printer -ConnectionName "\\print01\PRN-MAD-2P-COLOR"Get-Printer | Select-Object Name, DriverName, PortName, PrinterStatusName                          DriverName                 PortName            PrinterStatus----                          ----------                 --------            -------------\\print01\PRN-MAD-2P-COLOR    HP Universal Printing PCL6 PRN-MAD-2P-COLOR    NormalMicrosoft Print to PDF        Microsoft Print To PDF     PORTPROMPT:         Normal

Si aparece 0x0000011b o "Windows no puede conectarse a la impresora", es la protección contra PrintNightmare: el controlador tiene que estar firmado y en el servidor, o la impresora se instala por IP. Escálalo al equipo del servidor de impresión con el código, no toques el registro del equipo.

Por IP (sin servidor)

PowerShell · como administrador
Add-PrinterPort -Name "IP_10.20.5.41" -PrinterHostAddress "10.20.5.41"Get-PrinterDriver | Where-Object Name -like "*Universal*" | Select-Object NameName----HP Universal Printing PCL6Add-Printer -Name "Impresora planta 2 (color)" -DriverName "HP Universal Printing PCL6" -PortName "IP_10.20.5.41"

Con una impresora por IP, el controlador universal del fabricante (HP UPD, Xerox Global, Canon Generic) cubre casi todos los modelos. Si el fabricante no es ninguno de esos, descarga el controlador de su web, nunca de un buscador.

2. "No imprime": el orden

2.1 ¿La impresora está viva?

CMD · usuario
ping 10.20.5.41Respuesta desde 10.20.5.41: bytes=32 tiempo=2ms TTL=64

Sin respuesta: apagada, sin red o con otra IP (las impresoras con DHCP y sin reserva cambian de IP y dejan huérfano el puerto). Mira la pantalla de la impresora: si muestra una IP distinta, cambia el puerto o pide una reserva DHCP.

2.2 ¿Hay trabajos atascados?

Un trabajo con error bloquea todos los siguientes. En Configuración → Impresoras → la impresora → Abrir cola se ven; si "Cancelar todos" no los quita, limpia la cola:

PowerShell · como administrador
Get-PrintJob -PrinterName "Impresora planta 2 (color)" | Select-Object Id, DocumentName, JobStatus, UserNameId DocumentName        JobStatus       UserName-- ------------        ---------       -------- 7 Informe Q3.pdf      Error, Printing laura.prado 8 Factura 1021.docx   Spooling        laura.pradoStop-Service SpoolerRemove-Item "$env:SystemRoot\System32\spool\PRINTERS\*" -ForceStart-Service Spooler

2.3 ¿Es el equipo o la impresora?

Imprime la página de prueba desde las propiedades de la impresora. Si sale, el problema está en la aplicación del usuario (un PDF enorme, una fuente, una versión antigua de Office). Si no sale desde ningún equipo, es la impresora o el servidor: escala con el modelo, la IP y lo que muestra la pantalla de la impresora.

3. Periféricos que dejan de responder

El mismo método sirve para un escáner, un lector de tarjetas o una base de carga: Administrador de dispositivos (devmgmt.msc) muestra un triángulo amarillo si falta el controlador o un código de error. Los tres arreglos por orden: otro puerto USB (mejor directo al equipo, no al monitor o a un hub), desinstalar el dispositivo desde el administrador y volver a conectarlo, y actualizar el controlador desde la web del fabricante.

En los portátiles con base de carga, la mitad de los "no funciona el teclado/monitor/red" son la base: prueba con otra base o conecta el periférico directo al portátil antes de abrir el ticket al fabricante.

4. Qué poner en el ticket

Nombre de la impresora, IP, qué equipo, qué aplicación, y el resultado de la página de prueba. Si has limpiado la cola, dilo: así quien venga después no repite el paso.

Siguientes pasos

  • Pide que las impresoras tengan reserva DHCP o IP fija: desaparecen la mitad de los tickets.
  • Si tu empresa usa Intune, mira Universal Print: las impresoras se asignan por grupo y el usuario no instala nada.
  • Para lotes (una planta entera), un script con Add-Printer sobre una lista de equipos ahorra una tarde.

¿Falta algo o en tu entorno es distinto? Escríbeme y lo corrijo.

What you'll get

A user printing on their floor's printer, and a short method for "it doesn't print", the most repeated ticket at any service desk.

Before you start

  • How printers are published in your company: from a print server (\\print01), through Universal Print in Intune, or directly by IP.
  • The printer's name or IP. It is usually on a sticker on the printer itself or on its configuration page (menu button → Network).
  • Permissions: adding a server printer needs no admin rights; installing a driver by IP usually does.

1. Add a printer

From the print server

Windows · Run
Win + R\\print01
print01PRN-MAD-2P-COLORConnect…
StatusInstalling driver… Done

PowerShell does the same, and it works remotely or in bulk:

PowerShell · user
Add-Printer -ConnectionName "\\print01\PRN-MAD-2P-COLOR"Get-Printer | Select-Object Name, DriverName, PortName, PrinterStatusName                          DriverName                 PortName            PrinterStatus----                          ----------                 --------            -------------\\print01\PRN-MAD-2P-COLOR    HP Universal Printing PCL6 PRN-MAD-2P-COLOR    NormalMicrosoft Print to PDF        Microsoft Print To PDF     PORTPROMPT:         Normal

If you see 0x0000011b or "Windows cannot connect to the printer", it is the PrintNightmare protection: the driver has to be signed and on the server, or the printer is installed by IP. Escalate to the print server team with the code; do not touch the device's registry.

By IP (no server)

PowerShell · as administrator
Add-PrinterPort -Name "IP_10.20.5.41" -PrinterHostAddress "10.20.5.41"Get-PrinterDriver | Where-Object Name -like "*Universal*" | Select-Object NameName----HP Universal Printing PCL6Add-Printer -Name "Floor 2 printer (colour)" -DriverName "HP Universal Printing PCL6" -PortName "IP_10.20.5.41"

With an IP printer, the manufacturer's universal driver (HP UPD, Xerox Global, Canon Generic) covers almost every model. If the manufacturer is none of those, download the driver from their website, never from a search engine.

2. "It doesn't print": the order

2.1 Is the printer alive?

CMD · user
ping 10.20.5.41Reply from 10.20.5.41: bytes=32 time=2ms TTL=64

No reply: switched off, off the network, or on another IP (DHCP printers without a reservation change IP and orphan the port). Look at the printer's screen: if it shows a different IP, change the port or ask for a DHCP reservation.

2.2 Are there stuck jobs?

A job in error blocks everything after it. Settings → Printers → the printer → Open queue shows them; if "Cancel all" does not clear them, clean the queue:

PowerShell · as administrator
Get-PrintJob -PrinterName "Floor 2 printer (colour)" | Select-Object Id, DocumentName, JobStatus, UserNameId DocumentName        JobStatus       UserName-- ------------        ---------       -------- 7 Q3 report.pdf       Error, Printing laura.prado 8 Invoice 1021.docx   Spooling        laura.pradoStop-Service SpoolerRemove-Item "$env:SystemRoot\System32\spool\PRINTERS\*" -ForceStart-Service Spooler

2.3 Is it the device or the printer?

Print the test page from the printer's properties. If it comes out, the problem is in the user's application (a huge PDF, a font, an old Office version). If nothing prints from any device, it is the printer or the server: escalate with the model, the IP and what the printer's screen shows.

3. Peripherals that stop responding

The same method works for a scanner, a card reader or a docking station: Device Manager (devmgmt.msc) shows a yellow triangle if the driver is missing or an error code. The three fixes in order: another USB port (ideally straight into the device, not the monitor or a hub), uninstall the device from Device Manager and plug it in again, and update the driver from the manufacturer's website.

On laptops with a dock, half of the "keyboard/monitor/network doesn't work" tickets are the dock: try another dock or plug the peripheral straight into the laptop before opening a ticket with the manufacturer.

4. What to put in the ticket

Printer name, IP, which device, which application, and the result of the test page. If you cleared the queue, say so: whoever comes next does not repeat the step.

Next steps

  • Ask for printers to have a DHCP reservation or a fixed IP: half the tickets disappear.
  • If your company uses Intune, look at Universal Print: printers are assigned by group and the user installs nothing.
  • For batches (a whole floor), a script with Add-Printer over a list of devices saves an afternoon.

Is something missing, or different in your environment? Get in touch and I'll fix it.

Tech Career Lab · newsletter

¿Te ha servido? Cada dos semanas envío una idea práctica para perfiles IT: LinkedIn, proyectos, networking y procesos de selección.Found this useful? Every two weeks I send one practical idea for IT professionals: LinkedIn, projects, networking and hiring processes.

Apúntate y llévate las 33 ideasSign up and get the 33 ideas →