PBMUPC(1)
π PBMUPC(1) β it's giving barcode, bestie π
okay so welcome to pbmupc, a little icon from the Pbmupc User Manual section of your friendly neighborhood General Commands Manual. she's part of the Netpbm fam and she makes Universal Product Code images, like the ones the scanner at the corner store beeps at. slay.
β¨ NAME β¨
pbmupc β create a Universal Product Code PBM image πβ¨
πΈ SYNOPSIS πΈ
pbmupc
[-s1 | -s2] type manufacturer product
π¦ DESCRIPTION π¦
This program is part of Netpbm(1). it's literally in the family π
pbmupc generates an image of a Universal Product Code symbol. the three arguments are, in order:
- a one digit product type π’
- a five digit manufacturer code π
- a five digit product code π
so for example, "0 72890 00011" is the code for Heineken. iconic. πΊ
pbmupc produces an image 230 bits wide and 175 bits high. if you want a different size, run the output through pamscale. resize her, she's flexible π
π OPTIONS π
on top of the options common to all programs based on libnetpbm (most notably -quiet, check out Common Options), pbmupc recognizes these:
the style picks π§
-s1β the default vibe. selects the style of UPC to generate, and it looks more or less like this:
||||||||||||||||
||||||||||||||||
||||||||||||||||
||||||||||||||||
0||12345||67890||5
-s2β the other style. selects the style of UPC to generate, puts the product type digit higher up, and doesn't display the checksum digit:
||||||||||||||||
||||||||||||||||
0||||||||||||||||
||||||||||||||||
||12345||67890||
ngl the difference is lowkey just where the digits sit and whether the checksum shows up. pick ur fighter π
π SEE ALSO π
pamscale(1) pbm(1)
π AUTHOR π
Copyright (C) 1989 by Jef Poskanzer. legend behavior, honestly π«Ά
π 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/pbmupc.html
and that's the whole page bestie π this was netpbm documentation, dated 29 April 2015, served fresh from the Pbmupc User Manual(1). go scan something. periodt. β¨π¦π
π¦ where this page comes from
- debian bookworm: netpbm 2:11.01.00-2 Β· MIT
- debian trixie: netpbm 2:11.10.02-1 Β· MIT
- ubuntu noble: netpbm 2:11.05.02-1.1build1 Β· MIT
- ubuntu resolute: netpbm 2:11.10.02-1build1 Β· MIT
- ubuntu stonking: netpbm 2:11.13.03+ds-2 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms