Epson 4100 Printer User Manual


 
Operator's Guide E-19
EXAMPLES
EXAMPLE 1
This example shows a BASIC program to format and print three 3/4-in.
high Interleaved 2 of 5 barcode symbols. The human readable line is on,
and default values are used for bar and space widths. Two of the
barcode symbols encode the characters "1988", and the third barcode
symbol encodes the characters "123456789123456789".
REM FORMAT INTERLEAVED 2 OF 5 BARCODE SYMBOLS
LPRINT CHR$(1);"AzM";CHR$(0);CHR$(0);CHR$(1);
LPRINT CHR$(1);CHR$(3);CHR$(1);CHR$(3);CHR$(1);
REM START BARCODE
LPRINT CHR$(1);"AzL1";
REM PRINT TWO BARCODE SYMBOLS ENCODING
REM CHARACTERS "1988"
REM ADVANCE PAPER, THEN PRINT
REM ONE BARCODE SYMBOL ENCODING CHARACTERS
REM "123456789123456789"
LPRINT "1988,1988";CHR$(13);
LPRINT "123456789123456789";CHR$(13);
REM END BARCODE
LPRINT CHR$(1);"AzLØ";
JB0-BI