A794 Owner’s Guide

Chapter 6: Programming Information

Select Bar Code Height

Sets the bar code height to n dots or n/203 inch (n/8 mm).

ASCII

GS h n

Hexadecimal

1D 68 n

Decimal

29 104 n

Value of n

Number of dots

Range of n

1-255

Default

216

Print Bar Code

Selects the bar code type and prints a bar code for the ASCII characters entered. If the width of the bar code exceeds one line, the bar code is not printed.

There are two variations to this command. The first variation uses a NULL character to terminate the string; the second uses a length byte at the beginning of the string to compensate for the Code 128 bar code that can accept a NULL character as part of the data. With the second variation the length of byte is specified at the beginning of the string.

Bar codes can be aligned left, center, or right using the Align Positions command (1B 61).

The check digit is calculated for UPC and JAN (EAN) codes if it is not sent from the host computer. Six-character zero-suppressed UPC-E tags are generated from full 11 or 12 characters sent from the host computer according to standard UPC-E rules. Start/Stop characters are added for Code 39 if they are not included.

Rotated barcodes set with small modules ( select bar code width command 1D 77 n , with n=1 or 2) and PDF417 barcodes in any orientation are printed at low speed, for better readability.

 

First Variation

ASCII

GS k m d1…dk NUL

Hexadecimal

1D 6B m d1…dk NUL

Decimal

29 107 m d1 dk NUL

 

(0 = End of command)

Exceptions

 

Second Variation

GS k m n d1…dn 1D 6B m n d1…dn 29 107 m n d1…dn

The command is only valid at the beginning of a line.

Illegal data cancels the command.

March 1999

109

Page 115
Image 115
Epson A794-D100 manual Select Bar Code Height, Print Bar Code