US ( D <Function 6>


[Name]

Move cursor

[Format]

ASCII
   
US
   
(
   
D
   
pL
   
pH
   
fn
   
m
   
nL
   
nH
Hex
   
1F
   
28
   
44
   
04
   
00
   
06
   
m
   
nL
   
nH
Decimal
   
31
   
40
   
68
   
4
   
0
   
6
   
m
   
nL
   
nH

[Range]

(pL + pH × 256) = 4 (pL = 4, pH = 0)
fn = 6
m = 48, 49, 50, 51
(nL + nH × 256) = 0 - 65535 (nL = 0 - 255, nH = 0 - 255) [when m = 48, 49]
(nL + nH × 256) = -32768 - 32767 (nL = 0 - 255, nH = 0 - 255) [when m = 50, 51]

[Description]

  • Moves the cursor of the current window.
  • Specifies movement specifications, reference position, and movement direction according to m.
m
Reference position
Movement direction
48
Home position
(pL + pH × 256)th column
49
Home position
(pL + pH × 256)th line
50
Current display position
(pL + pH × 256)th column
51
Current display position
(pL + pH × 256)th line
  • Executes two complementary calculations for movement to the minus side when relative position movement is specified (m = 50, 51).
 

Quick Access

  • [Name]
  • [Format]
  • [Range]
  • [Description]
  • [Notes]

ESC/POS® includes patented or patent pending commands. The contents must not be disclosed to third parties.


Jump to the top