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 Unix Mac Mail Network Software Web TheCAT Sitemap
arrowHome arrow Linux arrow Printing over SSH using LPR Wednesday, 16 May 2012  
Linux
Printing over SSH using LPR Print
Written by el_seano   
Saturday, 08 January 2011

1. Open a terminal (by default, ctrl+alt+t) and ssh into your preferred CECS *nix machine (e.g. chandra.cs.pdx.edu, rockhopper.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 ( Tuesday, 15 February 2011 )
relics - backup tape
relics - backup tape
Upcoming Events
There are no upcoming events currently scheduled.
View Full Calendar

©1999 - 2012 TheCAT