foo2hiperc(1)
β¨ foo2hiperc β the glow-up β¨
okay bestie, so this whole page is foo2hiperc(1) from the General Commands Manual β a real one, section 1, a whole command, and she is so useful. sit down, grab a strawberry π, and let's get into it.
π NAME π
foo2hiperc β the girl who takes Ghostscript pbmraw or bitcmyk format and turns it into a HIPERC printer stream. literally a translator but make it fashion π
π¦ SYNOPSIS π¦
three ways to run her, all iconic, all piping into your hiperc-file:
foo2hiperc [options] <pbmraw-file >hiperc-file
foo2hiperc [options] <bitcmyk-file >hiperc-file
foo2hiperc [options] <pksmraw-file >hiperc-file
πΈ DESCRIPTION πΈ
foo2hiperc converts Ghostscript pbmraw, bitcmyk, or pksmraw output formats into monochrome or color HIPERC streams. and what is she driving with all that? she's feeding the Oki C310dn, C3100, C3200, C3300n, C3400n, C5100n, C5500n, C5600n, and the C5800n HIPERC printers. yes, that many. she's booked and busy π
β COMMAND LINE OPTIONS β
π Normal Options
these are the ones you'll be picking out per print job β the everyday slay, the fit you wear to every occasion. usually controlled on a per job basis, periodt.
-cβ Force color mode. only reach for this when autodetect doesn't work and you're like excuse me? π-dduplex β the Duplex code to send to printer [1]. the lineup:1β off2β long edge3β short edge
-gxpixxypix β Set page dimensions in pixels [5100x6600].-mmedia β Media code to send to printer [0]. the menu:plainβ0labelsβ1transparencyβ2
-ppaper β Paper code to send to printer [2]. the whole roster, no gatekeeping:1β A42β letter3β legal-β-5β A56β B5jis7β A68β env Monarch9β env DL10β env C511β env #1012β executive13β env #914β legal 13.5"15β A316β tabloid/ledger
-ncopies β Number of copies [1]. one is a choice, but she supports more.-rxresxyres β Set device resolution in pixels/inch [600x600].-ssource β the Source (InputSlot) code to send to printer [0]:0β auto select1β tray12β tray23β multi4β manual
-tβ Draft mode. Every other pixel is white. she's giving "we have ink at home" energy π-Jfilename β Filename string to send to printer.-Uusername β Username string to send to printer.
π§ Printer Tweaking Options
these are the ones for customizing how foo2hiperc operates for a particular printer β the bespoke tailoring, the alterations, iykyk.
-uxoffxyoff β Set the offset of the start of the printable region from the upper left corner, in pixels [0x0].-lxoffxyoff β Set the offset of the end of the printable region from the lower right corner, in pixels [0x0].-Lmask β Send logical clipping amounts implied by-u/-lin the HIPERC stream [3]. your choices, choose wisely:0β don't send any logical clipping amounts1β only send Y clipping amount2β only send X clipping amount3β send both X and Y clipping amounts
-Aβ AllIsBlack: convertC=1,M=1,Y=1to justK=1. Works withbitcmykinput only. (so don't try it elsewhere, she will simply not.)-Bβ BlackClears:K=1forcesC,M,Yto0. Works withbitcmykinput only. same rule, bestie.-Zcompressed β Use uncompressed (0) or compressed (1) JBIG data.
π Debugging Options
for when you're debugging foo2hiperc and you need to see the receipts π
-Splane β Output just a single color plane from a color print and print it on the black plane. the default is to output all color planes.1β Cyan2β Magenta3β Yellow4β Black
-Dlevel β Set Debug level [0].
π₯ EXAMPLES π₯
create a black and white HIPERC stream
gs -q -dBATCH -dSAFER -dQUIET -dNOPAUSE
-sPAPERSIZE=letter -r600x600 -sDEVICE=pbmraw
-sOutputFile=- - < testpage.ps
| foo2hiperc -r600x600 -g5100x6600 -p0 >testpage.zm
create a color HIPERC stream
gs -q -dBATCH -dSAFER -dQUIET -dNOPAUSE
-sPAPERSIZE=letter -g5100x6600 -r600x600 -sDEVICE=bitcmyk
-sOutputFile=- - < testpage.ps
| foo2hiperc -r600x600 -g5100x6600 -p0 >testpage.zc
π«Ά FILES π«Ά
/usr/bin/foo2hipercβ yeah, that's her. that's the whole file list. she's low maintenance π
π SEE ALSO π
π AUTHOR π
Rick Richardson <rick.richardson@comcast.com> http://foo2hiperc.rkkda.com/
ok and that's the whole page, no cap. every option, every default, every code, every single one β nothing skipped, bestie. π
and yeah, one last thing: this whole thing is foo2hiperc(1) straight out of the General Commands Manual β that's the source, that's the section, that's the vibe. now go print something iconic β¨π¦π
π¦ where this page comes from
- ubuntu noble: printer-driver-foo2zjs-common 20200505dfsg0-2ubuntu6 Β· GPL-2.0-or-later
- ubuntu questing: printer-driver-foo2zjs-common 20200505dfsg0-2ubuntu6
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms