User Tools

Site Tools


printing

====== Printing ====== There are two uPrint cards available to the lab in the North Wing: * amni16 → NW145 * amni22 → NW136 Note: It is important that these cards are returned immediately after usage. ===== Linux Workstation ===== ==== Printing Using the Command Line ==== To get a list of available printers: <code> lpstat -a </code> Example output: <code> McGill_Color_cups_ncs_mcgill_ca accepting requests since Tue 02 Jul 2019 12:09:33 AM EDT McGill_Mono_Printers_cups_ncs_mcgill_ca accepting requests since Tue 02 Jul 2019 12:09:34 AM EDT </code> If no printers are listed, then restart the ''cups'' services: <code> sudo systemctl restart cups sudo systemctl restart cups-browsed </code> To print, you will need to specify the following options in the ''lp'' command: * -U //user// * -d //printer// Example: <code> lp -U amni22 -d McGill_Mono_Printers_cups_ncs_mcgill_ca file-to-print.pdf </code> ==== Printing Using the GUI ==== Note: Printing using this method has not been tested thoroughly yet and therefore may be buggy. Printing from the GUI on your Linux workstation requires additional configurations. 1. Set the default printer: <code> lpoptions -d McGill_Mono_Printers_cups_ncs_mcgill_ca </code> 2. Then set the default username: <code> echo 'USER amni22' >> ~/.cups/client.conf </code> 3. Restart the ''cups'' services: <code> sudo systemctl restart cups sudo systemctl restart cups-browsed </code> ===== Laptop ===== If you own a laptop and wish to print from it using uPrint, you will need to install the uPrint drivers first: [[http://kb.mcgill.ca/it/easylink/article.html?id=2658|How to install uPrint drivers for your OS]]

printing.txt · Last modified: 2019/07/22 19:27 by jle