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:

lpstat -a

Example output:

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

If no printers are listed, then restart the cups services:

sudo systemctl restart cups
sudo systemctl restart cups-browsed

To print, you will need to specify the following options in the lp command:

  • -U user
  • -d printer

Example:

lp -U amni22 -d McGill_Mono_Printers_cups_ncs_mcgill_ca file-to-print.pdf

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:

lpoptions -d McGill_Mono_Printers_cups_ncs_mcgill_ca

2. Then set the default username:

echo 'USER amni22' >> ~/.cups/client.conf

3. Restart the cups services:

sudo systemctl restart cups
sudo systemctl restart cups-browsed

Laptop

If you own a laptop and wish to print from it using uPrint, you will need to install the uPrint drivers first: How to install uPrint drivers for your OS

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