GS W nL nH
[Function] | Setting the print area width | ||
[Code] | <1D>H<57>H<nL><nH> | ||
[Range] | 0 | nL | 255 |
| 0 | nH | 255 |
[Outline] | Sets the print area width specified by nL and nH. | |||||||||
| The print area width will be [(nL + nH ⋅ 256) ⋅ basic calculation pitch] inches. | |||||||||
|
|
|
|
|
| Printable area |
| |||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Left
margin
Print area
width
[Caution] | • | This command only works when it is entered at the beginning of a line. |
| • | When PAGE MODE is selected, this command only executes the internal flagging |
|
| of the printer. |
| • | The setting of this command does not affect PAGE MODE. |
| • | If the value entered with this command exceeds the printable area for one line, the |
|
| entire area except the left margin is set as the print area width. |
| • The basic calculation pitches are defined by GS P. Once defined, the print area | |
|
| width is not changed if the basic calculation pitch is changed by GS P. |
| • The print area width is calculated with the horizontal basic calculation pitch (x) | |
|
| defined by GS P. A fraction resulting from the calculation is corrected with the |
|
| minimum pitch of the mechanism, and the remainder is omitted. |
| • | If the first character to be mapped at the beginning of a line has a width (including |
|
| the right spacing) greater than the print area width, only that line is handled as |
|
| follows: |
(1) The print area is extended toward the right to accommodate the first character, but not wider than the printable area.
Printable area
A
(1) Extended toward the right
Left margin
Print area width
— 40 —