Home >
Printing
> Printing to the new SCS Single-Queue Print System on Unix/Linux hosts
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 CMU AndrewID credentials in order to authenticate to SAMBA print shares.
Preferred Method (LPD/LPR) with CUPS:
- 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://AndrewID@scs-print.srv.cs.cmu.edu/SCS-Public and continue to the next page. (Make sure to change AndrewID to your Andrew 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.
Alternate 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://ANDREW\AndrewID:AndrewPassword@scs-print.srv.cs.cmu.edu/SCS-public and continue to the next page. (Make sure to change AndrewID and AndrewPassword to your Andrew username and your AndrewID 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 Andrew username and 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 Andrew username and 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.