Samsung STP-103P Printer User Manual


 
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 11k12 48d57
1
2 JAN 13(EAN) 12k13 48d57
3 JAN8(EAN) 7k8 48d57
4 CODE39 1k
48d57,65d90,32,
36,37,43,45,46,47
5 ITF 1k (even number) 48d57
6 CODABAR 1k
48d57,65d168,
36,43,45,46,47,58
47
m
Bar Code System Number of Characters Remarks
65 UPC-A 11n12 48d57
66
67 JAN13(EAN) 12n13 48d57
68 JAN8(EAN) 7n8 48d57
69 CODE39 1n255
48d57,65d90,32,
36,37,43,45,46,47
70 ITF
1n255
(even number)
48d57
71 CODABAR 1n255
48d57,65d168
36,43,45,47,58
72 CODE93 1n255 0d127
73 CODE128 2n255 0d127
[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