Gs \ Nl Nh Set Relative Vertical Position In; Character Commands; Can Delete Data In Print Buffer In Page Mode - SNBC BTP-R580II Programming Manual

Table of Contents

Advertisement

[Relative]
GS L, GS P
[Example]
Refer to GS L
GS \ nL nH Set relative vertical position in page mode
[Function]
Set relative vertical print position in page mode.
[Format]
ASCII
Hex
Decimal 29
[Range]
0 ≤ nL ≤ 255
0 ≤ nH ≤ 255
[Notes]
• This command sets the distance from the current position to [( nL + nH × 256) ×
vertical or horizontal motion unit] inches.
• This command is ignored unless page mode is selected.
• When pitch N is specified to the movement downward: nL + nH × 256 = N
When pitch N is specified to the movement upward, use the complement code: nL +
nH × 256 = 65536 – N.
• Any setting that exceeds the specified print area is ignored.
• This command decides motion unit, depending on the print area direction set by ESC
T command:
① When the starting position is set to the upper left (printing from left to right) or
② When the starting position is set to the upper right (printing from top to bottom) or
• The horizontal and vertical motion units are specified by GS P.
• The horizontal and vertical motion units can be changed by GS P.
[Relative]
ESC $, ESC T, ESC W, ESC \, GS $, GS P

2.3 Character commands

CAN Delete data in print buffer in page mode

[Function]
Delete data in current area in page mode.
[Format]
ASCII
Hex
Decimal 24
[Notes]
• This command is enabled only in page mode.
• If data that existed in the previously specified area also exists in the current area, it is
also deleted.
[Relative]
ESC L, ESC W
[Example]
1B 40 (initialize the printer)
1D 50 CB CB (Set printer resolution to 203×203)
GS
\
nL nH
1D
5C
nL nH
92
nL nH
lower right (printing from right to left) of the print area, the vertical motion unit is
used.
lower left (printing from bottom to top) of the print area, the horizontal motion unit
is used.
CAN
18
BTP-R580II Programming Manual
- 15 -

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents