summaryrefslogtreecommitdiff
path: root/macros/generic/upca/test-upca.tex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/generic/upca/test-upca.tex
Initial commit
Diffstat (limited to 'macros/generic/upca/test-upca.tex')
-rw-r--r--macros/generic/upca/test-upca.tex11
1 files changed, 11 insertions, 0 deletions
diff --git a/macros/generic/upca/test-upca.tex b/macros/generic/upca/test-upca.tex
new file mode 100644
index 0000000000..4041b9a821
--- /dev/null
+++ b/macros/generic/upca/test-upca.tex
@@ -0,0 +1,11 @@
+\input upca % inputing macros to the document
+
+\module=0.5mm % setting module width (width of single bar or space) of the code; default 0.33mm
+
+\height=50mm % setting height of the code; default 25.9mm
+
+\upca{03600029145} % produces UPC-A barcode, the check digit will be calculated
+
+\upca{036000291454} % produces the same code, the check digit is not controled
+
+\end \ No newline at end of file