COMMAND
HEX
VALUE
FUNCTION
ESC m DIR WIDTH COUNT GAP LENGTH X1 Y1
1B 6D …
DRAW PARALLEL LINES
PARAMETER : DIR WIDTH COUNT GAP LENGTH X1 Y1
BYTE : 1 2 2 4 4
4 4
Dir : PARALLEL LINE DIRECTION
'X' : PARALLEL HORIZONTAL LINES
'Y' : PARALLEL VERTICAL LINES
'x' : SPACED HORIZONTAL LINES
'y' : SPACED VERTICAL LINES
WIDTH : LINE WIDTH ( 01 .. 15)
COUNT : NUMBERS OF LINE ( 01 .. 99, AT MOST 99 LINES )
GAP : GAP (DOTS) BETWEEN EACH LINES INCLUDE LINE WIDTH
LENGTH: LINE LENGTH, MUST BE LARGER THAN 16 ( >= 16 )
X1,Y1 : THE MOST UPPER_LEFT STARTING POINT OF THE PARALLEL LINE
FUNCTION
ESC
o
CHAR
1B
6F
CHAR
SELECT
PRINTING
ORIENTATION
CHAR = p : SET PORTRAIT ORIENTATION
CHAR = l : SET LANDSCAPE ORIENTATION
CHAR = r : SET REVERSE LANDSCAPE ORIENTATION
ESC p nnnn STRING_DATA
1B 70 nnnn STRING_DATA PRINT
VERTICAL
STRING
nnnn : 4 DECIMAL DIGITS = BYTE NUMBER OF DATA STRING,
NO COMMAND ALLOW IN THE DATA STRING
STRING_DATA :
START FROM THE CURRENT POSITION TO PRINT DATA VERTICALLY,
AFTER PRINTING THE CURSOR POSITION, BACK TO PREVIOUS POSITION
BEFORE EXCUTING THIS COMMAND
ESC r XXXX,YYYY,xxxx,yyyy,n1,n2;
1B 72 …
DRAW RECTANGLE
DRAW RECTANGLE BASE ON TWO DIAGONAL POINTS (XXXX,YYYY) , (xxxx,yyyy)
LINE TYPE n1 : 0 : SOLID LINE 1 : DASH LINE
LINE WIDTH n2 : 1 7 DOTS
XXXX => X DIAGONAL STARTING POSITION
YYYY => Y DIAGONAL STARTING POSITION
xxxx => x DIAGONAL ENDING POSITION
yyyy => Y DIAGONAL ENDING POSITION
Output
Technology
Printcenter
45
Users
Guide
74