Samsung STP-103PG User Manual - Page 22
GS I n, GS W nL nH - stp 103
View all Samsung STP-103PG manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 22 highlights
n selects the printing position as follows: N Printing position 0,48 Not printed 1,49 Above bar code 2,50 Below bar code 3,51 Both above and below the bar code [Default] ● HRI indicates Human Readable interpretation. n = 0 GS I n [Name] [Format] [Range] [Description] Transmit printer ID ASCII ESC I n Hex 1D 49 n Decimal 29 73 n 1 ≤n ≤3 , 49 ≤n ≤51 Transmits the printer ID specified by n as follows: n Printer ID Specification ID(hexadecimal) 1,49 Printer model ID STP-103S / STP-103P 30 2,50 Type ID 02 3,51 ROM version ID Depends on ROM version 10 GS L nL nH [Name] [Format] [Range] [Description] Set left margin ASCII GS L nL nH Hex 1D 4C nL nH Decimal 29 76 nL nH 0 ≤ nL ≤255 0 ≤ nH ≤255 Sets the left margin using nL and nH. ● The left margin is set to [(nL + nH X 256) X (horizontal motion unit6)] inches. Printable area Left Margin Printing area width 42 GS P x y [Name] [Format] [Range] [Description] Set horizontal and vertical motion units ASCII GS P x y Hex 1D 50 x y Decimal 29 80 x y 0 ≤ x ≤ 255 0 ≤ y ≤ 255 Sets the horizontal and vertical motion units to 1/x inch, respectively. When x is set to 0, the default setting value is used. When y is set to 0, the default setting value is used. 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 + 256 X nH) X horizontal motion unit] inches. Printable area Left Margin Printing area width 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 0 ≤ m ≤ 1 Executes a macro. ● r specifies the number of times to execute the macro. ● t specifies the waiting time for executing the macro. The waiting time is t X 100 msec for every macro execution. ● m specifies macro executing mode. ● When the LSB of m = 0: The macro executes r times continuously at the interval specified by t. 43