Bar Code Command - Cashinotech CSN-A2 User Manual

Micro panel thermal printer
Table of Contents

Advertisement

CSN-A2 Micro panel thermal printer
5.2.
5.2.8 8 8 8 Bar
Bar
Code
Command
5.2.
5.2.
Bar Code
Bar
Code
Code Command
Command
Command
GS
GS
GS H H H H n n n n
GS
Select printing position of human readable characters
Format:
Description:
0 ≤ n ≤3
48 ≤ n ≤51
This command selects the printing position for human readable
characters when printing a bar code. The default is n=0. Human
readable characters are printed using the font specified by GS fn.
Select the printing position as follows:
n
0,48: not print HRI
1,49: Above the bar code
2,50: Below the bar code
3,51:Both Above and below the bar code
GS
GS
GS h h h h n n n n
GS
Set bar code height
Format:
Description:
This command selects the height of a bar code. n specifies the
number of dots in the vertical direction. The default value is 50
1 ≤ n ≤ 255
GS
GS x x x x n n n n
GS
GS
Set bar code printing left space
Format:
Description:
The print bar code staring positions is: 0(255
GS
GS
GS w w w w n n n n
GS
Set bar code width
Format:
Description:
This command selects the horizontal size of a bar code.
n = 2,3
The default value is 3
GS
GS k k k k m m m m d1
d1
d2
d2 ... ... ... ... dk
dk
GS
GS
d1
d1 d2
d2
dk NUL
dk
GS
GS k k k k m m m m n n n n d1
d1
d2
d2 ... ... ... ... dn
GS
GS
d1
d1 d2
d2
Format1:
ASCII: GS H n
Decimal: 29 72 n
Hexadecimal: 1D 48 n
Printing Position
ASCII: GS h
Decimal: 29 104 n
Hexadecimal: 1D 68 n
ASCII: GS x
Decimal: 29 120 n
Hexadecimal: 1D 78 n
ASCII: GS w
Decimal: 29 119 n
Hexadecimal: 1D 77 n
NUL
NUL
NUL
Print bar code
dn
dn
dn
ASCII: GS k
Decimal: 29 107 m
n
n
n
m
d1 d2 ... dk NUL
d1 d2 ... dk 0
21/26

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents