Difference between revisions of "Printing.old"

From CsWiki
Jump to: navigation, search
m (Printing moved to Printing.old)
 
(2 intermediate revisions by the same user not shown)
Line 22: Line 22:
 
==Printers==
 
==Printers==
 
Undergraduates can print only on the printers in the public labs:
 
Undergraduates can print only on the printers in the public labs:
* '''st1''' - Ross -2, right
 
* '''st2 '''- Ross -2, left
 
 
* '''xl1''' - Rothberg, upper floor
 
* '''xl1''' - Rothberg, upper floor
 
* '''xl2''' - Rothberg, lower floor
 
* '''xl2''' - Rothberg, lower floor
* '''dk'''  - Levy
+
* '''sp'''  - Levy
 
In the public labs, '''st''' is an alias for the nearest printer.
 
In the public labs, '''st''' is an alias for the nearest printer.
  
Line 37: Line 35:
 
   lprm -
 
   lprm -
 
   lprm 123
 
   lprm 123
All utilities take argument ''-P<printer>'' where <printer> is the name of a printer.
+
All utilities take argument ''-P<printer>'' where ''<printer>'' is the name of a printer.
 
If it is not supplied, the '''PRINTER''' environment variable is used.
 
If it is not supplied, the '''PRINTER''' environment variable is used.
 
The .cshrc file given to new users (or installed by ''reinstall'') sets  '''PRINTER''' to ''st''.
 
The .cshrc file given to new users (or installed by ''reinstall'') sets  '''PRINTER''' to ''st''.

Latest revision as of 07:14, 30 June 2008

Quota allocation

At the start of the academic year, the quota of all ordinary users is set to 200 pages. At the start of the second semester, the quota of undergraduates, first-year graduates and non-research graduates, is reset to 200 pages (plus any pages remaining out of a 'bonus'). Other users can ask their academic contact to request extra quota on their behalf. If a course requires extensive printing, the Metargel may request additional quota for all his students.

How to print

Jobs are sent to the printer using command lpr. Most printers can print only PostScript and Text files. (Printers nrg and ps4 can print also PDF files.) Document viewers e.g. firefox and acroread, convert a document to PostScript before piping to lpr. Various command line utilities are also available for converting to PostScript e.g. enscript and a2ps for Text, and pdf2ps for PDF. Other utilities manipulate a PostScript file e.g mpage can put multiple pages on one physical page. Document viewers for PostScript include gs and gv.

Examples:

 mpage -2A file.ps | gs -
 pdf2ps file.ps | mpage -2A | lpr

Printers

Undergraduates can print only on the printers in the public labs:

  • xl1 - Rothberg, upper floor
  • xl2 - Rothberg, lower floor
  • sp - Levy

In the public labs, st is an alias for the nearest printer.

In case of a problem with any of the public printers, mail system or, if urgent, call 84195, 85691, 85692, 85298, 86156 or 86942

Utilites

Besides lpr, the print suite includes the following utilities

  • lpq - list all print jobs
  • lprm - remove print jobs e.g.
 lprm -
 lprm 123

All utilities take argument -P<printer> where <printer> is the name of a printer. If it is not supplied, the PRINTER environment variable is used. The .cshrc file given to new users (or installed by reinstall) sets PRINTER to st. See the relevant man pages.


Quota accounting

One page of quota is deducted for each side of paper printed. The following commands are available:

  • Show current quota:
 psquota
  • List all quota allocations since quota was last reset
 psquota --verbose
  • List all quota deductions since quota was last reset
 printjobs

Command printjobs takes a variety of arguments. To see, do

 printjobs --help