Gs K Print Bar Code - Fenix EPC1200 Operation Manual

If1200 interface and ptr2 stand-alone printer
Table of Contents

Advertisement

GS k m n d1...dn
[Name]
Print bar code
[Format]
ASCII
Hex
Decimal
[Range]
m= 67, m = 69, m= 70 or m= 73
(n and d depend on the bar code system used).
[Description]
Selects a bar code system and prints the bar code.
m selects a bar code system as follows:
m
Bar Code System Number of Characters Remarks
67
EAN13
69
CODE39
70
ITF
73
CODE128
[Notes]
• n indicates the number of bar code data bytes, and the printer processes n bytes
from the next character data as bar code data.
• If n is outside the specified range, the printer stops command processing and
processes the following data as normal data.
• If d is outside the specified range, the printer only feeds paper and processes the
following data as normal data.
• If the horizontal size exceeds printing area, the printer only feeds the paper.
• This command feeds as much paper as is required to print the bar code,
regardless of the line spacing specified by ESC 2 or ESC 3.
• This command is enabled only when no data exists in the print buffer. When data
exists in the print buffer, the printer processes the data following m as normal data.
• After printing the bar code, this command sets the print position to the beginning of
the line.
• This command is not affected by print modes.
• The number of data for the ITF bar code must be even numbers. When an odd
number of bytes of data is input, the printer ignores the last received data.
• When Code128 (m=49h) is used:
[Example]
GS
k
m
1D
6B
m
29
107
m
n = 12
1 ≤ n ≤ 255
1 ≤ n ≤ 255
(even number)
2 ≤ n ≤ 255
1. Refer to APPENDIX E – CODE 128 BAR CODE for the information for the
Code128 bar code and its code table.
2. When using Code128 in this printer, take the following points into account
for data transmission:
The top of the bar code data string must be the code set selection
character (CODE A, CODE B or CODE C), which selects the first
code set.
Special characters are defined by combining two characters "{" and
one character. The ASCII character "{" is defined by transmitting "{"
twice consecutively.
Specific character
SHIFT
CODE A
CODE B
CODE C
FNC1
FNC2
FNC3
FNC4
"{"
Example data for printing "Ref. 258710"
EPC1200 SERIES OPERATION MANUAL
n
d1...dn
n
d1...dn
n
d1...dn
48 ≤ d ≤ 57
48 ≤ d ≤ 57, 65 ≤ d ≤ 90, 32, 36,
37, 43, 45, 46, 47
48 ≤ d ≤ 57
0 ≤ d ≤ 127
Transmit data
ASCII
Hex
Decimal
{S
7B, 53
123, 83
{A
7B, 41
123, 65
{B
7B, 42
123, 66
{C
7B, 43
123,67
{1
7B, 31
123, 49
{2
7B,32
123, 50
{3
7B, 33
123,51
{4
7B,34
123, 52
{{
7B, 7B
123, 123
38/56

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the EPC1200 and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents