Samsung SRP-350PG Service Manual - Page 81

GS w n

Page 81 highlights

Command GS v 0 m xL xH yL yH d1...dk [Name] Print raster bit image. [Format] ASCII GS V 0 m xL xH yL yH d1...dk Hex 1D 76 30 m xL xH yL yH d1...dk Decimal 29 118 48 m xL xH yL yH d1...dk [Range] 0 ≤m ≤3, 48 ≤m ≤51 0 ≤xL ≤255 0 ≤xH ≤255 0 ≤yL ≤255 0 ≤d ≤255 k = (xL + xH ×256) ×(yL + yH ×256) (k ≠0) [Description] Selects Raster bit-image mode. The value of m selects the mode, as follows : m 0, 48 1, 49 2, 50 3, 51 Mode Vertical Dot Density (DIP) Horizontal Dot Density (DIP) Normal 180 DPI 180 DPI Double-width 180 DPI 90 DPI Double-height 90 DPI 180 DPI Quadruple 90 DPI 90 DPI * xL, xH, select the number of data bits (xL + xH ×256) in the horizontal direction for the bit image. * yL, yH, select the number of data bits (yL + yH ×256) in the vertical direction for the bit image. GS w n [Name] [Format] [Range] [Description] Set bar code width. ASCII GS w n Hex 1D 77 n Decimal 29 119 n 2 ≤n ≤6 Set the horizontal size of the bar code. n specifies the bar code width as follows : Module width for n multi-level bar code Thin element width (mm) Binary-level bar code Thick element width (mm) 2 0.282 0.282 0.706 3 0.423 0.423 1.129 4 0.564 0.564 1.411 5 0.706 0.706 1.834 6 0.847 0.847 2.258 * Multi-level bar codes are as follows : UPC-A, UPC-E, JAN13(EAN13), JAN8(EAN8), CODE93, CODE128. * Binary-level bar codes are as follows : CODE39, ITF, CODABAR. 8-18 Samsung Electro-Mechanics

  • 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
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125

Command
8-18
Samsung Electro-Mechanics
GS v 0 m xL xH yL yH d1…dk
[Name]
[Format]
[Range]
[Description]
Print raster bit image.
ASCII
GS
V
0
m
xL
xH
yL
yH
d1…dk
Hex
1D
76
30
m
xL
xH
yL
yH
d1…dk
Decimal
29
118
48
m
xL
xH
yL
yH
d1…dk
0
m
3, 48
m
51
0
xL
255
0
xH
255
0
yL
255
0
d
255
k = (xL + xH ×256) ×(yL + yH ×256) (k
0)
Selects Raster bit-image mode. The value of m selects the mode, as follows :
m
Mode
Vertical Dot Density (DIP)
Horizontal Dot Density (DIP)
0, 48
Normal
180 DPI
180 DPI
1, 49
Double-width
180 DPI
90 DPI
2, 50
Double-height
90 DPI
180 DPI
3, 51
Quadruple
90 DPI
90 DPI
* xL, xH, select the number of data bits (xL + xH ×256) in the
horizontal direction for the bit image.
* yL, yH, select the number of data bits (yL + yH ×256) in the
vertical direction for the bit image.
GS w n
[Name]
[Format]
[Range]
[Description]
Set bar code width.
ASCII
GS
w
n
Hex
1D
77
n
Decimal
29
119
n
2
n
6
Set the horizontal size of the bar code.
n specifies the bar code width as follows :
Binary-level bar code
n
Module width for
multi-level bar code
Thin element width (mm)
Thick element width (mm)
2
0.282
0.282
0.706
3
0.423
0.423
1.129
4
0.564
0.564
1.411
5
0.706
0.706
1.834
6
0.847
0.847
2.258
* Multi-level bar codes are as follows :
UPC-A, UPC-E, JAN13(EAN13), JAN8(EAN8), CODE93, CODE128.
* Binary-level bar codes are as follows :
CODE39, ITF, CODABAR.