theCAT
  
Report a Problem:
Email: support@cat.pdx.edu
Phone: 503-725-5420
Location: FAB 82-01
  USERS PLATFORMS SYSTEM RESOURCES    
Home Students Fac/Staff CS Tutors Guidelines Windows Linux Mac Mail Network Software Web TheCAT Sitemap Contact
arrowHome arrow Linux arrow Printing over SSH using LPR Sunday, 25 June 2017  
Linux
Printing over SSH using LPR Print
Saturday, 08 January 2011

1. Open a terminal (by default, ctrl+alt+t) and ssh into your preferred CECS *nix machine (e.g. ada.cs.pdx.edu ):
  

2. Once you see a prompt, it's as simple as invoking lpr:

   lpr -P $PRINTER $DOCUMENT

 

3. To get a list of all available printers, use:

   lpstat -a

 

NOTE: You can also invoke lpr from ssh without having to bring up a shell:

   ssh $USER@$REMOTEHOST lpr -P $PRINTER $DOCUMENT

 

Last Updated ( Saturday, 31 December 2016 )

©1999 - 2017 TheCAT