PrintingGuide
Contents
Available Printers
The Computer Science Department provides support to the following printers:
- Dennis 224 Mac Lab (D224)
- Math/CS Lounge (CSLounge)
- Dennis 4th Floor (4thfloor)
- Lilly Library PC Lab (Lilly)
- Wildman Library PC Lab (Wildman)
- LBC PC Lab (LBC)
- Mary Lou's Office (MaryLou)
Printing Tutorial
a2ps
a2ps formats files for printing on a PostScript®The format used is nice and compact: normally two pages on each physical page, borders surrounding pages, headers with useful information (page number, printing date, le name or supplied header), line numbering, pretty-printing, symbol substitution, etc.
General use
Option | Task |
---|---|
-P | Specify a printer (i.e. D224) |
-R | Print in portrait mode |
-r | Print in landscape mode |
--header[=text] | Print a header of optional text |
--footer[=text] | Print a footer of optional text |
--side=mode | mode is either duplex, simplex, or tumble |
-1..-9 | Predefined font sizes |
--output=FILE | Leave output to FILE |
--copies=NUM | Print NUM copies |
--toc[=title] | Generate a table of contents with title title |
Example
To print the C file bar.c and its header foo.h, on four virtual pages, duplex mode, on the CSLounge printer and save it into the file baz.ps:
The option -4 tells a2ps to make four virtual pages (two ows by two columns). For more options on how to use a2ps check the man apge by running man a2ps.
lpr
lpr is an off-line print utility. lpr uses a spooling daemon lpd to print the named files when facilities become available. If no names appear, the standard input is assumed
General use =
Option | Task |
---|---|
-P | Specify a printer (i.e. D224) |
-Z mode | mode is either duplex, landscape, or duplex |
-# n | Print n copies |
-T | Prints a title |
Example
To print foo.txt to the Dennis 224 Mac Lab using landscape format:
For more information on how to use lpr, please check the man page by running man lpr.
Miscellany
Computer Science students are encouraged to print to the D224 printer since it is funded by Earlham College Computer Services. If that printer happens to be non-functional, try CSLounge and, only in emergencies, MaryLou.
If you have any questions or concerns about printing procedures and policies, please direct them to the Computer Science System and Network Adminstrators.