summaryrefslogtreecommitdiff
path: root/static/unix-v10/man1/can.1
blob: 1a070d4dc34e61f048bdc1aafc8a2c64665c8177 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
.TH CAN 1 
.CT 1 writing_output comm_dev
.SH NAME
can, bcan, dcan, tcan, xcan \- interface to Canon laser-printer spooler
.SH SYNOPSIS
.B can
[
.I option ...
]
[
.I file ...
]
.PP
.B bcan
[
.I option ...
]
[
.I file ...
]
.PP
.B dcan
[
.I option ...
]
[
.I file ...
]
.PP
.B tcan
[
.I option ...
]
[
.I file ...
]
.PP
.B xcan
[
.I option ...
]
[
.I file ...
]
.SH DESCRIPTION
These commands print 
.I files
(standard input by default) on Canon laser printers.
Four commands, all special cases of the generic
.I xcan,
handle particular kinds of data files:
.TP
.I can
ASCII text
.TP
.I bcan
bitmap images created by 
.IR blitblt (9.1)
.TP
.I dcan
output from
.IR troff (1)
.TP
.I tcan
output for a Tektronix 4014 terminal, as produced by
.IR plot (1)
.PP
The destination printer is determined in the following ways,
listed in order of decreasing precedence.
.IP
option
.B -d
.I dest
.br
environment variable
.L CANDEST
.br
printer named in file
.F /etc/candest
.LP
Printers at the mother site are:
.RS
.TP
.B 3
3rd floor, end of 9S corridor (seki)
.PD0
.TP
.B 4
4th floor, stair 8 (swift)
.TP
.B 8
3rd floor, stair 8 (tukey)
.TP
.B 9
4th floor, stair 9 (wild)
.TP
.B j
jones room (jones)
.TP
.B u
unix room (panther)
.TP
.BI / name
printer attached to machine with Datakit destination 
.I name
.RE
.PD
.PP
Options:
.PP
.TP
.BI -d " dest"
Select the destination printer.
.TP
.BI -f " font"
Set the font (default
.LR CW.11 )
for
.IR can ;
see 
.IR font (7).
.TP
.B -L
(landscape) Rotate
.I bcan 
pages 90 degrees.
.TP
.BI -l " n"
Set number of lines per page for
.I can
(default 66).
.TP
.BI -m " n"
Set 
.I bcan
magnification
(default 2).
.TP
.B -n
Spool only, input has already been formatted by a remote
.IR xcan .
.TP
.BI -o " list"
Print only pages whose page numbers appear in
the comma-separated
.I list
of numbers and ranges.
A range
.IB n - m
means pages
.I n
through
.IR m ;
a range
.BI - b
means from the beginning to page
.IR n ;
a range
.IB n -
means from page
.I n
to the end. 
.B -o
implies
.BR -r .
.TP
.B -r
print
pages in reverse order
(default for 
.IR can " and " dcan ).
.TP
.B -sb
.RI "make " xcan " expect " bcan " input;"
.BR -sb " implies defaults of " -x176 " and " -y96 .
.TP
.B -sc
.RI "make " xcan " expect " can " input;"
.BR -sc " does not imply " -r .
.TP
.B -sd
.RI "make " xcan " expect " dcan " input;"
.BR -sd " does not imply " -r .
.TP
.B -st
.RI "make " xcan " expect " tcan " input."
.TP
.BI -t " n"
.I tcan 
scale factor is
.RI ( n /100)/( n %100).
The default is 813, i.e., 13 tekpoints become 8 dots on the laser printer.
.TP
.BI -u " user"
set the name which appears on the banner page;
default is login name.
.TP
.BI -x " n"
set the horizontal
offset of the print image, measured in dots (default 48).
There are 240 dots to the inch.
.TP
.BI -y " n"
set the vertical
offset of the print image (default 0),
except in
.I tcan,
where this option specifies
.I n
extra tekpoints vertically.
.SH FILES
.TF /usr/spool/jpd
.TP
.F /etc/candest
default destination
.PD0
.TP
.F /usr/lib/font/devi10
font directory
.TP
.F /usr/spool/jpd
spool directory
.SH SEE ALSO
.IR pr (1), 
.IR lpr (1), 
.IR blitblt (9.1), 
.IR plot (1), 
.IR font (7)
.SH BUGS
The `landscape' option is supported only by
.IR bcan ;
.BR -o " and " -r
are supported only by
.I can
and
.I dcan.
.br
There ought to be a way to determine the service class from the input data.