Select your printer model

Parameters are refined by the selected printer.
  • DM-D30
  • DM-D70
  • DM-D110
  • DM-D210

US ( E <Function 04>


[Name]

Sending and displaying memory switch values

[Format]

ASCII
   
US
   
(
   
E
   
pL
   
pH
   
fn
   
a
Hex
   
1F
   
28
   
45
   
02
   
00
   
04
   
a
Decimal
   
31
   
40
   
69
   
2
   
0
   
4
   
a

[Range]

( pL + pH x 256) = 2 ( pL = 2, pH = 0)
fn = 4
It depends on model.

[Description]

Send or display the setting value of the memory switch specified for a.
  • If a < 100, send the value of the memory switch number specified in a.
Transmitted data
Hex
Decimal
Number of data
(1) Header
57H
87
1 byte
(2) Identifier
24H
36
1 byte
(3) Display number
30H to 39H
48 - 57
0 to 3 bytes
(4) Separator
1FH
31
1 byte
(5) Data
30H or 31H
48 or 49
8 bytes
(6) NUL
00H
0
1 byte
  • About specification of "(5) Data"
  • Set the value of the memory switch to [ OFF: Hexadecimal = 30 H/Decimal number = 48 ] [ ON: Hexadecimal = 31 H/Decimal number = 49 ], and 8 bytes are sent in order of bit 8 to bit 1.
An example:
Swich
Msw10-8
Msw10-7
Msw10-6
Msw10-5
Msw10-4
Msw10-3
Msw10-2
Msw10-1
State
OFF
OFF
OFF
OFF
OFF
OFF
ON
ON
In the above case, the sending data is 8 bytes of "00010011"(30H, 30H, 30H, 31H, 30H, 30H, 31H, 31H).
Memory switch
Setting contents
Value displayed on the screen (display by binary number)
Msw09
Backlight OFF setting
Stand-by mode : (Default)
Msw10
Character code table
Character code page : (Default)
Msw11
International character set
Inter National char : (Default)
Msw12
Brightness adjustment
Brightness : (Default)
Msw13
Reserve
Peripheral : (Default)
Msw14
Display of the cursor
Cursor display : (Default)
Msw15
The number of the display
Display No. : (Default)
  • After receiving the value of the memory switch, send the next command.
  • The value of the memory switch can always be confirmed with < Function 04 > without going to user setting mode.

[Note]

The host can receive data transmitted from the display only when a Windows PC is connected.
 

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