HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

pbmupc — Generate a PBM image of a Universal Product Code (UPC). More information: <https://netpbm.sourceforg

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandpbmupccliimageproductuniversalpbmgenerate

Problem

How to use the pbmupc command: Generate a PBM image of a Universal Product Code (UPC). More information: <https://netpbm.sourceforge.net/doc/pbmupc.html>.

Solution

pbmupc — Generate a PBM image of a Universal Product Code (UPC). More information: <https://netpbm.sourceforge.net/doc/pbmupc.html>.

Generate a UPC image for the specified product type, manufacturer code, and product code:
pbmupc {{product_type}} {{manufacturer_code}} {{product_code}} > {{path/to/output.pbm}}


Use an alternative style that does not display the checksum:
pbmupc -s2 {{product_type}} {{manufacturer_code}} {{product_code}} > {{path/to/output.pbm}}

Code Snippets

Generate a UPC image for the specified product type, manufacturer code, and product code

pbmupc {{product_type}} {{manufacturer_code}} {{product_code}} > {{path/to/output.pbm}}

Use an alternative style that does not display the checksum

pbmupc -s2 {{product_type}} {{manufacturer_code}} {{product_code}} > {{path/to/output.pbm}}

Context

tldr-pages: common/pbmupc

Revisions (0)

No revisions yet.