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.

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

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

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: 2024/03/26 13:52
  • by 127.0.0.1