ASCII
Hexadecimal
Comments:
The print bar code command selects a bar code, formats the data and prints the bar code
according to the variables m, n and d. The type of bar code is defined by "m" and valid
values are displayed in the table below.
n is the number of digits, used in mode 2 only
d1..dk is the string of characters to be printed as the bar code.
* All of these bar code types use the last character as a checksum of. For example, the UPC-A bar
code needs 11 characters: the 12
12
character doesn't correspond to the checksum of the 11 first characters, you cannot read the
th
bar code print out.
** Beginning and finishing characters are necessary: 2A ... ... ... ... 2A.
This command will always set the print position to that specified by the ESC $ (print position) command.
Certain error conditions result in data being ignored and nothing being printed, these conditions are:
- Invalid bar code type
- Invalid characters (d) in bar code
- Too many/few characters sent (UPC and EAN bar codes)
- Number of characters sent is not equal to m
- Bar code is wider than paper
ASCII
Hexadecimal
Comments:
This command selects magnification (horizontal size) of the bar code.
The range is 1 ≤ n ≤ 5.
The default value is n = 3.
Note that if the bar code is too longer, no printing.
A630/A631/A632 Printer Series User Manual
5.3.9.1.4
P
RINT BAR CODE
First Variation
GS k m d1...dk NUL
1D 6B m d1...dk NUL
m
Bar code types
0
UPC-A
1
UPC-E
2
EAN13
3
EAN8
4
CODE39
5
ITF
6
NOT ASSIGNED
7
CODE128
is calculated automatically. If you enter 12 characters and if the
th
5.3.9.1.5
S
ET BAR CODE MAGNIFICATION
GS w n
1D 77 n
Page 51 / 63
Second Variation
GS k m n d1...dn
1D 6B m n d1...dn
Mode
*
1
*
1
*
1
*
1
**
1
1
1
2
Reference: FDE 3106894 Issue F
Need help?
Do you have a question about the A630 and is the answer not in the manual?