[Ubuntu Wiki] Update of "DebuggingPrintingProblems" by till-kamppeter
Ubuntu Wiki
noreply at ubuntu.com
Thu Jun 28 15:54:33 UTC 2012
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Ubuntu Wiki" for change notification.
The "DebuggingPrintingProblems" page has been changed by till-kamppeter:
http://wiki.ubuntu.com/DebuggingPrintingProblems?action=diff&rev1=64&rev2=65
6. Find out if your printer gets detected by CUPS: <<BR>> {{{$ lpinfo -v}}}
7. Run the parallel port CUPS backend separately, once with standard user privileges and once as root: <<BR>> {{{$ /usr/lib/cups/backend/parallel }}} <<BR>> {{{$ sudo /usr/lib/cups/backend/parallel }}}
8. Attach the output of the above commands to the bug report.
+
+ Note that problems cannot only caused by CUPS but also by the kernel (package "linux"), HPLIP (package "hplip"), and several third-party printer drivers.
+
+ == Network printer ==
+
+ 1. Make sure the printer is turned on and connected to your network. In the case of a WLAN (wireless) printer the printer needs to be configured to use your wireless network.
+
+ 2. Check the printer's configuration by printing a configuration page via the printer's front panel menus. This gives information about the IP address of the printer and about the protocols it supports (JetDirect/AppSocket, LPD, IPP, SMB/Windows, ...).
+
+ 3. You can also find the printer's IP address via the configuration web interface of your router. Many routers you can configure that the printer always gets the same IP and you can also assign a host name.
+
+ 4. To change the printer's configuration either use the printer's front panel menus or the printer's web configuration interface. To access this web interface, enter the IP address of the printer into the address or URL line of a web browser.
+
+ 5. If your printer is supposed to connect via WLAN and it does not get an IP address, make sure that your WLAN is turned on and that the correct network name (SSID) and password are set by the front panel menus of the printer. If the printer has no front panel menus, you have to connct it with an ethernet cable first and configure the WLAN access through the web interface. On some HP printers there is WLAN connection but no ethernet connection. These you have to connect via USB and then use the hp-wificonfig tool from the hplip-gui package to configure them.
+
+ 6. Set up the printer via system-config-printer ("Add" button). Wait around 15 seconds for the network scan (spinning icon must disappear). Usually you should select the default connection type as system-config-printer tries to find the best possibility. Generally use HP printers through the HPLIP connection, other printers preferably with DNS-SD connections (will continue to work whn the router changes the IP of the printer) and from the protocols use preferably AppSocket/jetDirect. The implementation of IPP in the printer's firmware has often bugs. Make sure the desired protocols and DNS-SD/mDNS/BonJour support are active in the printer's hardware configuration.
+
+ 7. Open a terminal/console and run the commands: <<BR>> {{{$ ping <IP of the printer>}}} <<BR>> {{{$ nmap <IP of the printer>}}} <<BR>> Replace "<IP of the printer>" by the printer's IP address. The first command checks whether you can access the printer through the network, the second shows which port numbers are used by the printer and through this which protocols are active (80: Has web interface, 139: SMB, 443: encrypted IPP or encrypted web interface, 515: LPD, 631: IPP, 9100: JetDirect/AppSocket). Install the "nmap" package if needed.
+
+ 8. Run the commands: <<BR>> {{{$ /usr/lib/cups/backend/snmp}}} <<BR>> {{{$ sudo /usr/lib/cups/backend/dnssd}}} <<BR>> The output shows whether the printers get found by CUPS or system-config-printer and with which device URIs and protocols.
+
+ 9. Run the command <<BR>> {{{$ /usr/lib/cups/backend/snmp <IP of the printer>}}} <<BR>> if a printer does not get found by the simple "/usr/lib/cups/backend/snmp" call.
+
+ 10. Find out if your printer gets detected by CUPS: <<BR>> {{{$ lpinfo -v}}}
+
+ 11. Attach the output of the above commands to the bug report.
Note that problems cannot only caused by CUPS but also by the kernel (package "linux"), HPLIP (package "hplip"), and several third-party printer drivers.
More information about the Ubuntu-bugsquad
mailing list