•In standard mode, this command is effective only at the beginning of a line.
[Note for ➀] • When m = 1 or 49, this command operates the same way as ESC i. [Notes for ➁] • When n= 0, the printer feeds the paper to the cutting position and
cuts it.
•When n ≠ 0, the printer feeds the paper to (cutting position + [n ✕ vertical motion unit]) and cuts it.
•The horizontal and vertical motion unit are specified by GS P.
•The paper feed amount is calculated using the vertical motion unit (y). However, the value cannot be less than the minimum horizontal movement amount, and it must be in even units of the mininmum horizontal movement amount.
[Reference] ESC i
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.
|
|
| Printable area |
| |
|
|
|
| ||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Left margin |
| Printing area width |
|
|
|
|
|
| ||
[Notes] | • This command is effective only at the beginning of a line. |
|
•In page mode, the printer performs only internal flag operations.
•This command does not affect the printing in page mode.
•The maximum possible setting for the print range is the same as the maximum printable area in the horizontal position. Settings exceeding the maximum setting are rounded down to the maximum setting.
•The horizontal and vertical motion unit are specified by GS P. Changing the horizontal or vertical motion unit does not affect the current printing area width.
•The GS P command can change the horizontal (and vertical) motion unit. However, the value cannot be less than the minimum horizontal movement amount, and it must be in even units of the minimum horizontal movement amount.