Difference between revisions of "Printing.old"
Line 6: | Line 6: | ||
To print the file ''labaneh.ps'' from the command line, type | To print the file ''labaneh.ps'' from the command line, type | ||
lpr labaneh.ps | lpr labaneh.ps | ||
− | To print a Java file, | + | To print a Java file, type |
lpr labaneh.java | lpr labaneh.java | ||
And the file will be printed in the nearest printer. | And the file will be printed in the nearest printer. |
Revision as of 13:38, 20 December 2006
General Information
Undergraduate students have a printing quota of 200 pages per semester. If a course requires extensive printing the Metargel may request additional quota for the students from the system group. Files can be printed directly from X software (e.g., eclipse, firefox or PDF readers). Text files and PostScript files can be printed from the editor or using shell commmands.
Shell commands for printing and quota management
To print the file labaneh.ps from the command line, type
lpr labaneh.ps
To print a Java file, type
lpr labaneh.java
And the file will be printed in the nearest printer.
Note that lpr can be used only for text (e.g., source) files and PostScript files. Other types of documents should be printed from the applications you use to view them.
To see a list of all your printed (and queued) jobs, type
printjobs
The output is formatted in this style:
time | printer | pages | jobname ---------------------+---------+-------+-------------------------- 2006-10-22 10:21:08 | xl1 | 1 | STDIN(Mozilla) 2006-10-22 10:22:42 | xl1 | 1 | STDIN(Mozilla) .... .... 2006-11-30 12:08:27 | xl1 | 4 | STDIN(xpdf/pdftops 3.01) 2006-11-30 12:10:55 | xl1 | 10 | STDIN(xpdf/pdftops 3.01)
To see the left quota use psquota
psquota
The output is the number of pages left:
115