Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

eancheck(1) [debian man page]

Eancheck(1)						      General Commands Manual						       Eancheck(1)

NAME
eancheck - check digit validator for EAN, PLU and UPC barcode numbers SYNOPSIS
eancheck [EAN code, PLU code or UPC prefixed with 0] DESCRIPTION
eancheck takes a 13 digit EAN (European Article Number, aka a barcode number) or a 4 digit PLU code and runs some simple maths upon it to discover the "check digit". It then compares this against the last number of the inputted EAN to check whether that code; if they match, then the EAN/PLU is valid. If they do not, then the opposite applies. BUGS
Right now UPC codes need to be prefixed with a zero (i.e turned into EAN codes) to be properly checked. MAINTAINER
Joe Baldwin <joe@joe-baldwin.net> Eancheck(1)

Check Out this Related Man Page

pbmupc(1)                                                     General Commands Manual                                                    pbmupc(1)

NAME
pbmupc - create a Universal Product Code bitmap SYNOPSIS
pbmupc [-s1|-s2] type manufac product DESCRIPTION
Generates a Universal Product Code symbol. The three arguments are: a one digit product type, a five digit manufacturer code, and a five digit product code. For example, "0 72890 00011" is the code for Heineken. As presently configured, pbmupc produces a bitmap 230 bits wide and 175 bits high. The size can be altered by changing the defines at the beginning of the program, or by running the output through pnmenlarge or pnmscale. OPTIONS
The -s1 and -s2 flags select the style of UPC to generate. The default, -s1, looks more or less like this: |||||||||||||||| |||||||||||||||| |||||||||||||||| |||||||||||||||| 0||12345||67890||5 The other style, -s2, puts the product type digit higher up, and doesn't display the checksum digit: |||||||||||||||| |||||||||||||||| 0|||||||||||||||| |||||||||||||||| ||12345||67890|| SEE ALSO
pbm(5) AUTHOR
Copyright (C) 1989 by Jef Poskanzer. 14 March 1989 pbmupc(1)
Man Page