Test a network printer IP address and port with PowerShell
Son güncelleme
Compare the host address configured in the Windows printer port with the physical printer’s IP address.
Example command
Get-PrinterPort | Select-Object Name,PrinterHostAddress,PortNumber
Test-NetConnection 192.168.1.50 -Port 9100
Steps and interpretation
Replace the example IP address. Use RAW port 9100 only for devices using that protocol. IPP and LPR may use other ports.
Precautions
An open TCP port does not prove that every printer function works.
İlgili makaleler
Diagnose a stuck Windows print queue with PowerShell
Diagnose a stuck Windows print queue with PowerShell. Inspect the spooler and affected jobs before clearing a shared queue.
Windows 11 cannot find a printer: check connection and detection
If Windows 11 cannot find your printer, check USB or network connectivity, verify its IP address and add the printer manually if needed.
Print Spooler not running: fix the Windows print service
Troubleshoot a Windows Print Spooler that will not start. Check its status, dependencies and relevant events with PowerShell and Event Viewer.
Makale etkileşimi
Bu makale işinize yaradı mı?
Sorular ve yorumlar
Onaylı gönderim bulunmuyor.