.BG
.FN printer
.FN show
.TL
Printer Device Function
.CS
printer(width=80, height=64, file="", command="")
show()
.AG width
the width, in characters, of the output device.
.AG height
the height, in characters, of the output device.
.AG file
optional file name.  If specified, all
graphical output will be sent to this file.
.AG command
optional Unix command.
If specified, the output of the `printer' driver will be
piped into the command.  This is most frequently
used to pipe output directly
into a line printer spooler.
.PP
Each plot is stored in an internal buffer.
This enables functions to be given to add to the existing plot.
When the next plot is started, the previous plot is printed.
The function `show()' can be used to print the current plot.
After using `show', the plot can be further augmented.
.PP
The `printer' device is a primitive, low resolution device.
It's primary justification is that it enables you to do some
sort of graphics on arbitrary non-graphics terminals.
It does not support
line style changes, character size changes, character rotation
or color.
.PP
Graphic input (`locator', `identify') done on this device will
prompt for \f2x\fP- and \f2y\fP-coordinates.  Type in the desired coordinates
or hit carriage return to terminate graphic input.
.PP
If several plotted points (not lines) overwrite each other, the
overwritten position is plotted as a "%" character.
.EX
printer(height=24)
plot(lottery.number,lottery.payoff)
show()	# look at the current plot
title("Lottery Data")	# now add title to it

printer(command="lp")	# pipe directly to line printer
.KW device
.WR
