How do I install the OIT Laptop Printing for Linux?

This FAQ was last modified on: Friday, July 15, 2016 03:28pm

How to install the Laptop OIT Print package on Linux

            Officially OIT does not support printing from Linux as there are many flavors and it is difficult to support. The easiest way to print from Linux is log into mycloud.gatech.edu and print from the Library VLab. Or, if you would prefer, below are some instructions which will hopefully allow you to configure the printers locally on your own.

 

Configuring CUPS

First install cups and lpd and/or ensure they are running. This process varies per Linux distribution but should be easy to research (apt-get or yum usually). Next navigate to http://localhost:631/ this is the CUPs web GUI and will help make it easier to configure and install the printers. Navigate to Administration then Add a Printer, choose LPD/LPR Host or printer and Continue. Below is a table of recommended names, printer Queues and a list of Drivers to help you install each printer.

 

Name

Location

Queue

Model/Driver

Table for Configuring CUPS

Black_All_Campus

All B/W Release Stations

lpd://pharosQ3.ad.gatech.edu/laptop_black_xerox5550

Xerox Phaser 5550

Black_Finish

First floor Library and Second floor Student Center

lpd://pharosQ3.ad.gatech.edu/laptop_finish_xerox5550F

Xerox Phaser 5550

Central_PS*

Dropoff –second floor Computer Cluster

lpd://pharosQ2.ad.gatech.edu\laptop_centralps

 

Kodak NexPress S Series

Color_Library

Library first floor LWC & LEC

Lpd://pharosQ3.ad.gatech.edu\laptop_color_library

 

Xerox Phaser 7500

Color_Multimedia_Studio

Library Ground Floor

lpd://pharosQ3.ad.gatech.edu\laptop_color_mstudio

 

Xerox Phaser 7600

Color_Student_Center

Student Center second floor computer cluster

lpd://pharosQ3.ad.gatech.edu\laptop_color_studentcenter

 

Xerox Phaser 7775

Color_BME

BME Basement lab #0207

lpd://pharosQ3.ad.gatech.edu\laptop_color_bme

Xerox Phaser 7500

Color_CE

CE, SEB Lobby first floor

lpd://pharosQ3.ad.gatech.edu\laptop_color_ce

Xerox Phaser 7400

Color_COA

COA Industrial Design Lab #104, room #150, third floor #309, & Hinman first floor

lpd://pharosQ3.ad.gatech.edu\laptop_color_coa

Xerox Phaser 7400

Color_COB

COB Building Undergrad lab first floor & third floor #301

lpd://pharosQ3.ad.gatech.edu\laptop_color_cob

Xerox 7545 Copier

Color_K1446

Klaus first floor #1446

lpd://pharosQ3.ad.gatech.edu\laptop_color_ece_K1446

Xerox Phaser 7400

Color_K1448

Klaus first floor #1448

lpd://pharosQ3.ad.gatech.edu\laptop_color_ece_K1448

Dell 5110CN

Color_VL448

Van Leer fourth floor #448

lpd://pharosQ3.ad.gatech.edu\laptop_color_ece_VL448

Dell 5110CN

Color_ME

MRDC #3330

lpd://pharosQ3.ad.gatech.edu\laptop_color_mrdc

Xerox Phaser 7400

 *Central-ps requires a password in addition to a username so it is unlikely to work in Linux. To print Central-ps from linux go to mycloud.gatech.edu and print from the library VLAB. Also if you have not swipped your buzzcard at a release station after 3-20-15 Central-PS will not send your job. More options are coming soon.

  

Configuring Printer Options

              On http://localhost:631/, naivgate to Printers at the top then choose a printer you would like to configure and where it says Administration choose set default options. Here you can choose various options. Options vary per printer but keep in mind that generally tray 1 is used for manual feeding of custom paper, tray 2 has tabloid (11”x17”) and trays 2-5 or 6 have letter (8.5”x11”). You can also set these options via terminal, below is an example for Black_Finish:

#Install Additional Options

lpadmin -p Black_Finish -o APOptionalDuplexer=True                  # Enable Duplexer

lpadmin -p Black_Finish -o XRXOptionFinisher=True                   # Enable Finisher  

lpadmin -p Black_Finish -o XRXOptionStapler=True                    # Enable Stapler

lpadmin -p Black_Finish -o XRXOptionPunch=US_Punch             # Enable Hole Punch

lpadmin -p Black_Finish -o XRXOptionTrays=ThreeExtraTrays  # Enable extra trays

lpadmin -p Black_Finish -o XRXStapling=Front                             # Default staple front

lpadmin -p Black_Finish -o Duplex=DuplexNoTumble                 # Default long edge double-sided

 

Printing

           With all the printers a username must be passed to the system in order to authenticate correctly and Central-ps requires the password in addition. Most GUI applications will not ask for a username and will pass the currently logged in user instead. There are a few ways to circumvent this:

Print everything from terminal – You can pass a username in the lp options if you print directly from terminal. For instance: lpr -P Black_All_Campus -U gburdell3 resume.pdf

Modify the current users bash profile – You can also modify the bash profile to pass your username by adding ‘export CUPS_USER=gburdell3’ to the end of the ~/.profile file.

Modify the prtiner.conf file to inject a username into the queue name – First stop the CUPS service, then edit the printers.conf file (or equivilant, etc/cups/printers.conf for example). For each GT printer modify the DeviceURI configuration and add your username@ into the connection. Such as: lpd://gburdell3@pharosQ3.ad.gatech.edu/laptop_black_xerox5550 . Finally start the service. This method does NOT work via the CUPs GUI.

 

Atuomating the Install 

           Finally, attached is a student created script to automate the installation process described above assuming you already have cups and a few other programs. OIT has verified that the script is not malicious and works as of 3-24-15 but we do not guarantee it will work on your particular verison of linux nor will it be updated if it breaks. You will have to rename the file type to .sh to run it via terminal. We encourage you to read through the script before running it.