User Tools

Site Tools


mcgill_uprint_xerox

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

Link to this comparison view

Next revision
Previous revision
mcgill_uprint_xerox [2018/08/29 13:20]
xteng created
mcgill_uprint_xerox [2018/08/29 17:38] (current)
adoyle
Line 1: Line 1:
-Using the Printer Card +===== Using the Printer Card =====
-Printing to a McGill uPrint printer with the ACELab printer card can only be done from the command line.+
  
-Edit +Printing ​to a McGill uPrint printer with the ACELab printer card can be done both from **command line** and from **GUI**.
-List Printers +
-First check to see if the printers are available on your machine:+
  
 +==== List Printers ====
 +First check to see all available uPrints on your machine:
 +<​code>​
 me@ace-ws-00:​~$ lpstat -p me@ace-ws-00:​~$ lpstat -p
-Output example:+</​code>​
  
 +Output example will be vary on Ubuntu 16 and Ubuntu 18
 +
 +<​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
 printer mcgill_mono is idle.  enabled since Thu 16 Feb 2017 02:44:14 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 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. You can see here a local printer and the McGill uPrint printers.
  
-Edit +==== How to print ==== 
-Printing+ 
 + 
 +=== Available uPrint cards === 
 + 
 +* 2 UPrint cards in NW (amni16 in NW145 and amni22 in NW136) 
 + 
 +* 1 uPrint card in 527 (amni17) 
 + 
 +=== Print out from command line === 
 To print a file named myfile.txt to mcgill_mono using the amni16 “Evans Lab Students” account: 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 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>​
 Then, find the amni16 uPrint card and release the job at the printer. Then, find the amni16 uPrint card and release the job at the printer.
 +
 +=== Print out from GUI ===
 +
 +* //Create a directory and file under your home directory//
 +<​code>​
 +mkdir -p ~/.cups/
 +touch ~/​.cups/​client.conf
 +</​code>​
 +* //Add Lab uPrint card name (amni16 e.g.) into client.conf file//
 +<​code>​
 +echo 'USER amni16'>>​ ~/​.cups/​client.conf
 +</​code>​
 +* //Set a default printer in ~/​.cups/​lpoptions//​
 +<​code>​
 +lpoptions -d mcgill_mono
 +</​code>​
 +note: you can add all available printers into ~/​.cups/​lpoptions by editing the file
 +<​code>​
 +XXX@ace-ws-XX:​~$ cat .cups/​lpoptions ​
 +McGill_Color
 +mcgill_mono
 +mcgill_mono_beta
 +</​code>​
 +
 +* //All set and its ready to print out via GUI//
 +
 +    ​
 +
 + 
mcgill_uprint_xerox.1535548851.txt.gz · Last modified: 2018/08/29 13:20 by xteng