When users report printing issues, having a clear troubleshooting workflow can save a lot of time. Below is a concise guide with essential commands to investigate and resolve common printer problems.
🔍 Step-by-Step Diagnostic Guide
1. Check Printer Status
This shows whether the printer is enabled, actively printing, or unreachable.
2. Check Recently Completed Jobs
Helps confirm whether jobs were properly processed by CUPS.
3. Verify Device URI
Displays the configured connection, e.g., socket://192.168.1.150:9100
.
4. Test Network Connectivity
No response may indicate the printer is powered off, disconnected, or blocked by a firewall.
5. Check if Print Port is Reachable
Confirms whether the raw print port is open (9100 is standard for many network printers).
6. Check DNS Resolution
Validates whether the printer hostname resolves to an IP address.
7. Send a Test Page
Used to verify if the queue is functional and printing.
🛠️ Reset the Print Queue (if stuck)
Cancels all jobs and restarts the print queue.
⚙️ Reconfigure Printer Using Direct IP
Useful if the hostname no longer resolves or the IP/port has changed.
✅ Conclusion
These commands allow you to quickly diagnose whether an issue is caused by network failure, misconfiguration, or a printer-side error. This workflow is applicable for both standard network printers and custom printing setups in RHEL environments.