====== Differences ====== This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
network_printing_using_cups [2017/02/16 20:02] ppatterson [Printing] |
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 25: | Line 25: | ||
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. | ||
- | To print to the Mcgill uPrint printers: | + | ===== 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: | First check to see if the printers are available on your machine: | ||
<code> | <code> | ||
- | me====== Headline ====== | + | me@ace-ws-00:~$ lpstat -p |
- | @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 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_Color is idle. enabled since Thu 16 Feb 2017 02:43:59 PM EST | ||
Line 36: | Line 44: | ||
</code> | </code> | ||
- | You can see here a local printer and the McGill uPrint printers. To print a file to mcgill_mono: | + | 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> | <code> | ||
- | me@ace-ws-00:~$ **lp -U amni16 -d mcgill_mono -o sides=two-sided-long-edge myfile.txt** | + | me@ace-ws-00:~$ lp -U amni16 -d mcgill_mono myfile.txt |
request id is mcgill_mono-117 (1 file(s)) | request id is mcgill_mono-117 (1 file(s)) | ||
</code> | </code> | ||
Line 59: | 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 88: | Line 117: | ||
NW 147 | NW 147 | ||
</code> | </code> | ||
+ | |||
+ | {{:1.png?400|}} {{:2.png?420|}} | ||
+ | |||
+ | {{:3.png?400|}} {{:4.png?420|}} | ||
+ | |||
===== Held Jobs ===== | ===== Held Jobs ===== |