Archive of September 2009


Sat 19 Sep

Printing to the UNC Pharos System from Linux or Mac

For the Linux users I know around campus, this has always been one of those "Gee, wouldn't it be great if..." problems. Actually, printing to the university printing system is pretty easy. This also enables printing from Macs as well; see the section on Mac below.

Update Fall 2009: These instructions should remain valid for the new (IMHO, not improved) ONYEN-authenticated printing system. The primary change is that your login name must match your ONYEN. Take a look at Max's Mac instructions for a possible alternative solution.

Linux

This was tested on Ubuntu 7.10 Gusty, but I reckon it should work on any distro with cups. You'll need cups to do this. I've also been told that it works on Fedora 8 with CUPS 1.3.3.

In Ubuntu 7.10 Gusty:

  1. Fire up Firefox or your browser of choice. picture
  2. Go to "http://localhost:631". picture
  3. Click on "Administration". picture
  4. Click on "Add Printer". Fill in any values you like for Name, Location, and Description, then hit next. picture
  5. Select "LPD/LPR Host or Printer" from the drop down menu. picture
  6. Enter "lpd://auxprint2.unc1card.unc.edu/CCI_Printing" for the device URI. picture
  7. Select the print driver for HP Laserjet 9050. It's important you select this as ResNET has reported instances of printers locking up when they receive jobs sent for generic PS printers, but work fine when they receive jobs from their proper driver. All ITS printing stations on campus are HP Laserjet 9050s.
  8. You may be prompted for authentication at some point. Enter your local admin username and password. picture
  9. The printer has been added! picture
  10. A configuration page will appear in a few moments. You can play with settings here, or leave them alone. I highly encourage you to turn on double sided printing now. You can repeat this process and make another printer that produces single sided sheets if you want. picture
  11. Go back to "Administration" and click "Manage Printers". You'll be able to manage your new printer from there, as well as print a test page. picture

Documents you print will appear on the Pharos station under the username you are logged into.

This should work on most modern distros. If it does not, here is the relevant information:

hostname: auxprint2.unc1card.unc.edu (ip: 152.2.243.71)
queue name: CCI_Printing
Use the HP LaserJet 9050 driver.

Mac

Update Sept 17, 2010: Note that since this article was first written, UNC ITS has released a client for OS X; see this help article. These instructions may still be simpler for you to use, though (no extra software to install and no extra popups!).

How to set up CCI Printing on Mac OS X via LPD (thanks to Max Beckman-Harned and J. Bromberg!):

(Instructions good as of 8/24/09; for OS X 10.5):

  1. Go to Apple Menu -> System Preferences -> Print & Fax
  2. Click the + button
  3. Click on "IP" at the top.
  4. Select "Line Printer Daemon - LPD" from the protocol list.
  5. Enter [email protected] into the Address field. For example, my ONYEN is macmaxbh, so I'd enter in [email protected] . Mac OS X will tell you this is an "invalid or incomplete address", ignore it (it should say auxprint2.aux-services.unc.edu is valid, it doesn't understand the username specification, but the underlying printing system does).
  6. Enter CCI_Printing in the queue field.
  7. Name the printer in the "name" field, something like "UNC" or "CCI Printing" or whatever you like.
  8. Select "Select a driver to use..." from the "Print Using" field.
  9. Type 9050 in the search field and select "HP LaserJet 9050" from the list.
  10. Click "Add".
  11. Check "200-Sheet Input Tray (Tray 4)" and "Duplex Unit" from the list, click "Continue".
  12. CCI Printing via LPD is now set up!

Two further notes:

  • When you print, you will NOT get any popup, your print job will immediately be sent to the printer.
  • You may need to check "Two-Sided" or select "Long-edge binding" to get two-sided printouts; this may not be done by default.

That's all there is to it! Contact me ([email protected]) if you have issues.

· Tags: ,