User Tools

Site Tools


network_printing_using_cups

====== Differences ====== This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
network_printing_using_cups [2017/02/16 19:48]
ppatterson [Checking Printer Status]
network_printing_using_cups [2018/10/17 15:23] (current)
xteng [Adding networked printers to an Ubuntu client]
Line 4: Line 4:
 ===== Checking Printer Status ===== ===== Checking Printer Status =====
  
-* [[http://ace-printer-1.cbrain.mcgill.ca:​631/​printers/​HP_Color_LaserJet_3550?​which_jobs=all|Show All Jobs on ace-printer-1 in NW147]]+* [[http://132.216.122.31:​631/​printers/​Hewlett-Packard-hp-color-LaserJet-3500?​which_jobs=all|Show All Jobs on ace-printer-1 in NW147]] 
 * [[https://​cups.ncs.mcgill.ca:​631/​printers|McGill UPRINT Printers]] * [[https://​cups.ncs.mcgill.ca:​631/​printers|McGill UPRINT Printers]]
  
Line 20: Line 21:
 ===== Printing ===== ===== Printing =====
  
-Most of your interaction with CUPS will be when you **print** something. **CUPS** and many users of Unix like systems refer to the act of pressing the **Print** button as "​submitting a print job".+Most of your interaction with CUPS will be when you **print** something. **CUPS** and many users of Unix-like systems refer to the act of pressing the **Print** button as "​submitting a print job".
  
 Most of the time **print jobs** are sent to a printers queue and the printer prints them one after the other. ​ Most of the time **print jobs** are sent to a printers queue and the printer prints them one after the other. ​
 +
 +===== Using the Printer Card =====
 +
 +Printing to a McGill uPrint printer with the ACELab printer card can only be done from the command line.
 +
 +==== List Printers ====
 +First check to see if the printers are available on your machine:
 +<​code>​
 +me@ace-ws-00:​~$ lpstat -p
 +</​code>​
 +
 +Output example:
 +
 +<​code>​
 +printer HP-color-laserjet is idle.  enabled since Thu 26 Jan 2017 02:32:24 PM EST
 +printer McGill_Color is idle.  enabled since Thu 16 Feb 2017 02:43:59 PM EST
 +printer mcgill_mono is idle.  enabled since Thu 16 Feb 2017 02:44:14 PM EST
 +printer mcgill_mono_beta is idle.  enabled since Thu 16 Feb 2017 02:44:00 PM EST
 +</​code>​
 +
 +You can see here a local printer and the McGill uPrint printers.
 +
 +==== Printing ====
 +To print a file named myfile.txt to mcgill_mono using the amni16 "Evans Lab Students"​ account:
 +
 +<​code>​
 +me@ace-ws-00:​~$ lp -U amni16 -d mcgill_mono myfile.txt
 +request id is mcgill_mono-117 (1 file(s))
 +</​code>​
 +Then, find the amni16 uPrint card and release the job at the printer.
  
 ===== Configuring a system to use a CUPS network printer ===== ===== Configuring a system to use a CUPS network printer =====
Line 40: Line 71:
 === Real world setup for the HP color LaserJet 3500 in NW 147 === === Real world setup for the HP color LaserJet 3500 in NW 147 ===
  
 +Start the printers interface from the command line with sudo as follows:
 +
 +<​code>​
 +sudo system-config-printer
 +</​code>​
   - Open the **Printing** application.   - Open the **Printing** application.
   - Choose **Add**.   - Choose **Add**.
   - Select the option **Network Printer**   - Select the option **Network Printer**
 +  - Choose **Find Network Printer**
 +  - On the right side of the Window enter the following at the host:
 +
 +<​code>​
 +cups.ncs.mcgill.ca
 +</​code>​
 +  - Choose the **Find** button.
 +
   - Under **Enter device URI** enter something like this:   - Under **Enter device URI** enter something like this:
  
-''​%%ipp://​ace-printer-1.cbrain.mcgill.ca/​printers/​HP_Color_LaserJet_3550%%''​ 
  
-    ​+''​%%ipp://​132.216.122.31:​631/​printers/​HP-color-LaserJet-3500%%''​ 
 + 
 +or 
 + 
 +''​%%ipp://​ace-printer-1:​631/​printers/​HP-color-LaserJet-3500%%''​ 
 Then choose **Forward** Then choose **Forward**
  
Line 69: Line 117:
 NW 147 NW 147
 </​code>​ </​code>​
 +
 +{{:​1.png?​400|}} ​   {{:​2.png?​420|}}
 +
 +{{:​3.png?​400|}} ​   {{:​4.png?​420|}}
 +
  
 ===== Held Jobs ===== ===== Held Jobs =====
network_printing_using_cups.1487274487.txt.gz · Last modified: 2017/02/16 19:48 by ppatterson