term% cat index.txt CAN(1) General Commands Manual CAN(1)
NAME
can, bcan, dcan, tcan, xcan - interface to Canon laser-printer spooler
SYNOPSIS
can [ option ... ] [ file ... ]
bcan [ option ... ] [ file ... ]
dcan [ option ... ] [ file ... ]
tcan [ option ... ] [ file ... ]
xcan [ option ... ] [ file ... ]
DESCRIPTION
These commands print files (standard input by default) on Canon laser
printers. Four commands, all special cases of the generic xcan, handle
particular kinds of data files:
can ASCII text
bcan bitmap images created by blitblt(9.1)
dcan output from troff(1)
tcan output for a Tektronix 4014 terminal, as produced by plot(1)
The destination printer is determined in the following ways, listed in
order of decreasing precedence. Printer names are given in candest(7).
option -d dest
environment variable CANDEST
printer named in file /etc/candest
Options:
-d dest select the destination printer, see candest(7).
-f font set the font (default CW.11) for can, see font(7).
-L (landscape) rotate bcan pages 90 degrees.
-l n set number of lines per page for can (default 66).
-m n set bcan magnification (default 2).
-n spool only, input has already been formatted by a remote xcan.
-o list print only pages whose page numbers appear in the comma-sepa‐
rated list of numbers and ranges. A range n-m means pages n
through m; a range -n means from the beginning to page n; a
range n- means from page n to the end. -o implies -r.
-r print pages in reverse order (default for can and dcan).
-sb make xcan expect bcan input; -sb implies defaults of -x176 and
-y96.
-sc make xcan expect can input; -sc does not imply -r.
-sd make xcan expect dcan input; -sd does not imply -r.
-st make xcan expect tcan input.
-t n tcan scale factor is (n/100)/(n%100). The default is 813,
i.e., 13 tekpoints become 8 dots on the laser printer.
-u user set the name which appears on the banner page; default is login
name.
-x n set the horizontal offset of the print image, measured in dots
(default 48). There are 240 dots to the inch.
-y n set the vertical offset of the print image (default 0), except
in tcan, where this option specifies n extra tekpoints verti‐
cally.
FILES
/etc/candest default destination
/usr/can/font font directory
/usr/spool/jpd spool directory
SEE ALSO
blitblt(9.1), plot(1), pr(1), revpag(1), troff(1), candest(7), font(7)
BUGS
The ‘landscape' option is supported only by bcan; -o and -r are sup‐
ported only by can and dcan.
There ought to be a way to determine the service class from the input
data.
CAN(1)