User Tools

Site Tools


mcgill_uprint_xerox

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
mcgill_uprint_xerox [2018/08/29 13:34]
xteng
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 be done both from the **command line** and from the **GUI**.+Printing to a McGill uPrint printer with the ACELab printer card can be done both from **command line** and from **GUI**.
  
 ==== List Printers ==== ==== List Printers ====
-First check to see if the printers are available on your machine:+First check to see all available ​uPrints ​on your machine:
 <​code>​ <​code>​
 me@ace-ws-00:​~$ lpstat -p me@ace-ws-00:​~$ lpstat -p
Line 21: Line 21:
  
 ==== How to print ==== ==== How to print ====
 +
 +
 +=== Available uPrint cards ===
  
 * 2 UPrint cards in NW (amni16 in NW145 and amni22 in NW136) * 2 UPrint cards in NW (amni16 in NW145 and amni22 in NW136)
Line 26: Line 29:
 * 1 uPrint card in 527 (amni17) * 1 uPrint card in 527 (amni17)
  
-=== Print out from the command line ===+=== 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 the GUI ===+=== 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>​
  
-  - create a directory ​and file under your home directory+* //All set and its ready to print out via GUI//
  
 +    ​
  
-    mkdir -p ~/​.cups/​client.conf 
-    touch ~/​.cups/​client.conf 
-    
    
mcgill_uprint_xerox.1535549680.txt.gz · Last modified: 2018/08/29 13:34 by xteng