From 368fc24cce9647e1f97cc1265845239670d5da13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20D=C3=BCpmeier?= Date: Mon, 12 Jan 2015 16:29:08 +0100 Subject: [PATCH] Update README.md adding documentation --- README.md | 28 +++++++++++++++++++++++----- 1 file changed, 23 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 7d3d689..80cf070 100644 --- a/README.md +++ b/README.md @@ -15,12 +15,30 @@ make install # usage ``` --d, --debug sets the debug level (ERROR = 0; WARNING = 1; DEBUG = 2; INFO = 3). --b, --bar character that represents the bars. --s, --space character that represents the spaces. --w, --width width that represents an element --h, --help show this usage. +-c, --checksum adds the checksum to the barcode. +-e, --encoding sets the encoding for the barcode. See encodings for valid ones. +-d, --debug sets the debug level (ERROR = 0; WARNING = 1; DEBUG = 2; INFO = 3). +-b, --bar character that represents the bars. +-s, --space character that represents the spaces. +-w, --width width that represents an element +-h, --help show this usage. ``` +# encodings + +Valid encodings are: +* 39 - code39 +* ean - european article number +* upc - upc == 12-digit ean +* isbn - isbn numbers (still EAN13) +* 128 - code128 (a,b,c: autoselection) +* 128c - code128 (compact form for digets) +* 128b - code128, full printable ascii +* i25 - interleaved 2 of 5 (only digits) +* 128raw - raw code 128 (by Leonid A. Broukhis) +* cbr - Codebar (by Leonid A. Broukhis) +* msi - MSI (by Leonid A. Broukhis) +* pls - Plessey (by Leonid A. Broukhis) +* 93 - code93 (by Nathan D. Holmes) # examples