Sie sind auf Seite 1von 28

R-50

PANEL PRINTER
SOFTWARE
COMMANDS MANUAL

HT
[Name] Horizontal tab
[Format] ASCII HT
Hex
Decimal

09
9

[Range] None
[Default]

None

[Description]
Moves the printing position to the next horizontal tab. Default HT is set at
16 * x position where x ranges from 0 to 23.
If printing position exceeds 384 dots then printer prints data in buffer and
Sets printing position to left margin of next line.
[String input]

hex
0X30,0X31,0X32,0X34,0X35,0X36,0X37,0X38,0X39,0X30,0X31,
0X32,0X33,0X34,0X35,0X36,0X37,0X38,0X39,0X30,0X31,0X32,
0X34,0X35,0X36,0X0A,0X09,0X48,0X09,0X48,0X09,0X48,0X09,
0X48, 0XA

[Print Sample]
0123456789012345678901234567
890123456
H
H
H
H
LF
[Name] Print and line feed
[Format]

ASCII

LF

Hex

0A

Decimal 10
[Range] None]
[Default] None
[Description]

Prints the data in the print buffer and feeds one line.

[String Input]

ASCII
0x41, 0x41, 0x41, 0x41, 0x41,0x0A,0x42,0x42,0x42,0x42,0x42,0x0A

[Print Sample]
AAAAA
BBBBB

CR
[Name]

Print and carriage return

[Format]

ASCII
Hex
Decimal

CR
0D
13

[Range] None
[Default]

None

[[Description]
Execute printing and one line feed.
[String Input]

ASCII
0x41,0x41,0x41,0x41,0x41,0x0D,0x20,0x20,0x20,0x20,0x20,
0x42,0x42,0x42,0x42,0x42,0x0A

[Print Sample]
AAAAA
BBBBB
DLE EOT n
[Name]

Real-time status transmission

[Format]

ASCII
DLE
EOT n
Hex
10
04
n
Decimal
16
4
n
Transmits one byte of data when n=1 or n= 20
N=1
Transmits printer status.

[[Description]

N = 20 (Maestros function)

BIT

ON/OFF

STATUS

Not used

1 = ON
0 = OFF
1 = ON
0 = OFF
1 = ON
0 = OFF
0 = OFF

High voltage(greater than 8v)


Normal voltage
Paper not present
Paper present
Buffer not empty
Buffer empty
Not used

0 = OFF

Not used

0 = OFF

Not used

0 = OFF

Not used

2
3

ESC SP n
[Name]

Set right-side character spacing

[Format]

ASCII ESC
Hex
1B
Decimal 27

SP
20
32

n
n
n

[Description]
Sets the right-side character spacing to n (horizontal or
vertical motion unit).
[String Input]

Set character spacing spacing to 6 decimal


0x1B,0x20,0x06,0x41,0x41,0x41,0x41,0x41, 0x0A

[Print Sample]
AAAAA
[String Input]

Set character spacing spacing to 12 decimal


0x1B,0x20,0x0C,0x42,0x42,0x42,0x42,0x42, 0x0A

[Print Sample]
B B B B B
[String Input]

Set character spacing spacing to 0


0x1B,0x20,0x00,0x43,0x43,0x43,0x43,0x43, 0x0A

[Print Sample]
CCCCC
ESC $ nL nH
[Name]

Set absolute print position

[Format] ASCII

ESC
Hex
Decimal

$
1B
27

nL
24
36

nH
nL
nL

nH
nH

[Range] 0 nL 255
0 nH 255
[Description]
Sets the print starting position to (nL + nH 256)
(horizontal or vertical motion unit) from the beginning of
the line.
[String Input]
0x41,0x42,0x43,0x44,0x1B,0x24,0x5a,0x00,0x45,0x46,0x4
7,0x48,0x0A
[Print Sample]

ESC * m nL nH d1 ... dk
[Name]

Select bit-image mode

[Format]

ASCII
Hex
Decimal 27

ESC
1B
42

*
2A
m

m
m
nL

nL
nL
nH

nH
d1 ... dk
nH
d1 ... dk
d1 ... dk

[Description]
Selects a bit-image mode using m for the number of dots specified by
(nL + nH 256), as follows:

[String Input]

0x1B, 0x2A, 0X00, 0X46, 0X00,


0X01,0X02,0X04,0X08,0X10,0X20,0X40,0X80,0X40,0X20,
0X10, 0X08, 0X04, 0X02,
0X01,0X02,0X04,0X08,0X10,0X20,0X40,0X80,0X40,0X20,
0X10, 0X08, 0X04, 0X02,
0X01,0X02,0X04,0X08,0X10,0X20,0X40,0X80,0X40,0X20,
0X10, 0X08, 0X04, 0X02,
0X01,0X02,0X04,0X08,0X10,0X20,0X40,0X80,0X40,0X20,
0X10, 0X08, 0X04, 0X02
0X01,0X02,0X04,0X08,0X10,0X20,0X40,0X80,0X40,0X20,
0X10, 0X08, 0X04, 0X02, 0X0A
[Print Sample]

[String Input]

0x1B, 0x2A, 0X01, 0X46, 0X00,


0X01,0X02,0X04,0X08,0X10,0X20,0X40,0X80,0X40,0X20,
0X10, 0X08, 0X04, 0X02,
0X01,0X02,0X04,0X08,0X10,0X20,0X40,0X80,0X40,0X20,
0X10, 0X08, 0X04, 0X02,
0X01,0X02,0X04,0X08,0X10,0X20,0X40,0X80,0X40,0X20,
0X10, 0X08, 0X04, 0X02,
0X01,0X02,0X04,0X08,0X10,0X20,0X40,0X80,0X40,0X20,
0X10, 0X08, 0X04, 0X02
0X01,0X02,0X04,0X08,0X10,0X20,0X40,0X80,0X40,0X20,
0X10, 0X08, 0X04, 0X02, 0X0A
[Print sample]

ESC n
[Name]

Turn underline mode on/off

[Format]

ASCII
Hex
Decimal

ESC
1B
27

2D
45

n
n
n

[Description]
Turns underline mode on or off using n as follows:

[String Input]

Select underline mode


0x1B, 0X2D, 0X01, 0X41, 0X41, 0X41, 0X41, 0X41, 0X0A

[Print Sample]
AAAAA
[String Input]

Cancel underline mode


0x1B, 0X2D, 0X00, 0X42, 0X42, 0X42, 0X42, 0X42, 0X0A

Print Sample]
BBBBB

ESC 2
[Name]

Select default line spacing

[Format]

ASCII
Hex
Decimal
[Range] Non[Default]
None
[Description]

ESC
1B
27

2
32
50

Sets the line spacing to 60*0.0625mm.

[String Input]
0x1B,0x02,0x42,0x42,0x42,0x42,0x42,0x0A,0x43,0x43,0x43,0x43,0x43,0x0A
[Print Sample]
BBBBB
CCCCC

ESC 3 n
[Name]
Set line spacing
[Format] ASCII
ESC
3
Hex
1B
Decimal
27
[Range]

n
33
51

n
n

0 n 255

[Description]
Sets the line spacing to n (vertical or horizontal motion unit).
[String Input]

hex

0x1B,0X03,0X19,0X41,0X41,0X41,0X41,0X41,0X0A,
0x1B,0X03,0X1E,0X41,0X41,0X41,0X41,0X41,0X0A,
0x1B,0X03,0X23,0X41,0X41,0X41,0X41,0X41,0X0A,
0x1B,0X03,0X28,0X41,0X41,0X41,0X41,0X41,0X0A,
0x1B,0X03,0X2D,0X41,0X41,0X41,0X41,0X41,0X0A,
0x1B, 0X03, 0X32, 0X41, 0X41, 0X41,0X41,0X41,
0X0A
[Print Sample]

ESC <
[Name]

Return home

[Format]

ASCII
Hex
Decimal

ESC
1B
27

<
3C
60

[Range] None
[Default] None
[Description] Moves the print head to the standby position.

ESC @
[Name]

Initialize printer

[Format]

ASCII
Hex
Decimal 27

ESC
1B
64

@
40

[Range] None
[Default] None
[Description]
The data in the print buffer (OUTPUT BUFFER) is cleared and the printer
mode(s) is reset to the mode that was in effect when the
power was turned on. Printer also cancels previous setting like double height,
double width, underline mode and selects default setting.
[String Input]

Select double height and underline mode


0x1B, 0X21, 0X90,0X4D,0X41,0X45,0X53,0X54,0X52,0X4F,0X53,0X0A

[Print Sample]

MAESTROS
[String Input]
Send initialize printer command
0x1B,0x40,0X4D,0X41,0X45,0X53,0X54,0X52,0X4F,0X53,0X0A
[Print Sample]
MAESTROS

ESC D n1 ... nk NUL


[Name]

Set horizontal tab positions

[Format]

ASCII
Hex
Decimal

ESC
1B
27

D
44
68

n1 ... nk
n1 ... nk
n1 ... nk

NUL
00
0

[Range] 1 n 255
0 k 32
[Default]

n = 8, 16, 24, 32, ... (Every eight characters for the default
font set by ESC ! or ESC M)

[Description]
Sets a horizontal tab to n columns from the beginning of the
line.
k indicates the number of horizontal tab positions to be set.
Transmit [n]k in ascending order and place a NUL code
at the end. ESC D NUL cancels all horizontal tab
positions.
When [n] is less than or equal to the preceding value
[n]k-1, horizontal tab setting is finished and the
following data is processed as normal data.
[String input]

Set HT at 5,10,15,20 position.

0X30,0X31,0X32,0X33,0X34,0X35,0X36,0X37,0X38,0X39,
0X30,0X31,0X32,0X33,0X34,0X35,0X36,0X37,0X38,0X39,
0X30,0X31,0X32,0X33,0X34,0X35,0X36,0X37,0X38,0X39,
0X30,0X31,0X32,0X34, 0X35, 0X36,0X0A,0X1B,0X44,0X05
,0X0A,0X0x0F,0X14,0x00,0X09, 0X48, 0X09, 0X48, 0X09,
0X48, 0X09, 0X48, 0XA
[Print Sample]
O1234567890123456789012345678
90123456
H
H
H
H

ESC E n
[Name]

Turn emphasized mode on/off

[Format]

ASCII
Hex
Decimal

ESC
1B
27

E
45
69

n
n
n

[Range] 0 n 255
[Default]

n=0

[Description]

Turns emphasized mode on or off.


When the LSB of n is 0, emphasized mode is turned off.(selects 12*24 bold font)
When the LSB of n is 1, emphasized mode is turned on.(selects 9*24 bold font)

[String Input]

Select 12*24 bold


0x1B, 0X45, 0X01, 0X4D, 0X41, 0X45, 0X53,0X54,0X52,0X4F,0X53,0X0A

[Print Sample]
MAESTROS
[String Input]

Select 12*24 bold


0x1B, 0X45, 0X00, 0X4D, 0X41, 0X45, 0X53,0X54,0X52,0X4F,0X53,0X0A

[Print Sample]

Selects 9*24 bold


MAESTROS

ESC J n
[Name]

Print and feed paper

[Format]

ASCII
Hex
Decimal

ESC
1B
27

J
4A
74

n
n
n

[Range] 0 n 255
[Default]

None

[Description]

Prints the data in the print buffer and feeds the paper n
(vertical or horizontal motion unit).

[String Input]
0x41,0x41,0x41,0x41,0x41,0x0A,0x42,0x42,0x42,0x42,0x42,0x1B,0x4A,0x64,0x43
,0x43,0x43,0x43,0x43,0x0A,0x44,0x44,0x44,0x44,0x44,0x0A
[Print Sample]
AAAAA
BBBBB
CCCCC
DDDDD
ESC M n
[Name]

Select character font

[Format]

ASCII
Hex
Decimal

ESC
1B
27

M
4D
77

n
n
n

[Range] n = 0, 1, 48, 49
[Description]
Selects a character font, using n as follows:
When N = 0,48 font = 12*24 normal
When n = 1,49 font = 9 *24 normal
[String Input]

Selects 12*24
0X1B,0X4D,0X00, 0X4D, 0X41, 0X45, 0X53,0X54,0X52,0X4F,0X53,0X0A

[Print Sample]
MAESTROS
[String Input]

Selects 9*24
0X1B,0X4D,0X01, 0X4D, 0X41, 0X45, 0X53,0X54,0X52,0X4F,0X53,0X0A

[Print Sample]
MAESTROS

ESC S
[Name]

Select standard mode

[Format] ASCII

ES
Hex
Decimal

S
1B
27

53
83

[Range] None
[Default] None
[Description] Switches from page mode to standard mode.

10

ESC V n
[Name]

Turn 90 clockwise rotation mode on/off

[Format]

ASCII
Hex
Decimal

ESC
1B
27

V
56
86

n
n
n

[Default] n = 0
[Description]
In standard mode, turns 90 clockwise rotation mode on or
off, using n as follows:
When n = 0, printer cancels 90 degree clockwise rotation mode off.
When n = 1, printer cancels 90 degree clockwise rotation mode off.
[String Input]

select 90 degree clockwise rotation mode


0x1B,0X56,0X01,0X41,0X41,0X41,0X41,LF,0X42,0X42,0X42,0X42,LF,
0X43, 0X43, 0X43, 0X43,0X0A

[Print Sample]

[String Input]

Cancel 90 degree clockwise rotation mode


0x1B,0X56,0X00,0X41,0X41,0X41,0X41,LF,0X42,0X42,0X42,0X42,LF,0X43,
0X43,0X43,0X43,0X0A

[Print Sample]

ESC \ nL nH
[Name]

Set relative print position

[Format}

ASCII
Hex
Decimal 27

ESC
1B
92

\
5C
nL

nL
nL
nH

nH
nH

[Range] 0 nL 255
0 nH 255
[Default]

None

[Description]
Moves the print starting position to (nL + nH 256)
(horizontal or vertical motion unit) from the current position.
[String Input]
0x41,0x42,0x43,0x44,0x1B,0x5C,0x5a,0x00,0x45,0x46,0x4

7,0x48,0x0A

11

[Print Sample]

ESC a n
[Name]

Select justification

[Format]

ASCII
Hex
Decimal

ESC
1B
27

a
61
97

n
n
n

[Range] 0 n 2, 48 n 50
[Default]

n=0

[Description]

In standard mode, aligns all the data in one line to a


specified position, using n as follows:

[String Input]

Select left justification


0x1B,0X61,0X00,,0X41,0X42,0X43,0X0A,0X41,0X42,0X43,0X44,0X0A,0X41,
0X42,0X43,0X44,0X45,0X0A
n
justification
0,48 Left justification
1,49 centered
2,50 Right justification

[Print Sample]

[String Input]

Selects center justification


0x1B,0X61,0X01,,0X41,0X42,0X43,0X0A,0X41,0X42,0X43,0X44,0X0A,0X41,
0X42,0X43,0X44,0X45,0X0A

[Print Sample]

[String Input]

Selects right justification


0x1B,0X61,0X02,,0X41,0X42,0X43,0X0A,0X41,0X42,0X43,0X44,0X0A,0X41,
0X42,0X43,0X44,0X45,0X0A

[Print Sample]

ESC d n
[Name]

Print and feed n lines

[Format]

ASCII

ESC

12

Hex

1B

64

Decimal

27

100

[Range] 0 n 255
[Default]
[
[Description]

None
Prints the data in the print buffer and feeds n lines.

[String Input]

hex

0x41,0x41,0x41,0x41,0x41,0x0A,0x42,0x42,0x42,0x42,0x42,0x1b,0x6
4,0x06,0x43,0x43,0x43,0x43,0x43,0x0A
[Print Sample] Prints data in buffer and feeds 6 lines.
AAAAA
BBBBB

CCCCC
ESC {n
[Name]

Turn upside-down printing mode on/off

[Format]

ASCII
Hex
Decimal 27

ESC
1B
123

{
7B
n

n
n

[Range] 0 n 255
[Default]

n=0

[Description]

In standard mode, turns upside-down printing mode on


or off.
When the LSB of n is 0, upside-down printing mode is
turned off.
When the LSB of n is 1, upside-down printing mode is
turned on.

[String Input]

Cancels upside down mode


0x1B,0X7B,0X00,0X41,0X42,0X43,0X44,0X45,0X0A
0x42, 0x43, 0x44, 0x45, 0x46, 0x0A

[Print Sample]
ABCDE
BCDEF

[String Input]
0x1B,0X7B,0X01,0X41,0X42,0X43,0X44,0X45,0X0A
0x42, 0x43, 0x44, 0x45, 0x46, 0x0A
[Print Sample]

13

GS * x y d1 ... d(x y 8)
[Name]

Define downloaded bit image

[Format]

ASCII
Hex
Decimal

[Description]

Defines a downloaded bit image using (x 8) dots in the


horizontal direction and (y 8) dots in the vertical direction.
d indicates the bit image data.
Image data stored by this function are printed by GS / m command.

GS

GS
1D
29

*
2A
42

x
x
x

y
y
y

d1 ... d(x y 8)
d1 ... d(x y 8)
d1 ... d(x y 8)

[Name]

Print downloaded bit image

[Format]

ASCII
Hex
Decimal

[Description]

Prints a downloaded bit image using the mode specified


by m, as follows:

GS
1D
29

m
0,48
1,49
3,50
4,51
[String Input]

/
2F
47

m
m
m

Description
Normal
Double width
Double Height
Quadruple
Select normal mode
0X1D,0X2A, 0X12, 0X05,
AAh,AAh,AAh,AAh,AAh,55h,55h,55h,55h,54h,80h,00h,00h,00h,02
40h,00h,00h,00h,04h,80h,00h,00h,00h,02h,40h,00h,00h,00h,04
8Ah,AAh,AAh,AAh,A2h,45h,55h,55h,55h,44h,8Ah,AAh,AAh,AAh,A2
45h,55h,55h,55h,44h,8Ah,AAh,AAh,AAh,A2h,45h,00h,50h,01h,44
8Ah,80h,A8h,02h,A2h,45h,00h,50h,01h,44h,8Ah,80h,A8h,02h,A2
45h,00h,50h,01h,44h,8Ah,80h,A8h,02h,A2h,45h,00h,50h,01h,44
8Ah,80h,A8h,02h,A2h,45h,00h,00h,01h,44h,8Ah,80h,00h,02h,A2
40h,00h,00h,00h,04h,80h,00h,00h,00h,02h,40h,00h,00h,00h,04
80h,AAh,00h,02h,A2h,41h,55h,00h,01h,44h,82h,AAh,80h,02h,A2
45h,55h,40h,01h,44h,8Ah,AAh,A0h,02h,A2h,45h,45h,50h,01h,44
8Ah,82h,A8h,02h,A2h,45h,01h,54h,01h,44h,8Ah,80h,AAh,02h,A2
45h,00h,55h,01h,44h,8Ah,80h,2Ah,82h,A2h,45h,00h,15h,55h,44
8Ah,80h,0Ah,AAh,A2h,45h,00h,05h,55h,44h,8Ah,80h,02h,AAh,82
40h,00h,01h,55h,04h,80h,00h,00h,00h,02h,40h,00h,00h,00h,04
80h,00h,00h,00h,02h,40h,15h,55h,50h,04h,80h,2Ah,AAh,A8h,02
40h,55h,55h,54h,04h,80h,AAh,AAh,AAh,02h,41h,55h,55h,55h,04
82h,A8h,00h,2Ah,82h,45h,50h,00h,15h,44h,8Ah,A0h,00h,0Ah,A2
45h,40h,00h,05h,44h,8Ah,80h,00h,02h,A2h,45h,00h,00h,01h,44
8Ah,80h,00h,02h,A2h,45h,00h,00h,01h,44h,8Ah,80h,00h,02h,A2
45h,00h,00h,01h,44h,8Ah,80h,00h,02h,A2h,40h,00h,00h,00h,04
80h,00h,00h,00h,02h,40h,00h,00h,00h,04h,80h,00h,00h,00h,62
40h,00h,00h,03h,84h,80h,00h,00h,1Ch,02h,40h,00h,00h,60h,04

14

80h,00h,03h,80h,02h,40h,00h,1Ch,00h,04h,80h,00h,60h,00h,02
40h,03h,80h,00h,04h,80h,0Ch,00h,00h,02h,40h,70h,00h,00h,04
83h,80h,00h,00h,02h,4Ch,00h,00h,00h,04h,80h,00h,00h,00h,02
40h,00h,00h,00h,04h,80h,00h,00h,00h,02h,4Ah,AAh,AAh,AAh,A4
85h,55h,55h,55h,42h,4Ah,AAh,AAh,AAh,A4h,85h,55h,55h,55h,42
4Ah,AAh,AAh,AAh,A4h,85h,00h,05h,00h,02h,4Ah,08h,0Ah,80h,04
85h,00h,05h,00h,02h,4Ah,80h,0Ah,80h,04h,85h,00h,05h,00h,02
4Ah,80h,0Ah,80h,04h,85h,00h,05h,00h,02h,4Ah,80h,0Ah,80h,04
85h,55h,55h,00h,02h,42h,AAh,AAh,00h,04h,81h,55h,54h,00h,02
40h,AAh,A8h,00h,04h,80h,55h,50h,00h,02h,40h,00h,00h,00h,04
80h,00h,00h,00h,02h,40h,00h,00h,00h,04h,80h,2Ah,AAh,A8h,02
40h,55h,55h,54h,04h,80h,AAh,AAh,AAh,02h,41h,55h,55h,55h,04
82h,AAh,AAh,AAh,82h,45h,40h,00h,05h,44h,8Ah,80h,00h,02h,A2
45h,00h,00h,01h,44h,8Ah,80h,00h,02h,A2h,45h,00h,00h,01h,44
8Ah,80h,00h,02h,A2h,45h,00h,00h,01h,44h,8Ah,80h,00h,02h,A2
45h,00h,00h,01h,44h,8Ah,80h,00h,02h,A2h,45h,40h,00h,05h,44
82h,AAh,AAh,AAh,82h,41h,55h,55h,55h,04h,80h,AAh,AAh,AAh,02
40h,55h,55h,54h,04h,80h,2Ah,AAh,A8h,02h,40h,00h,00h,00h,04
80h,00h,00h,00h,02h,40h,00h,00h,00h,04h,80h,AAh,00h,02h,A2
41h,55h,00h,01h,44h,82h,AAh,80h,02h,A2h,45h,55h,40h,01h,44
8Ah,AAh,A0h,02h,A2h,45h,45h,50h,01h,44h,8Ah,82h,A8h,02h,A2
45h,01h,54h,01h,44h,8Ah,80h,AAh,02h,A2h,45h,00h,55h,01h,44
8Ah,80h,2Ah,82h,A2h,45h,00h,15h,55h,44h,8Ah,80h,0Ah,AAh,A2
45h,00h,05h,55h,44h,8Ah,80h,02h,AAh,82h,40h,00h,01h,55h,04
80h,00h,00h,00h,02h,40h,00h,00h,00h,04h,80h,00h,00h,00h,02
40h,00h,00h,00h,04h,AAh,AAh,AAh,AAh,AAh,55h,55h,55h,55h,54h

0X1D,0X2F,0X00,0X0A
[Print Sample]

[String Input]

Select double width


0X1D,0X2A, 0X12, 0X05,
AAh,AAh,AAh,AAh,AAh,55h,55h,55h,55h,54h,80h,00h,00h,00h,02
40h,00h,00h,00h,04h,80h,00h,00h,00h,02h,40h,00h,00h,00h,04
8Ah,AAh,AAh,AAh,A2h,45h,55h,55h,55h,44h,8Ah,AAh,AAh,AAh,A2
45h,55h,55h,55h,44h,8Ah,AAh,AAh,AAh,A2h,45h,00h,50h,01h,44
8Ah,80h,A8h,02h,A2h,45h,00h,50h,01h,44h,8Ah,80h,A8h,02h,A2
45h,00h,50h,01h,44h,8Ah,80h,A8h,02h,A2h,45h,00h,50h,01h,44
8Ah,80h,A8h,02h,A2h,45h,00h,00h,01h,44h,8Ah,80h,00h,02h,A2
40h,00h,00h,00h,04h,80h,00h,00h,00h,02h,40h,00h,00h,00h,04
80h,AAh,00h,02h,A2h,41h,55h,00h,01h,44h,82h,AAh,80h,02h,A2
45h,55h,40h,01h,44h,8Ah,AAh,A0h,02h,A2h,45h,45h,50h,01h,44
8Ah,82h,A8h,02h,A2h,45h,01h,54h,01h,44h,8Ah,80h,AAh,02h,A2
45h,00h,55h,01h,44h,8Ah,80h,2Ah,82h,A2h,45h,00h,15h,55h,44
8Ah,80h,0Ah,AAh,A2h,45h,00h,05h,55h,44h,8Ah,80h,02h,AAh,82
40h,00h,01h,55h,04h,80h,00h,00h,00h,02h,40h,00h,00h,00h,04
80h,00h,00h,00h,02h,40h,15h,55h,50h,04h,80h,2Ah,AAh,A8h,02
40h,55h,55h,54h,04h,80h,AAh,AAh,AAh,02h,41h,55h,55h,55h,04
82h,A8h,00h,2Ah,82h,45h,50h,00h,15h,44h,8Ah,A0h,00h,0Ah,A2
45h,40h,00h,05h,44h,8Ah,80h,00h,02h,A2h,45h,00h,00h,01h,44
8Ah,80h,00h,02h,A2h,45h,00h,00h,01h,44h,8Ah,80h,00h,02h,A2
45h,00h,00h,01h,44h,8Ah,80h,00h,02h,A2h,40h,00h,00h,00h,04
80h,00h,00h,00h,02h,40h,00h,00h,00h,04h,80h,00h,00h,00h,62
40h,00h,00h,03h,84h,80h,00h,00h,1Ch,02h,40h,00h,00h,60h,04
80h,00h,03h,80h,02h,40h,00h,1Ch,00h,04h,80h,00h,60h,00h,02
40h,03h,80h,00h,04h,80h,0Ch,00h,00h,02h,40h,70h,00h,00h,04
83h,80h,00h,00h,02h,4Ch,00h,00h,00h,04h,80h,00h,00h,00h,02
40h,00h,00h,00h,04h,80h,00h,00h,00h,02h,4Ah,AAh,AAh,AAh,A4
85h,55h,55h,55h,42h,4Ah,AAh,AAh,AAh,A4h,85h,55h,55h,55h,42
4Ah,AAh,AAh,AAh,A4h,85h,00h,05h,00h,02h,4Ah,08h,0Ah,80h,04
85h,00h,05h,00h,02h,4Ah,80h,0Ah,80h,04h,85h,00h,05h,00h,02
4Ah,80h,0Ah,80h,04h,85h,00h,05h,00h,02h,4Ah,80h,0Ah,80h,04
85h,55h,55h,00h,02h,42h,AAh,AAh,00h,04h,81h,55h,54h,00h,02
40h,AAh,A8h,00h,04h,80h,55h,50h,00h,02h,40h,00h,00h,00h,04
80h,00h,00h,00h,02h,40h,00h,00h,00h,04h,80h,2Ah,AAh,A8h,02
40h,55h,55h,54h,04h,80h,AAh,AAh,AAh,02h,41h,55h,55h,55h,04
82h,AAh,AAh,AAh,82h,45h,40h,00h,05h,44h,8Ah,80h,00h,02h,A2
45h,00h,00h,01h,44h,8Ah,80h,00h,02h,A2h,45h,00h,00h,01h,44
8Ah,80h,00h,02h,A2h,45h,00h,00h,01h,44h,8Ah,80h,00h,02h,A2
45h,00h,00h,01h,44h,8Ah,80h,00h,02h,A2h,45h,40h,00h,05h,44
82h,AAh,AAh,AAh,82h,41h,55h,55h,55h,04h,80h,AAh,AAh,AAh,02
40h,55h,55h,54h,04h,80h,2Ah,AAh,A8h,02h,40h,00h,00h,00h,04
80h,00h,00h,00h,02h,40h,00h,00h,00h,04h,80h,AAh,00h,02h,A2
41h,55h,00h,01h,44h,82h,AAh,80h,02h,A2h,45h,55h,40h,01h,44
8Ah,AAh,A0h,02h,A2h,45h,45h,50h,01h,44h,8Ah,82h,A8h,02h,A2
45h,01h,54h,01h,44h,8Ah,80h,AAh,02h,A2h,45h,00h,55h,01h,44
8Ah,80h,2Ah,82h,A2h,45h,00h,15h,55h,44h,8Ah,80h,0Ah,AAh,A2
45h,00h,05h,55h,44h,8Ah,80h,02h,AAh,82h,40h,00h,01h,55h,04
80h,00h,00h,00h,02h,40h,00h,00h,00h,04h,80h,00h,00h,00h,02
40h,00h,00h,00h,04h,AAh,AAh,AAh,AAh,AAh,55h,55h,55h,55h,54h

GS,0x2F,0x01,0x0A

15

[Print Sample]

GS B n
[Name]

Turn white/black reverse printing mode on/off

[Format]

ASCII
Hex
Decimal

GS
1D
29

B
42
66

n
n
n

[Range] 0 n 255
[Description]

Turns white/black reverse printing mode on or off.


When the LSB of n is 0, white/black reverse printing
mode is turned off.
When the LSB of n is 1, white/black reverse printing
mode is turned on.

[String Input]

Turn white/black reverse printing mode on


0x1D, 0X42,0X01,0X41,0X41, 0X41, 0X41, 0X41, 0X0A

[Print Sample]

[String Input]

Turn white/black reverse printing mode off


0x1D, 0X42,0X00,0X42,0X42, 0X42, 0X42, 0X42, 0X0A

[Print Sample]
BBBBB

GS L nL Nh
[Name]

Set left margin

[Format]

ASCII
Hex
Decimal

GS
1D
29

L
4C
76

nL
nL
nL

[Range] 0 nL 255
0 nH 255
[Default]

nL = 0, nH = 0

16

nH
nH
nH

[Description]

In standard mode, sets the left margin to (nL + nH 256)


(horizontal motion unit) from the left edge of the printable
Area.The result calculated by above formula should not
be More than 48.

[String Input]
0X1D,0X4C,0X00,0X00,0X41,0X41,0X41,0X41,0X41,0X0A
[Print Sample]
AAAAA
[String Input]
0X1D,0X4C,0X05,0X00,0X41,0X41,0X41,0X41,0X41,0X0A
[Print Sample]
AAAAA
[String Input]
0X1D,0X4C,0X14,0X00,0X41,0X41,0X41,0X41,0X41,0X0A
[Print Sample]
AAAAA

GS P x y
[Name]

Set horizontal and vertical motion units

[Format]

ASCII
Hex
Decimal

GS
1D
29

P
50
80

x
x
x

y
y
y

[Range] 0 x 255
0 y 255
[Description]

Sets the horizontal and vertical motion units to 1/x and


1/y inches, respectively.
When x = 0, the default setting of horizontal value is
used.
When y = 0, the default setting of vertical value is
used.

[String Input]

Set horizontal and vertical motion units and set line spacing to 30
0x1D,0x50,0XB4,0XB4,0X1B,0X03,0X1E,0X41,0X41,0X41,0X41,0X41,0X0A,
0X42,0X42,0X42,0X42,0X42,0X0A,

[Print Sample]
AAAAA
BBBBB
[String Input]

change horizontal and vertical motion unit and set line spacing to 30
0x1D,0x50,0XB4,0X5A,0X1B,0X03,0X1E,0X43,0X43,0X43,0X43,0X43,0X0A,
0X44,0X44,0X44,0X44,0X44,0X0A, 0X45,0X45,0X45,0X45,0X45,0X0A,

[Print Sample]
CCCCC
DDDDD

17

EEEEE
GS W nL nH
[Name]

Set printing area width

[Format]

ASCII GS
Hex
1D
Decimal 29

W
57
87

nL
nL
nL

nH
nH
nH

[Range] 0 nL 255
0 nH 255
[Description]

In standard mode, sets the printing area width to


(nL + nH 256) (horizontal motion unit).
The result calculated by above formula should not be more than 48.

[String Input]

following sequence prints character


0X30,0X31,0X32,0X33,0X34,0X35,0X36,0X37,0X38,0X39,0X30,0X31,
0X32,0X33,0X34,0X35,0X36,0X37,0X38,0X39,0x30,0X31,
0X32,0X33,0X34,0X35,0X36,0X37,0X38,0X0A
Following sequence sets printing area width to (30 + 0*256)*horizontal unit
0x1D,0X57,0X1E,0X00d,0X41,0X42,0X43,0X44,0X45,0X46,0X42,0X43,0X44,
0X45,0X46,0X47,0X48,0X49,0X4A,0X4B,0X4C,0X4D,0X4E,0X4F,0X50,0X51,
0X52,0X53,0X54,0X55,0X56,0X57,0X58,0X59,0X5A,0X41,0X42,0X43,0X44,
0X45,0X46,0X42,0X43,0X44,0X45,0X46,0X47,0X48,0X49,0X4A,0X4B, 0X0A

[Print Sample]
01234567890123456789012345678
ABCDEFGHIJKLMNOPQRS
TUVWXYZABCDEFGHIJK

ESC e n
[Name]

Print and reverse feed n lines

[Format]

ASCII
Hex
Decimal 27

ESC
1B
101

e
65

n
n

[Range]
0 <= N <=2
[Description]

Prints the data in the print buffer and feeds n lines in the
reverse direction.

18

[String Input]
0X4D,0X41,0X45,0X53,0X54,0X52,0X4F,0X53,0X0A,0X53,0X59,0X53,0X54,0X45,0
X4D,0X1B, 0X65,0X01,0X20,0X20,0X20,0X20,0X20,0X20,0X20,0X20,0X20, 0X4D,
0X41, 0X45, 0X53,0X54,0X52,0X4F,0X53,0X0A
[Print Sample]

Prints MAESTROS on on line then prints SYSTEMS on next line.


After this reverses motor by one line and then prints MEDILINE
MAESTROS MEDILINE
SYSTEM

ESC K n
[Name]

Print and reverse feed

[Format] ASCII

ESC
Hex
Decimal

K
1B
27

n
4B
75

n
n

[Range]

0 n 255

[Default]

None

[Description]

Prints the data in the print buffer and feeds the paper n
(vertical motion unit) in the reverse direction.

[String input]
0x41,0x41,0x41,0x41,0x41,0x0A,0x042,0x42,0x42,0x42,0x42,0x1B,0x4B,0x1E,
0X20, 0X20, 0X20, 0X20, 0X20, 0X20,0X43,0X43,0X43,0X43,0X43,0X0A
[Print Sample]

AAAAA CCCCC
BBBBB

ESC G n
[Name]

Turn double-strike mode on/off

[Format]

ASCII
Hex
Decimal

ESC
1B
27

G
47
71

n
n
n

[Range] 0 n 255
[Default]

n=0

[Description]

19

Turns double-strike mode on or off.


When the LSB of n is 0, double-strike mode is turned off.
When the LSB of n is 1, double-strike mode is turned on.
[String Input]

Select double strike mode


0x1B,0X47,0x01, 0X4D, 0X41, 0X45, 0X53,0X54,0X52,0X4F,0X53,0X0A

[Print Sample]
MAESTROS
[String Input]

Select double strike mode


0x1B,0X47,0x0, 0X4D, 0X41, 0X45, 0X53,0X54,0X52,0X4F,0X53,0X0A

[Print Sample]
MAESTROS

ESC! n
[Name]

Select print mode(s)

[Format]

ASCII ESC
Hex
1B
Decimal 27

!
21
33

n
n
n

[Range] 0 n 255
[Description] Selects or cancels print modes collectively using n as
follows:
Bit
0
1,2
3
4
5
6
7

Off/On
Off
On
0n
Off
Off
On
Off
on
Off
On

[String Input]

Function
12 * 24 font normal
9 * 24 font normal
Undefined
12 * 24 font bold (if bit 0 = 0)
9 * 24 font bold (if bit 0 = 1)
Not used
Double height mode not selected
Double height mode selected
Double width off
Double width on
Undefined
Underline mode not selected
Underline mode selected

Select 12*24 font


0x1B,0X21, 0X00,0X4D,0X41,0X45,0X53,0X54,0X52,0X4F,0X53 ,0X20 ,
0X4D,0X45,0X44,0X49,0X4C,0X49,0X4E,0X45,0X0A

[Print Sample]
MAESTROS MEDILINE
[String Input]

Select 9*24 font


0x1B,0X21, 0X01,0X4D,0X41,0X45,0X53,0X54,0X52,0X4F,0X53 ,0X20 ,
0X4D,0X45,0X44,0X49,0X4C,0X49,0X4E,0X45,0X0A

[Print Sample]
MAESTROS MEDILINE

20

[String Input]

Select 12*24 bold font


0x1B,0X21, 0X08,0X4D,0X41,0X45,0X53,0X54,0X52,0X4F,0X53 ,0X20 ,
0X4D,0X45,0X44,0X49,0X4C,0X49,0X4E,0X45,0X0A

[Print Sample]
MAESTROS MEDILINE
[String Input]

Select 9*24 bold font


0x1B,0X21, 0X09,0X4D,0X41,0X45,0X53,0X54,0X52,0X4F,0X53 ,0X20 ,
0X4D,0X45,0X44,0X49,0X4C,0X49,0X4E,0X45,0X0A

[Print Sample]
MAESTROS MEDILINE
[String Input]

Select 12*24 font and double height on


0x1B,0X21, 0X10,0X4D,0X41,0X45,0X53,0X54,0X52,0X4F,0X53 ,0X20 ,
0X4D,0X45,0X44,0X49,0X4C,0X49,0X4E,0X45,0X0A

[Print Sample]

MAESTROS MEDILINE
[String Input]
[Print Sample]

[String Input]

Select 12*24 font and double width on


0x1B,0X21, 0X20,0X4D,0X41,0X45,0X53,0X54,0X52,0X4F,0X53 ,0X20 ,
0X4D,0X45,0X44,0X49,0X4C,0X49,0X4E,0X45,0X0A
MAESTROS MEDIL
INE
Select 12*24 font and underline on
0x1B,0X21, 0X80,0X4D,0X41,0X45,0X53,0X54,0X52,0X4F,0X53 ,0X20 ,
0X4D,0X45,0X44,0X49,0X4C,0X49,0X4E,0X45,0X0A

[Print Sample]
MAESTROS MEDILINE

ESC v
[Name]

Transmit paper sensor status

[Format]

ASCII
Hex
Decimal

ESC
1B
27

v
76
118

[Range] None
[Default] None

21

[Description]

Transmits the status of paper sensor(s) as 1 byte of data.


Transmits 0x0C if paper not present else transmits 0x00.

Bit
0

Off/On
Off

Function
Not used

1
2,3

off
0n
Off
0
off
off
Off

Not used
Paper not present
Paper present
Not used
Not used
Not used
Not used

4
5
6
7

GS ENQ
[Name]

Transmit real-time printer status

[Format]

ASCII
Hex
Decimal

GS
1D
29

ENQ
05
5

[Range] None
[Default]

None

[Description]

Transmits the printer status as 1 byte of data in real time.

bit
0
1
2
3
4
5
6
7

On\off
0ff
Off
Off
Off
Off
0n
Off
On
off
On

Description
Not used
Not used
Not used
Not used
Not used
Paper not present
Paper present
Error
No Error
Not used

FS E+n
Name

Correction of impressed energy.

Format

ASCII
Hex
Decimal

Range

0 <= n <=255

FS
1C
28

E
45
69

n
n
n

Description
22

Controls duty cycle of strobe line.Deafult value on n=175.


Duty cycle = n\255.
[String Input] Select 78 % duty cycle
0x1C,0X45,0XC8,0X4D,0X41,0X45,0X53,0X54,0X52,0X4F,0X53 ,0X20 ,
0X4D,0X45,0X44,0X49,0X4C,0X49,0X4E,0X45,0X0A

[Print Sample]
MAESTROS MEDILINE

[String Input] Select 35% duty cycle


0x1C,0X45,0XC8,0X4D,0X41,0X45,0X53,0X54,0X52,0X4F,0X53 ,0X20 ,
0X4D,0X45,0X44,0X49,0X4C,0X49,0X4E,0X45,0X0A

[Print Sample]
MAESTROS MEDILINE

ESC #
Name
Format

Print logo
ASCII
Hex
Decimal

Range

0 <= x <= 48
0 <= y <= 255
Defines downloaded logo x bytes in horizontal direction and y dots in
Vertical direction.
d indicates bit image data. It defines bit printed to 1 and not printed to
0.
This command prints data every time x limit is exceeded.

Description

ESC
1B
27

#
23
35

x y [d1..d(x y)]
x y [d1..d(x y)]
x y [d1..d(x y)]

and (yL+ 256 *yH) dots in Vertical direction.


d indicates bit image data. It defines bit printed to 1 and not printed to
0.
j select double height if set to one else selects normal height if set to zero.
This command prints data only when ((xL+ 256 *xH)* ( xL+ 256 *xH))]
limit is exceeded.
If logo is to be printed in normal height then double height must be
canceled using ESC! Command if selected previously.
[String Input]
1Bh ,23h,28h,52h,
00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,40h,00h,0
0h,80h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00
h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,03h,7Fh,FFh,E9h,6Bh,5Bh,FFh,F
Eh,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00

23

h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,1Fh,C3h,84h,14h,25h,28h,42h,1Fh,00h,00h
,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,0
0h,00h,00h,00h,00h,00h,00h,00h,1Fh,FEh,54h,94h,C5h,B5h,8Dh,5Ah,C9h,F8h,00h,00h,00h,
00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,0
0h,00h,00h,00h,00h,01h,FEh,A5h,A1h,C6h,5Ah,84h,73h,49h,67h,3Fh,80h,00h,00h,00h,00h,
00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,0
0h,00h,00h,1Fh,F6h,B0h,95h,29h,29h,4Bh,58h,76h,B5h,B7h,E0h,00h,00h,00h,00h,00h,00h,
00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,0
3h,F2h,12h,8Eh,51h,28h,C6h,61h,28h,84h,10h,90h,F8h,00h,00h,00h,00h,00h,00h,00h,00h,0
0h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,7Fh,DAh,D
5h,EBh,5Bh,9Eh,B5h,2Dh,2Ch,92h,CEh,5Ah,5Eh,00h,00h,00h,00h,00h,00h,00h,00h,00h,00
h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,03h,F8h,29h,48h,24h,
A0h,C2h,4Ah,F5h,A5h,CFh,6Bh,57h,AFh,80h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00
h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,0Fh,43h,84h,14h,B2h,95h,29h
,28h,0Ah,10h,60h,A5h,10h,A4h,E0h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h
,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,FFh,68h,F3h,9Eh,96h,B1h,ADh,4Bh,6B
h,19h,B6h,B1h,D6h,B2h,E0h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,0
0h,00h,00h,00h,00h,00h,00h,00h,00h,00h,03h,F4h,96h,18h,D5h,6Ah,53h,14h,B5h,29h,69h,1
2h,8Eh,52h,50h,70h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00
h,00h,00h,00h,00h,00h,00h,00h,5Fh,D6h,A5h,A9h,48h,43h,2Ch,D6h,12h,A5h,2Dh,CAh,6B
h,1Dh,B9h,F8h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00
h,00h,00h,00h,00h,00h,00h,7Eh,CEh,59h,2Ch,65h,2Ch,A5h,51h,CAh,A1h,51h,4Ah,21h,21h,
0Ch,1Ch,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,
00h,00h,00h,00h,07h,F9h,6Bh,4Bh,96h,BCh,E6h,B5h,BDh,6Ah,3Ah,5Bh,63h,ADh,A4h,A5
h,CEh,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h
,00h,00h,00h,1Fh,A5h,ACh,E4h,D2h,85h,2Ah,53h,04h,95h,CBh,4Ah,9Ch,B4h,B3h,9Ah,6E
h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,
00h,00h,3Dh,9Ch,96h,A4h,88h,49h,41h,04h,94h,50h,24h,20h,C2h,4Ah,10h,49h,A2h,00h,00
h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,01h,
FBh,DEh,F6h,F9h,EFh,69h,2Dh,67h,D6h,D6h,A5h,6Bh,4Bh,63h,2Dh,6Ch,3Ah,00h,00h,00h
,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,07h,98h,4
2h,4Ah,0Ah,20h,ACh,E4h,B4h,A5h,4Ah,5Ah,50h,65h,2Dh,A4h,23h,CAh,00h,00h,00h,00h,
00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,1Fh,EFh,39h,
EBh,EFh,9Ah,D5h,AAh,5Bh,28h,E5h,29h,4Fh,96h,94h,7Bh,DAh,6Ah,00h,00h,00h,00h,00h,
00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,3Eh,BBh,DEh,D6h
,A9h,ADh,4Ch,A5h,A1h,C6h,5Ah,94h,31h,69h,63h,A5h,29h,AAh,00h,00h,00h,00h,00h,00h
,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,74h,A5h,29h,08h,A4h,
90h,8Ah,52h,18h,25h,14h,43h,28h,94h,28h,52h,88h,A2h,00h,00h,00h,00h,00h,00h,00h,00h,
00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,01h,F7h,3Bh,94h,D6h,39h,6Bh,61h,
28h,E4h,92h,C6h,B5h,CDh,4Bh,4Bh,6Dh,EAh,3Eh,00h,00h,00h,00h,00h,00h,00h,00h,00h,0
0h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,03h,72h,92h,C6h,52h,CBh,27h,FFh,FFh,F
Fh,BDh,4Ah,12h,10h,61h,25h,04h,25h,C2h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,
00h,00h,07h,FEh,00h,00h,00h,00h,1Fh,FCh,0Fh,5Ah,FAh,FFh,DFh,6Bh,BFh,FFh,FFh,FFh,
FFh,EBh,CAh,53h,2Ch,F5h,B5h,AAh,4Ah,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,0
0h,00h,0Fh,FEh,00h,00h,00h,00h,1Fh,FCh,1Fh,6Bh,1Dh,29h,52h,A4h,98h,00h,00h,00h,00h,
50h,6Bh,58h,D6h,ADh,58h,10h,E6h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h
,0Fh,FFh,80h,00h,00h,00h,7Fh,FCh,36h,A5h,AAh,94h,94h,31h,78h,00h,00h,00h,00h,4Eh,A
1h,0Dh,4Ah,41h,00h,89h,3Ch,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,0Fh,F
Fh,C0h,00h,00h,00h,7Fh,FCh,F6h,B7h,DEh,F7h,D7h,DDh,38h,00h,00h,00h,00h,4Ah,B1h,D

24

5h,6Bh,2Dh,4Fh,8Dh,9Ch,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,0Fh,9Fh,
C0h,00h,00h,00h,7Eh,FDh,92h,50h,42h,29h,29h,43h,9Fh,FFh,FFh,FFh,FFh,E2h,8Eh,43h,28
h,E5h,1Fh,88h,78h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,0Fh,9Fh,E0h,00
h,00h,01h,FCh,FDh,CFh,7Fh,7Bh,ADh,EEh,74h,DAh,C6h,32h,D9h,21h,1Dh,6Bh,38h,96h,B
1h,DFh,9Eh,F0h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,0Fh,DFh,F0h,00h,
00h,03h,F8h,FDh,68h,C0h,00h,00h,05h,B1h,CAh,58h,00h,00h,1Ch,94h,20h,00h,00h,00h,1F
h,80h,20h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,0Fh,CFh,F8h,00h,00h,07
h,F8h,FCh,A6h,80h,3Fh,FFh,00h,DBh,6Bh,E0h,7Fh,F0h,16h,D5h,80h,FFh,F8h,00h,1Fh,80h
,00h,00h,00h,7Fh,80h,00h,07h,FCh,00h,00h,00h,01h,FFh,F0h,1Fh,C7h,F8h,00h,00h,0Fh,F0
h,FCh,B2h,97h,FFh,FFh,E0h,6Bh,AAh,0Bh,FFh,FFh,81h,62h,17h,FFh,FFh,27h,FFh,FFh,FE
h,1Fh,85h,FFh,80h,00h,FFh,FFh,F0h,00h,00h,3Fh,FFh,FEh,1Fh,87h,F8h,00h,00h,0Fh,F0h,F
Ch,8Eh,1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0h,0Fh,F8h,CFh,F0h,1Fh,FEh,00h,7Fh,F1h,F0h,7Fh
,00h,00h,00h,3Fh,F8h,1Fh,FFh,00h,0Fh,E0h,3Fh,F8h,7Eh,00h,00h,3Fh,E0h,00h,07h,FCh,B0
h,FFh,FFh,F2h,3Fh,4Dh,A8h,3Fh,FFh,FFh,F9h,6Fh,FFh,FFh,F0h,00h,1Fh,FFh,F0h,7Fh,00h,
00h,00h,0Fh,FFh,FFh,F8h,00h,1Fh,FFh,FFh,C0h,FEh,00h,00h,3Fh,C0h,00h,07h,FDh,48h,3F
h,FFh,F2h,7Fh,6Bh,B2h,03h,FFh,FFh,C1h,EBh,FFh,FFh,C0h,00h,0Fh,FFh,F0h,7Fh,00h,00h
,00h,00h,FFh,FFh,C0h,00h,07h,FFh,FFh,80h,00h,00h,00h,00h,00h,00h,03h,81h,68h,03h,FFh
,84h,00h,24h,89h,40h,3Fh,F8h,02h,00h,1Fh,F8h,00h,00h,01h,FFh,80h,00h,00h,00h,00h,00h,
0Fh,F8h,00h,00h,00h,3Fh,F0h,00h,00h,00h,00h,00h,00h,00h,00h,FDh,6Eh,A0h,00h,16h,B6h
,39h,EBh,6Dh,00h,03h,D3h,FFh,C0h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00
h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,3Ch,A6h,B2h,D6h,F6h,5Ah,CDh,
2Dh,2Ch,E6h,B4h,95h,7Eh,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,
00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,1Eh,3Ah,DEh,4Bh,59h,EBh,6Bh,9Ah,D
Eh,B5h,F3h,EFh,C0h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,0
0h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,07h,EBh,6Bh,BDh,2Dh,5Ah,A4h,D9h,CBh,4
Bh,1Ch,BFh,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,0
0h,00h,00h,00h,00h,00h,00h,00h,00h,00h,03h,96h,B6h,6Bh,D6h,D7h,7Bh,6Dh,75h,BCh,A5
h,F0h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,
00h,00h,00h,00h,00h,00h,00h,00h,03h,F2h,A5h,BDh,29h,A4h,A5h,DAh,5Ah,CFh,5Fh,D0h,
00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,F
Fh,FFh,FFh,FFh,FFh,FFh,FFh,C0h,7Fh,32h,82h,84h,52h,C8h,25h,0Ch,AFh,F7h,00h,5Fh,FF
h,FFh,FFh,FFh,FFh,FFh,FFh,FFh,FFh,FFh,FFh,FFh,FFh,FFh,FFh,FFh,FFh,FFh,FFh,FEh,FF
h,FFh,FFh,FFh,FFh,FFh,FFh,F8h,07h,FEh,FAh,FFh,DFh,6Bh,B9h,D7h,FEh,00h,03h,FFh,FF
h,FFh,FFh,FFh,FFh,FFh,FFh,FFh,FFh,FFh,FFh,FFh,FFh,FFh,FFh,FFh,FFh,FFh,FFh,FEh,00
h,00h,00h,00h,00h,00h,00h,00h,00h,7Fh,DBh,29h,6Ah,E7h,D7h,FFh,E0h,00h,00h,00h,00h,0
0h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00
h,00h,00h,00h,00h,00h,00h,0Fh,FFh,FCh,94h,FFh,FFh,7Eh,00h,00h,00h,00h,00h,00h,00h,00
h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,
00h,00h,00h,00h,00h,07h,FFh,FFh,FFh,C0h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,
00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,0
0h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00
h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,38h,00h,39h,E0h,00h
,00h,00h,00h,38h,00h,00h,00h,0Fh,80h,00h,00h,00h,00h,38h,00h,00h,00h,00h,00h,00h,3Fh,
00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,38h,00h,38h,80h,00h,00h,00h,0
0h,38h,00h,00h,00h,0Fh,80h,00h,00h,00h,00h,38h,00h,00h,00h,00h,00h,00h,18h,00h,00h,00
h,00h,00h,00h,00h,00h,00h,3Fh,87h,DFh,83h,F8h,39h,F8h,38h,E1h,CFh,01h,F3h,80h,FFh,0
7h,C0h,3Eh,0Fh,BCh,1Eh,7Ch,07h,F0h,38h,0Fh,80h,3Eh,F7h,07h,80h,FAh,1Fh,81h,CEh,03
h,E1h,E3h,F8h,1Eh,1Eh,7Fh,E3h,FFh,87h,FEh,3Fh,F8h,38h,E1h,FFh,C7h,FBh,80h,FFh,3Fh
,F0h,FFh,8Fh,FFh,1Fh,FEh,1Fh,FEh,38h,7Fh,E1h,FFh,F3h,87h,80h,FFh,3Fh,F1h,FEh,01h,C
1h,C7h,FCh,1Eh,1Eh,40h,E3h,C3h,CCh,0Eh,3Ch,2Eh,38h,E1h,E1h,C7h,8Fh,80h,38h,78h,39
h,E3h,CFh,83h,9Eh,8Fh,19h,2Eh,38h,F0h,79h,E1h,F1h,C7h,80h,18h,68h,71h,FCh,01h,F3h,8
Fh,0Fh,9Eh,1Eh,FFh,E3h,C1h,C1h,FEh,38h,0Eh,38h,E1h,C1h,C7h,03h,80h,38h,7Fh,FBh,C0
h,0Fh,83h,9Eh,0Fh,38h,0Eh,38h,F0h,7Bh,E0h,F1h,C7h,00h,38h,E0h,71h,C0h,01h,E3h,1Ch,
07h,9Eh,1Eh,FFh,E3h,C1h,C7h,CEh,38h,0Eh,38h,E1h,C1h,C7h,03h,80h,38h,7Fh,FBh,C0h,0
Fh,83h,9Eh,0Fh,38h,0Eh,38h,F0h,7Bh,E0h,F0h,EEh,00h,38h,E0h,71h,C0h,00h,73h,9Ch,07h
,DCh,0Eh,C0h,03h,C1h,DCh,0Eh,3Ch,1Eh,38h,E1h,C1h,C7h,8Fh,80h,38h,78h,09h,E1h,CFh
,83h,9Eh,0Fh,38h,1Eh,38h,F0h,79h,E1h,F0h,ECh,00h,38h,F0h,71h,C0h,00h,3Fh,0Eh,0Fh,9
Eh,1Eh,7Fh,E7h,C3h,C7h,7Eh,3Fh,FCh,38h,E1h,C1h,C7h,FFh,80h,3Fh,3Fh,F9h,FFh,8Fh,83
h,9Eh,0Fh,1Fh,FEh,38h,7Fh,F1h,FFh,F0h,F8h,00h,3Ch,3Fh,F1h,E0h,00h,3Fh,07h,FCh,1Fh,

26

FEh,0Eh,00h,00h,03h,C0h,00h,60h,00h,00h,00h,00h,03h,80h,01h,07h,80h,1Ch,00h,00h,00h,
00h,03h,C0h,00h,0Fh,00h,00h,70h,78h,00h,00h,07h,00h,00h,00h,0Eh,00h,E0h,03h,80h,00h,
00h,00h,00h,00h,00h,00h,00h,00h,00h,07h,87h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,0
0h,00h,00h,03h,E0h,F0h,78h,00h,00h,00h,00h,00h,00h,18h,00h,00h,00h,00h,00h,00h,00h,00
h,00h,00h,00h,00h,00h,00h,07h,FFh,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h
,01h,FFh,E1h,F0h,00h,00h,00h,00h,00h,01h,F8h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,
00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,0
0h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,0Ah
[Print Sample] prints maestros mediline logo
Maestros mediline
GS ( A
Name

Print test slip.

Format

ASCII
GS
Hex
1D
Decimal
29
prints test slip.

Description

(
28
40

A
41
65

[String Input] ASCII


0X1D, 0X28, 0X41, 0X0A
[Print Sample]
R50-2.0 (12/04/2007)
SERIAL = 9600 BAUD
8 DATA BIT
EVEN PARITY
1 STOP BIT
PROTOCOL = ESCPOS
HEAD VOLTAGE = 7.1 V
HEAD TEMP = 30 degC
!#$%&()*+,-./0123456789::<
=>?@ABCDEFGHIJKLMNOPQRSTUVWXY
Z[\]^_`abcdefghijklmnopqrstuv
Wxyz{!}~
!#$%&()*+,-./0123456789::<
=>?@ABCDEFGHIJKLMNOPQRSTUVWXY
Z[\]^_`abcdefghijklmnopqrstuv
Wxyz{!}~
!#$%&()*+,-./0123456789::<
=>?@ABCDEFGHIJKLMNOPQRSTUVWXY
Z[\]^_`abcdefghijklmnopqrstuv
Wxyz{!}~

27

!#$%&()*+,-./0123456789::<
=>?@ABCDEFGHIJKLMNOPQRSTUVWXY
Z[\]^_`abcdefghijklmnopqrstuv
Wxyz{!}~

28

Das könnte Ihnen auch gefallen