Wednesday, April 17, 2013

Enable local CUPS web interface for problematic printers

We had a networked HP LaserJet 2420 in our office that had initial setup connectivity issues. The printer firmware was up-to-date and the Macintosh had all software updates installed (including the HP Printer Drivers for OS X: http://support.apple.com/kb/DL907). The printer would not connect via the "normal" GUI configuration method via System Preferences...Print & Scan.

Since our environment uses CUPS print queues hosted on Linux servers, we were able to workaround this issue with the following steps in OS X 10.8 (these should work in 10.6/10.7 as well):

  1. Turn on the local Mac OS X CUPS web interface by going into Terminal. Enter in the command cupsctl WebInterface=yes. If this doesn't work, use command sudo cupsctl WebInterface=yes.
  2. Open up Safari and enter in http://localhost:631
  3. Click on Adding Printers and Classes link in the middle column
  4. Click the Add Printer button in the upper left
  5. On the Add Printer screen, scroll down to the Other Network Printers section, and select Internet Printing Protocol (ipp) or whatever protocol your queues use. Select Continue.
  6. In the connection text box, enter in the URL for the print queue.
  7. On the next screen, name the printer accordingly and click Continue.
  8. On the next screen, select the Make and Model of the printer. There seems to be a larger list of printers versus the Print & Scan GUI in System Preferences. When done selecting the model click Add Printer.
  9. Go to System Preferences...Print & Scan... and verify the new printer you created now shows up.
  10. Click Open Print Queue... and when the queue opens, go to the Printer menu and select Print Test page.
  11. If all looks good, you can turn off the local CUPS web interface via the Terminal command cupsctl WebInterface=no

No comments:

Post a Comment