PBMTOEPSON(1)

πŸ“¦
version 11.13.03 Β· 5 versions
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– Pbmtoepson User Manual(1) πŸ’–

okay bestie, welcome to the pbmtoepson User Manual, straight out of the General Commands Manual section. she's niche, she's retro, she's giving 1991 printer energy and honestly? obsessed. πŸŽ€


✨ NAME ✨

pbmtoepson β€” convert a PBM image into Epson printer graphics


✨ SYNOPSIS ✨

pbmtoepson

[-dpi=n] [-protocol={escp9|escp}] [-adjacent] [-nonadjacent]

[pbmfile]

✨ DESCRIPTION ✨

so this program is part of Netpbm(1), okay? she's in the family. πŸ’…

pbmtoepson reads a PBM image as input and produces a stream of Epson printer graphics as output. that's the whole gig. she eats PBM and serves printer graphics, no cap.

the input comes from the file identified by the pbmfile argument, or β€” if you don't specify pbmfile β€” from Standard Input. output goes to Standard Output. classic stdin/stdout pipeline behavior, we love a flexible queen. 🫢

the output is for traditional (ca 1991) Epson 9-wire dot matrix printers β€” sometimes called ESC/P 9-wire β€” or newer ESC/P printers. so like, old school but not that old school. for a more modern Epson ESC/P2 type printer, try pbmtoescp2 instead. she's the glow-up version, bestie. ✨

quick history moment: before Netpbm 10.23 (July 2004), pbmtoepson could not produce ESC/P streams β€” only ESC/P 9-wire. so if you needed ESC/P back then, not me crying about it, it just wasn't happening. 😭

the Epson printer protocols are described in Epson's protocol specification. if you wanna know the deep lore, that's where it lives. πŸ“š

⚠️ important: there is no epsontopbm tool. this transformation is one way. no reverse, no round trip, no take-backs. it's giving one-way street and she will NOT be turning around. πŸ’€

🌸 OPTIONS 🌸

in addition to the options common to all programs based on libnetpbm β€” most notably -quiet, see Common Options β€” pbmtoepson recognizes the following command line options:

  • -protocol={escp9|escp} β€” this determines which Epson printer protocol the output uses. escp9 is the older ESC/P 9-pin protocol. escp is the newer ESC/P protocol. for the even newer ESC/P2 protocol, you have to use pbmtoescp2 instead, bestie, this one can't help you there. this option was new in Netpbm 10.23 (July 2004). πŸ‘‘
  • -dpi=n β€” this specifies the horizontal print density in dots per inch. the protocol allows only certain values: 60, 72, 80, 90, 120, 144, and 240. so like, pick one of those or she's gonna have opinions. actually, the ESC/P protocol allows a few others, but pbmtoepson doesn't know how to generate the command streams that use them. she simply doesn't have that skill unlocked. πŸ™ˆ if you don't specify this, pbmtoepson chooses a horizontal print density for you consistent with your other options. this option was new in Netpbm 10.23 (July 2004).
  • -adjacent β€” the "yes pls" of adjacent dot printing.
  • -nonadjacent β€” these options determine whether the output uses "adjacent dot printing" or not, whatever that is. for real, that's the actual description, we're all just vibing with it. πŸ¦‹ if you don't specify this, pbmtoepson selects adjacent dot printing unless that is incompatible with your other options. this option was new in Netpbm 10.23 (July 2004).

⭐ SEE ALSO ⭐

pbmtoescp2(1), pbm(1),


πŸ’œ AUTHOR πŸ’œ

Copyright (C) 1991 by John Tiller (tiller@galois.msfc.nasa.gov) and Jef Poskanzer.


πŸŽ€ DOCUMENT SOURCE πŸŽ€

this manual page was generated by the Netpbm tool makeman from HTML source. the master documentation is at

http://netpbm.sourceforge.net/doc/pbmtoepson.html

and that's the whole page bestie, tysm for reading πŸ’– she's from netpbm documentation, dated 08 August 2003, and this was the Pbmtoepson User Manual(1) β€” periodt. πŸŒˆπŸ‘‘

πŸ“¦ where this page comes from