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

NAME

8       foo2hiperc-wrapper - Convert Postscript into a HIPERC printer stream
9

SYNOPSIS

11       foo2hiperc-wrapper [options] [ps-file]
12

DESCRIPTION

14       foo2hiperc-wrapper  is  a  Foomatic  compatible printer wrapper for the
15       foo2hiperc printer driver.  This script reads a Postscript  ps-file  or
16       standard  input  and  converts  it to the Oki HIPERC printer format for
17       driving the Oki C310dn, C3100, C3200, C3300n, C3400n,  C5100n,  C5500n,
18       C5600n and the C5800n HIPERC printers.
19
20       This  script can be used in a standalone fashion, but is intended to be
21       called from a printer spooler system which uses  the  Foomatic  printer
22       database.
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     Print in color (else monochrome).
31
32       -C colormode
33              Color correction mode [0].
34
35              10   ICM color profile (using -G *.icm file)
36
37       -d duplex
38              Duplex code to send to printer [1].
39              │        │               │
40              │1   off │ 2   long edge │ 3   short edge
41
42       -m media
43              Media code to send to printer [0].
44
45              ──────────────────────────
46              Media          HIPERC
47              ──────────────────────────
48              plain            0
49              labels           1
50              transparency     2
51
52       -p paper
53              Paper size code to send to printer [2].
54
55              ┌─────────────┬─────────────────────┐
56              │ 1   A4      │  2   letter         │
57              │ 3   legal   │ -    -              │
58              │ 5   A5      │  6   B5jis          │
59              │ 7   A6      │  8   env Monarch    │
60              │ 9   env DL  │ 10   env C5         │
61              │11   env #10 │ 12   executive      │
62              │13   env #9  │ 14   legal 13.5"    │
63              │15   A3      │ 16   tabloid/ledger │
64              └─────────────┴─────────────────────┘
65       -n copies
66              Number of copies [1].
67
68       -r xresxyres
69              Set device resolution in pixels/inch [600x600].
70
71       -s source
72              Source (Input Slot) code to send to printer [0].
73              │                │
74              │0   auto select │
75              │1   tray1       │ 2   tray2
76              │3   multi       │ 4   manual
77
78       -t     Draft mode.  Every other pixel is white.
79
80       -2 -3 -4 -5 -6 -8 -9 -10 -12 -14 -15 -16 -18
81              Print in N-up.  Requires the psutils package.
82
83       -o orient
84              Orientation used for N-up.
85
86              Portrait    -op   (normal)
87              Landscape   -ol   (rotated 90 degrees anticlockwise)
88              Seascape    -os   (rotated 90 degrees clockwise)
89
90   Printer Tweaking Options
91       These are the options used to customize the operation of foo2hiperc for
92       a particular printer.
93
94       -u xoffxyoff
95              Set the offset of the start of the printable region from the up‐
96              per left corner, in pixels [varies with paper size].
97
98       -l xoffxyoff
99              Set the offset of the end of the printable region from the lower
100              right corner, in pixels [varies with paper size].
101
102       -L mask
103              Send  the  logical  clipping  values  from  -u/-l  in the HIPERC
104              stream.  foo2hiperc-wrapper always  runs  Ghostscript  with  the
105              ideal  page  dimensions,  so that the scale of the image is cor‐
106              rect, regardless whether or not the printer has unprintable  re‐
107              gions.   This option is used to move the position of the clipped
108              image back to where it belongs on the page.  The default  is  to
109              send  the  amount  which was clipped by -u and -l, and should be
110              good in most cases.
111
112              0   don't send any logical clipping amounts
113              1   only send Y clipping amount
114              2   only send X clipping amount
115              3   send both X and Y clipping amounts
116
117       -z model
118              Model  is   0   for   non-A3   sized   printers,   and   1   for
119              A3/Tabloid/Ledger sized printers (i.e. C810, etc.).  The default
120              is 0.
121
122       -Z compressed
123              Use uncompressed (0) or compressed (1) JBIG data.
124
125   Color Tweaking Options
126       These are the options used to control  the  quality  of  color  output.
127       Color correction is currently a WORK IN PROGRESS.
128
129       -g gsopts
130              Additional   options   to   pass   to   Ghostscript,   such   as
131              -g“-dDITHERPPI=nnn”, etc.  This  option  may  appear  more  than
132              once.
133
134       -G profile.icm
135              Convert  profile.icm  to a Postscript color rendering dictionary
136              (CRD) using icc2ps and adjust the printer colors  by  using  the
137              Postscript setcolorrendering operator.  (WORK IN PROGRESS).
138
139       -G gamma-file.ps
140              Prepend  gamma-file.ps  to the Postscript input to perform color
141              correction using the setcolortransfer Postscript operator.   For
142              example, the file might contain:
143              {0.333 exp} {0.333 exp} {0.333 exp} {0.333 exp} setcolortransfer
144
145       -I intent
146              Select  profile  intent from the ICM file.  0=Perceptual, 1=Col‐
147              orimetric, 2=Saturation, 3=Absolute.  Default is 0 (perceptual).
148
149   Debugging Options
150       These options are used for debugging foo2hiperc and its wrapper.
151
152       -S plane
153              Output just a single color plane from a color print and print it
154              on the black plane.  The default is to output all color planes.
155
156              1   Cyan
157              2   Magenta
158              3   Yellow
159              4   Black
160
161       -D level
162              Set Debug level [0].
163
164

EXAMPLES

166       Create  a  monochrome HIPERC stream from a Postscript document, examine
167       it, and then print it using nc(1) or netcat(1):
168
169              foo2hiperc-wrapper testpage.ps > testpage.hc
170              hipercdecode < testpage.hc
171              nc 192.168.1.NNN 9100 < testpage.hc
172
173       Create a color HIPERC stream from a Postscript document:
174
175              foo2hiperc-wrapper -c testpage.ps > testpage.hc
176
177

FILES

179       /usr/bin/foo2hiperc-wrapper
180

SEE ALSO

182       foo2hiperc(1), hipercdecode(1)
183

AUTHOR

185       Rick Richardson <rick.richardson@comcast.net>
186       http://foo2hiperc.rkkda.com/
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
Impressum