SCS Computing
 Services and Solutions
  links to the SCS and CMU home pages Carnegie Mellon School of Computer Science Carnegie Mellon University
 
 
 
 » How to… 
 » Accounts & passwords 
 » AFS 
 » AV help 
 » Backups & restores 
 » Calendaring 
 » E-mail 
 » Networking 
 » Printing 
 » Purchasing 
 » Resource management 
 » Security 
 » Software licensing 
 » Support charges 
 » Support lifecycle 
 » Web publishing 
 » Mac support 
 » Linux support 
 » Windows PC support 

Queue Printing on Non-SCS Unix/Linux hosts

SCS Computing Facilities' Operations Team has implemented a new, single-queue printing system for newly deployed public printers. This is a brief overview of how to print to this single-queue using Unix/Linux systems. Please note, you will need your SCS Windows credentials in order to athenticate to SAMBA print shares. You can set/change your SCS Windows password via our Instance Manager Instance Manager (requires SCS Kerberos password).

  • Preferred Method (SAMBA) with CUPS:
    • You will need to install the SAMBA client. On Debian-derived systems, you can install the required client using the package manager:
    • sudo apt install smbclient (sudo for super user privildges to install)
    • Add printers via the CUPS web interface at http://localhost:631. If asked for a username or password, enter your local username/password. Make sure your user is in the lpadmin group.
    • Select the Administration tab.
    • Click Add Printer under the Printers header.
    • Select Windows Printer via SAMBA.
    • Enter the SCS-public address, smb://SCS\scsID:scsWindowsPassword@scs-print.srv.cs.cmu.edu/SCS-public and continue to the next page. (Make sure to change scsID and scsWindowsPassword to your SCS ID (username) and your SCS Windows domain account password)
    • Name the printer (ideally after the appropriate queue) and continue.
    • Select the make Generic and model Generic PostScript Printer or Generic PostScript Printer Foomatic/Postscript.
    • Add the printer. You can then configure additional options such as duplexing, etc.

    Please note the following:

  • Your SCS username and windows password will be stored in plaintext (!) in /etc/cups/printers.conf. If you do not want this, then use the address smb://scs-print.srv.cs.cmu.edu/SCS-public. You will then be prompted for them every time you go to print.
  • Even if you do specify your SCS username and windows password, you will likely be prompted for them every time you go to print from a GTK program. This is because AuthInfoRequired gets set to username,password in /etc/cups/printers.conf. Commenting out this line seems to fix the problem:
    sudo service cups stop && \ sudo sed -i 's/^AuthInfoRequired/#&/g' /etc/cups/printers.conf && \ sudo service cups start

    Please note, that this will apply the change to all of your printers.

  • Editing the printer from the CUPS web interface will cause it to drop your username/password from the config file.
  • Please remember you must be connected to the CMU network to print to SCS printers.

  • Alternate Method (Not Recommended) with CUPS:
    • This process repeats the steps above but without being SAMBA dependent.
    • Add printers via the CUPS web interface at http://localhost:631. If asked for a username or password, enter your local username/password. Make sure your user is in the lpadmin group.
    • Select the Administration tab.
    • Click Add Printer under the Printers header.
    • Select LPD/LPR Host or Printer.
    • Enter the address: lpd://SCSID@scs-print.srv.cs.cmu.edu/SCS-Public and continue to the next page. (Make sure to change SCSID to your SCS ID (username).
    • Name the printer (ideally after the appropriate queue) and continue.
    • Select the make Generic and model Generic PostScript Printer or Generic PostScript Printer Foomatic/Postscript.
    • Add the printer. You can then configure additional options such as duplexing, etc.