PBM2PPA(1)
πΈ pbm2ppa β the manual, but make it make sense π
okay bestie, this is the manual page for pbm2ppa, section 1, and it's giving "ancient but iconic." she's been around since 5 Feb 2000 and she has one job. let's get into it π«Ά
β¨ NAME β¨
pbm2ppa β convert portable bitmap (PBM) to HP's Printing Performance Architecture (PPA) file format
like. the name literally tells you. PBM in, PPA out. slay. π
β¨ SYNOPSIS β¨
pbm2ppa [options] [ <infile] > [ <outfile]> ] ]
yes the brackets are unhinged, no we are not touching them, they're part of the lore. π
β¨ DESCRIPTION β¨
So here's the vibe: this little icon reads portable bitmap (PBM) format as input, and spits out a stream that Hewlett-Packard's range of Printing Performance Architecture (PPA) printers can actually digest. she's not picky about company β pnm2ppa supports the HP 710c, 712c, 720c, 722c, 820c, and 1000c series printers. periodt. π
Little side quest for you: if you need PBM output and all you have is PostScript(tm) input, the GhostScript driver pbmraw is your girl. she'll hand you the PBM. π
β¨ OPTIONS β¨
okay this is the part everyone scrolls to. buckle up, there's a lot of them, and they're all lowkey useful.
infileβ the input file. it's either a path to a file or a device, or-to mean stdin. if you don't say anything, it defaults to stdin. shy queen. πoutfileβ the output file. either a path to a file or a device, or-to mean stdout. defaults to stdout. main character energy, honestly. β¨-bbottommargin β sets the bottom margin bottommargin in units of 1/600 inches. so like,-b 150= 0.25". math is math bestie π-dβ displays the current configuration. a little mirror moment. πͺ-fconfigfile β overrides reading the configuration from/etc/pnm2ppa.confand uses configfile instead. "not that file, this file." π-hβ displays program usage. she's helping! π«Ά-lleftmargin β sets the left margin leftmargin in units of 1/600 inches (e.g.-l 150= 0.25"). lefties rise up πΈ-rrightmargin β sets the right margin rightmargin in units of 1/600 inches (e.g.-r 150= 0.25"). and the right side said "me too" π-spapersize β sets the paper size. possible values for papersize area4(A4),letterorus(US Letter, 8.5"x11"), andlegal(US Legal, 8.5"x14"). the default is US Letter. ποΈ-ttopmargin β sets the top margin topmargin in units of 1/600 inches (ie-t 150= 0.25"). yes it says "ie" here, not "e.g." β we are quoting her exactly, no cap. β-vprintertype β selects the printer model. possible values of printertype are:710,712,720,722,820and1000. the default is the HP DeskJet 7X0 Series (710, 712, 720, 722). pick your fighter π-xxoffset β sets the x-offset xoffset from the left of the page. units are 1/600 inches. β‘οΈ-yyoffset β sets the y-offset yoffset from the top of the page. units are 1/600 inches. β¬οΈ
β¨ NOTES β¨
two things, and they MATTER, so listen up:
- the configuration file gets read in first. then command line arguments modify the resulting definitions. order of operations, babes. π
- the
-xand-yoptions accumulate. but the-voption resets all definitions back to an inbuilt default for that printer, so you should use it before your subsequent-b,-l,-r,-t,-x, and-yarguments.
lowkey this is the number one way to mess yourself up. -v is a reset button. put it first or she'll undo all your cute little margins. π
β¨ SEE ALSO β¨
go read her too, she's the origin story π¦
β¨ FILES β¨
/etc/pbm2ppa.confβ Default configuration file. that's the one-fis gonna override, iykyk π
β¨ AUTHOR β¨
This code is licensed under the GNU Public License version 2. See LICENSE for details.
(c) 1998 Tim Norman
give her her flowers π
β¨ HISTORY β¨
This program was written by Tim Norman. It originally supported black and white output on the 820 series.
and here's the sad part: this program is almost obsolete. its successor pnm2ppa will support color printing. so like, she's the prequel. respect the prequel. ππ
β¨ BUGS β¨
This is a stable driver, but it does not support color printing. that's the whole bug report. black and white only, bestie, she's doing her best π€π€
and that's the whole page!! you made it, I'm so proud of you ππ
signing off β this was pnm2ppa, dated 5 Feb 2000, and she's still out here converting bitmaps like the legend she is. no cap. periodt. π
β¨
π¦ where this page comes from
- centos-stream 10: pnm2ppa 1:1.13-6.el10 Β· GPL-2.0-or-later
- centos-stream 9: pnm2ppa 1:1.04-52.el9 Β· GPLv2+
- fedora 43: pnm2ppa 1:1.13-7.fc43 Β· GPL-2.0-or-later
- fedora 44: pnm2ppa 1:1.13-8.fc44 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms