Samsung STP-103PG User Manual - Page 24

GS f n, GS h n

Page 24 highlights

GS f n [Name] [Format] [Range] [Description] Select font for Human Readable interpretation (HRI) characters. ASCII GS f n Hex 1D 66 n Decimal 29 102 n n = 0, 1, 48, 49 Selects a font for the HRI characters used when printing a bar code. n selects a font from the following table: n Font 0,48 Font A (12 * 24) 1,49 Font B (9 * 24) GS h n [Name] [Format] [Range] [Description] [Default] Set bar code height ASCII GS h n Hex 1D 68 n Decimal 29 104 n 1 ≤n ≤255 Sets the height of the bar code. n specifies the number of dots in the vertical direction. n = 162 ① GS k m d1...dk NUL ② GS k m n d1...dn [Name] [Format] [Range] Print bar code ① ASCII Hex Decimal ② ASCII Hex Decimal ① 0 ≤m ≤6 ② 65 ≤m ≤73 GS k 1D 6B 29 107 GS k 1D 6B 29 107 m d1...dk NUL m d1...dk 00 m d1...dk 0 m n d1...dn m n d1...dn m n d1...dn (k and d depends on the bar code system used) (n and d depends on the bar code system used) [Description] Selects a bar code system and prints the bar code. M selects a bar bode system as follows: m 0 1 2 3 ① 4 5 6 Bar Code System UPC-A JAN 13(EAN) JAN8(EAN) CODE39 ITF CODABAR Number of Characters Remarks 11≤k≤12 48≤d≤57 12≤k≤13 7≤k≤8 1≤k 1≤k (even number) 1≤k 48≤d≤57 48≤d≤57 48≤d≤57,65≤d≤90,32, 36,37,43,45,46,47 48≤d≤57 48≤d≤57,65≤d1≤68, 36,43,45,46,47,58 46 m 65 66 67 68 Bar Code System UPC-A JAN13(EAN) JAN8(EAN) 69 CODE39 ② 70 ITF 71 CODABAR 72 CODE93 73 CODE128 Number of Characters 11≤n≤12 12≤n≤13 7≤n≤8 1≤n≤255 1≤n≤255 (even number) 1≤n≤255 1≤n≤255 2≤n≤255 Remarks 48≤d≤57 48≤d≤57 48≤d≤57 48≤d≤57,65≤d≤90,32, 36,37,43,45,46,47 48≤d≤57 48≤d≤57,65≤d1≤68 36,43,45,47,58 0≤d≤127 0≤d≤127 [When CODE93 (m=72) is used :] ● The printer prints an HRI character (□) as start character at the beginning of the HRI character string. ● The printer prints an HRI character (□) as a stop character at the end of the HRI character string. ● The printer prints HRI characters (■ + an alphabetic character) as a control character (H to H and H) : Control character ASCII Hex Decimal NUL 00 0 SOH 01 1 STX 02 2 ETX 03 3 EOT 04 4 ENQ 05 5 ACK 06 6 BEL 07 7 BS 08 8 HT 09 9 LF 0A 10 VT 0B 11 FF 0C 12 CR 0D 13 SO 0E 14 SI 0F 15 HRI character ■U ■A ■B ■C ■D ■E ■F ■G ■H ■I ■J ■K ■L ■M ■N ■O Control character ASCII Hex Decimal DLE 10 16 DC1 11 17 DC2 12 18 DC3 13 19 DC4 14 20 NAK 15 21 SYN 16 22 ETB 17 23 CAN 18 24 EM 19 25 SUB 1A 26 ESC 1B 27 FS 1C 28 GS 1D 29 RS 1E 30 US 1F 31 DEL 7F 127 HRI character ■P ■Q ■R ■S ■T ■U ■V ■W ■X ■Y ■Z ■A ■B ■C ■D ■E ■T 47

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28

46
GS f n
[Name]
Select font for Human Readable interpretation (HRI) characters.
[Format]
ASCII
GS
f
n
Hex
1D
66
n
Decimal
29
102
n
[Range]
n = 0, 1, 48, 49
[Description]
Selects a font for the HRI characters used when printing a bar code.
n selects a font from the following table:
n
Font
0,48
Font A (12 * 24)
1,49
Font B (9 * 24)
GS h n
[Name]
Set bar code height
[Format]
ASCII
GS
h
n
Hex
1D
68
n
Decimal
29
104
n
[Range]
1
n
255
[Description]
Sets the height of the bar code.
n
specifies the number of dots in the vertical direction.
[Default]
n
= 162
GS k
m
d1...dk
NUL
GS k
m n
d1...dn
[Name]
Print bar code
[Format]
ASCII
GS
k
m
d1...dk
NUL
Hex
1D
6B
m
d1...dk
00
Decimal
29
107
m
d1...dk
0
ASCII
GS
k
m
n
d1...dn
Hex
1D
6B
m
n
d1...dn
Decimal
29
107
m
n
d1...dn
[Range]
0
m
6
(k and d depends on the bar code system used)
65
m
73
(n and d depends on the bar code system used)
[Description]
Selects a bar code system and prints the bar code.
M selects a bar bode system as follows:
m
Bar Code System
Number of Characters
Remarks
0
UPC-A
11
k
12
48
d
57
1
2
JAN 13(EAN)
12
k
13
48
d
57
3
JAN8(EAN)
7
k
8
48
d
57
4
CODE39
1
k
48
d
57,65
d
90,32,
36,37,43,45,46,47
5
ITF
1
k (even number)
48
d
57
6
CODABAR
1
k
48
d
57,65
d1
68,
36,43,45,46,47,58
47
m
Bar Code System
Number of Characters
Remarks
65
UPC-A
11
n
12
48
d
57
66
67
JAN13(EAN)
12
n
13
48
d
57
68
JAN8(EAN)
7
n
8
48
d
57
69
CODE39
1
n
255
48
d
57,65
d
90,32,
36,37,43,45,46,47
70
ITF
1
n
255
(even number)
48
d
57
71
CODABAR
1
n
255
48
d
57,65
d1
68
36,43,45,47,58
72
CODE93
1
n
255
0
d
127
73
CODE128
2
n
255
0
d
127
[When CODE93 (m=72) is used :]
The printer prints an HRI character (
) as start character at the beginning of
the HRI character string.
The printer prints an HRI character (
) as a stop character at the end of
the HRI character string.
The printer prints HRI characters (
+ an alphabetic character) as a control
character (<00>H to <1F>H and <7F>H) :
Control character
Control character
ASCII
Hex
Decimal
HRI
character
ASCII
Hex
Decimal
HRI
character
NUL
00
0
U
DLE
10
16
P
SOH
01
1
A
DC1
11
17
Q
STX
02
2
B
DC2
12
18
R
ETX
03
3
C
DC3
13
19
S
EOT
04
4
D
DC4
14
20
T
ENQ
05
5
E
NAK
15
21
U
ACK
06
6
F
SYN
16
22
V
BEL
07
7
G
ETB
17
23
W
BS
08
8
H
CAN
18
24
X
HT
09
9
I
EM
19
25
Y
LF
0A
10
J
SUB
1A
26
Z
VT
0B
11
K
ESC
1B
27
A
FF
0C
12
L
FS
1C
28
B
CR
0D
13
M
GS
1D
29
C
SO
0E
14
N
RS
1E
30
D
SI
0F
15
O
US
1F
31
E
DEL
7F
127
T