lpr [-Pprintername]
filename
sends a file to the named printer, and
lpq [-Pprintername]
reports the status of the print queue on the named printer. If the printer name is omitted, both commands use the default printer for that computer.
Among other things, the lpq command will show you the job
numbers of your jobs. This is useful if you
change your mind and want to "kill a print job". To do this, type
lprm job_number
Typing lprm without a job number will remove all of your
pending jobs.
For information on printing specific kinds of documents, such as TeX files, consult the printing page of the Accomplishing Common Tasks guide.
enscript -- the
enscript command takes a text file and converts it to
PostScript and pipes it to the printer. It puts in page breaks,
running headers, and allows the user some control over fonts and
layout.
pr -- The pr command
is a filter that both reads reads and writes ASCII text. Like
enscript it inserts page breaks, and allows some control
over layout.
mpage -- mpage reads
in plain text or PostScript, shrinks the text, and writes out a
PostScript file with multiple input pages on each output page.
lpscript -- lpscript
also converts plain text to page formatted PostScript. It does less
by way of fancy formatting and more by way of low level positioning
control.
img2ps imagefile | lpr
For more options, type img2ps without and argument at the
command line
Black and white printing can be very useful in laying out images for
color printing. In this connection, refer also to
imgtile and
imgfit.
Both printers can print both PostScript files, and raster image files in certain formats. The pertinent commands are given below. The command names are linked to their respective man pages.
pan -- print a
raster file on the Panasonic printer
ps2raw -- used
to pipe PostScript output to the Panasonic printer
imgtek --
print a raster file on the Tektronix printer
pstek -- print
a PostScript file on the Tektronix printer.
The Geometry Center Home Page
Comments to:
webmaster@geom.umn.edu
Created: Fri Sep 8 11:39:00 1995 ---
Last modified: Jun 18 1996