Samsung SRP-350PG Service Manual - Page 77

GS W nL nH, nL nH, GS ^ r t m

Page 77 highlights

GS W nL nH [Name] Set printing area width. [Format] ASCII GS W nL nH Hex 1D 57 nL nH Decimal 29 87 nL nH [Range] 0 ≤nL ≤255, 0 ≤nH ≤255 [Description] Sets the printing area width to the area specified by nL and nH. * The printing area width is set to [(nL + nH ×256) ×horizontal motion unit] inches. Command GS ₩ nL nH [Name] [Format] Set relative vertical print position in page mode. ASCII GS ₩ nL nH Hex 1D 5C nL nH Decimal 29 92 nL nH [Range] 0 ≤nL ≤255, 0 ≤nH ≤255 [Description] Sets the relative vertical print starting position from the current position in page mode. * This command sets the distance from the current position to [(nL + nH ×256) ×vertical or horizontal motion unit] inches. GS ^ r t m [Name] [Format] [Range] [Description] Execute macro. ASCII GS ^ r t m Hex 1D 5E r t m Decimal 29 94 r t m 0 ≤r ≤255, 0 ≤t ≤255 m = 0, 1 Executes a macro. * r specifies the number of times to execute the macro. * t specifies the waiting time for executing the macro. * m specifies macro executing mode. When the LSB of m = 0 The macro executes r times continuously at the interval specified by t. When the LSB of m = 1 : After waiting for the period specified by t, the PAPER OUT LED indicators blink and the printer waits for the FEED button to be pressed. After the button is pressed, the printer executes the macro once. The printer repeats the operation r times. 8-14 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-14
Samsung Electro-Mechanics
GS W nL nH
[Name]
[Format]
[Range]
[Description]
Set printing area width.
ASCII
GS
W
nL
nH
Hex
1D
57
nL
nH
Decimal
29
87
nL
nH
0
nL
255, 0
nH
255
Sets the printing area width to the area specified by nL and nH.
* The printing area width is set to
[(nL + nH ×256) ×horizontal motion unit] inches.
GS
nL nH
[Name]
[Format]
[Range]
[Description]
Set relative vertical print position in page mode.
ASCII
GS
nL
nH
Hex
1D
5C
nL
nH
Decimal
29
92
nL
nH
0
nL
255, 0
nH
255
Sets the relative vertical print starting position from the current position in page mode.
* This command sets the distance from the current position to
[(nL + nH ×256) ×vertical or horizontal motion unit] inches.
GS ^ r t m
[Name]
[Format]
[Range]
[Description]
Execute macro.
ASCII
GS
^
r
t
m
Hex
1D
5E
r
t
m
Decimal
29
94
r
t
m
0
r
255, 0
t
255
m = 0, 1
Executes a macro.
* r specifies the number of times to execute the macro.
* t specifies the waiting time for executing the macro.
* m specifies macro executing mode.
When the LSB of m = 0
The macro executes r times continuously at the interval specified by t.
When the LSB of m = 1 :
After waiting for the period specified by t, the PAPER OUT LED
indicators blink and the printer waits for the FEED button to be
pressed. After the button is pressed, the printer executes the macro
once. The printer repeats the operation r times.