texmf-dist/doc/generic/upca/test-upca.tex
raw| 1 | \input upca % inputing macros to the document |
| 2 | |
| 3 | \module=0.5mm % setting module width (width of single bar or space) of the code; default 0.33mm |
| 4 | |
| 5 | \height=50mm % setting height of the code; default 25.9mm |
| 6 | |
| 7 | \upca{03600029145} % produces UPC-A barcode, the check digit will be calculated |
| 8 | |
| 9 | \upca{036000291454} % produces the same code, the check digit is not controled |
| 10 | |
| 11 | \end |