1foo2hiperc(1)               General Commands Manual              foo2hiperc(1)
2
3
4
5
6

NAME

8       foo2hiperc - Convert Ghostscript pbmraw or bitcmyk format into a HIPERC
9       printer stream
10

SYNOPSIS

12       foo2hiperc [options] <pbmraw-file >hiperc-file
13
14       foo2hiperc [options] <bitcmyk-file >hiperc-file
15
16       foo2hiperc [options] <pksmraw-file >hiperc-file
17

DESCRIPTION

19       foo2hiperc converts Ghostscript pbmraw, bitcmyk, or pksmraw output for‐
20       mats to monochrome or color HIPERC streams, for driving the Oki C310dn,
21       C3100, C3200, C3300n, C3400n, C5100n, C5500n, C5600n,  and  the  C5800n
22       HIPERC printers.
23
24

COMMAND LINE OPTIONS

26   Normal Options
27       These are the options used to select the parameters of a print job that
28       are usually controlled on a per job basis.
29
30       -c     Force color mode if autodetect doesn't work.
31
32       -d duplex
33              Duplex code to send to printer [1].
34              │        │               │
35              │1   off │ 2   long edge │ 3   short edge
36
37       -g xpixxypix
38              Set page dimensions in pixels [5100x6600].
39
40       -m media
41              Media code to send to printer [0].
42
43              ──────────────────────────
44              Media          HIPERC
45              ──────────────────────────
46              plain            0
47              labels           1
48              transparency     2
49
50       -p paper
51              Paper code to send to printer [2].
52
53              ┌─────────────┬─────────────────────┐
54              │ 1   A4      │  2   letter         │
55              │ 3   legal   │ -    -              │
56              │ 5   A5      │  6   B5jis          │
57              │ 7   A6      │  8   env Monarch    │
58              │ 9   env DL  │ 10   env C5         │
59              │11   env #10 │ 12   executive      │
60              │13   env #9  │ 14   legal 13.5"    │
61              │15   A3      │ 16   tabloid/ledger │
62              └─────────────┴─────────────────────┘
63       -n copies
64              Number of copies [1].
65
66       -r xresxyres
67              Set device resolution in pixels/inch [600x600].
68
69       -s source
70              Source (InputSlot) code to send to printer [0].
71              │                │
72              │0   auto select │
73              │1   tray1       │ 2   tray2
74              │3   multi       │ 4   manual
75
76       -t     Draft mode.  Every other pixel is white.
77
78       -J filename
79              Filename string to send to printer.
80
81       -U username
82              Username string to send to printer.
83
84   Printer Tweaking Options
85       These are the options used to customize the operation of foo2hiperc for
86       a particular printer.
87
88       -u xoffxyoff
89              Set the offset of the start of the printable region from the up‐
90              per left corner, in pixels [0x0].
91
92       -l xoffxyoff
93              Set the offset of the end of the printable region from the lower
94              right corner, in pixels [0x0].
95
96       -L mask
97              Send  logical  clipping  amounts  implied by -u/-l in the HIPERC
98              stream [3].
99
100              0   don't send any logical clipping amounts
101              1   only send Y clipping amount
102              2   only send X clipping amount
103              3   send both X and Y clipping amounts
104
105       -A     AllIsBlack: convert C=1,M=1,Y=1 to just K=1.  Works with bitcmyk
106              input only.
107
108       -B     BlackClears:  K=1  forces  C,M,Y to 0.  Works with bitcmyk input
109              only.
110
111       -Z compressed
112              Use uncompressed (0) or compressed (1) JBIG data.
113
114   Debugging Options
115       These options are used for debugging foo2hiperc.
116
117       -S plane
118              Output just a single color plane from a color print and print it
119              on the black plane.  The default is to output all color planes.
120
121              1   Cyan
122              2   Magenta
123              3   Yellow
124              4   Black
125
126       -D level
127              Set Debug level [0].
128
129

EXAMPLES

131       Create a black and white HIPERC stream:
132
133              gs -q -dBATCH -dSAFER -dQUIET -dNOPAUSE
134                  -sPAPERSIZE=letter -r600x600 -sDEVICE=pbmraw
135                  -sOutputFile=- - < testpage.ps
136              | foo2hiperc -r600x600 -g5100x6600 -p0 >testpage.zm
137
138       Create a color HIPERC stream:
139
140              gs -q -dBATCH -dSAFER -dQUIET -dNOPAUSE
141                  -sPAPERSIZE=letter -g5100x6600 -r600x600 -sDEVICE=bitcmyk
142                  -sOutputFile=- - < testpage.ps
143              | foo2hiperc -r600x600 -g5100x6600 -p0 >testpage.zc
144
145

FILES

147       /usr/bin/foo2hiperc
148

SEE ALSO

150       foo2hiperc-wrapper(1), hipercdecode(1)
151

AUTHOR

153       Rick Richardson <rick.richardson@comcast.com>
154       http://foo2hiperc.rkkda.com/
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
Impressum