PBMUPC(1)

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

πŸ’– 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:

  1. a one digit product type πŸ”’
  2. a five digit manufacturer code 🏭
  3. 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