Epson 4100 Printer User Manual


 
Operator's Guide E-9
BARCODE FORMAT COMMAND EXAMPLE
The example below shows the barcode format command for a
3
/
4
-in. high
UPC-E barcode symbol with no human readable line. Default values are
used for narrow and wide bar and space widths. The last parameter,
intercharacter gap, does not affect UPC-E barcode symbols but must be
sent with the other parameters. The command could be sent with the
following program:
LPRINT CHR$(1);"AzM";CHR$(14);CHR$(0);CHR$(0);
LPRINT CHR$(1);CHR$(3);CHR$(1);CHR$(3);CHR$(1);
START BARCODE COMMAND
All data sent to the printer following the Start Barcode command are
printed as barcode symbols. The sole exception is the End Barcode
command.
Either of two versions of the Start Barcode command can be used:
ASCII
:SOH A z L 1
Control:
CTRL
AA z L 1
Decimal:
1 65 122 76 49
Hexadecimal:
01 41 7A 4C 31
or
ASCII:
SOH A z L 2
Control:
CTRL
AA z L 2
Decimal:
1 65 122 76 50
Hexadecimal:
01 41 7A 4C 32
Note
: The "1" and "2" in the Start Barcode command can be entered
either as the character 1 or 2 (as shown) or as the decimal value 1
or 2.