logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

foo2hiperc-wrapper - Convert Postscript into a HIPERC printer stream

Author

Command Line Options

NormalOptions
       These  are  the options used to select the parameters of a print job that are usually controlled on a per
       job basis.

       -c     Print in color (else monochrome).

       -Ccolormode
              Color correction mode [0].
              10   ICM color profile (using -G *.icm file)

       -dduplex
              Duplex code to send to printer [1].
              │         │               │
              │ 1   off │ 2   long edge │ 3   short edge

       -mmedia
              Media code to send to printer [0].
              ──────────────────────────
              Media          HIPERC
              ──────────────────────────
              plain            0
              labels           1
              transparency     2

       -ppaper
              Paper size code to send to printer [2].
              ┌──────────────┬─────────────────────┐
              │  1   A4      │  2   letter         │
              │  3   legal   │ -    -              │
              │  5   A5      │  6   B5jis          │
              │  7   A6      │  8   env Monarch    │
              │  9   env DL  │ 10   env C5         │
              │ 11   env #10 │ 12   executive      │
              │ 13   env #9  │ 14   legal 13.5"    │
              │ 15   A3      │ 16   tabloid/ledger │
              └──────────────┴─────────────────────┘

       -ncopies
              Number of copies [1].

       -rxresxyres
              Set device resolution in pixels/inch [600x600].

       -ssource
              Source (Input Slot) code to send to printer [0].

                0   auto select
                1   tray1         2   tray2
              │ 3   multi       │ 4   manual
              │                 │
--

Description

foo2hiperc-wrapper  is  a  Foomatic  compatible  printer wrapper for the foo2hiperc printer driver.  This
       script reads a Postscript ps-file or standard input and converts it to the Oki HIPERC printer format  for
       driving  the  Oki  C310dn,  C3100,  C3200,  C3300n,  C3400n, C5100n, C5500n, C5600n and the C5800n HIPERC
       printers.

       This script can be used in a standalone fashion, but is intended to be  called  from  a  printer  spooler
       system which uses the Foomatic printer database.

Examples

       Create  a  monochrome HIPERC stream from a Postscript document, examine it, and then print it using nc(1)
       or netcat(1):

              foo2hiperc-wrapper testpage.ps > testpage.hc
              hipercdecode < testpage.hc
              nc 192.168.1.NNN 9100 < testpage.hc

       Create a color HIPERC stream from a Postscript document:

              foo2hiperc-wrapper -c testpage.ps > testpage.hc

Files

/usr/bin/foo2hiperc-wrapper

Name

       foo2hiperc-wrapper - Convert Postscript into a HIPERC printer stream

See Also

foo2hiperc(1), hipercdecode(1)

Synopsis

foo2hiperc-wrapper [options] [ps-file]

See Also