Appendix C
ULPC Emulation Command Listing
COMMAND
HEX VALUE FUNCTION
ESC
%
1B
25
SWITCH
PRINTER
LANGUAGE
MODE
THIS COMMAND IS NOT SUPPORTED
ESC / n
1B 2F n
SET 2_BYTE FONT ROTATE
n : ROTATE DEGREE
n = 5 NORMAL ( 0 DEGREE )
n = 6 COUNTERCLOCKWISE 90 DEGREE
n = 7 CLOCKWISE 90 DEGREE
n = 8 180 DEGREE
ESC 6 n1 n2
1B 36 n1 n2
SET FONT SCALE
n1 : VERTICAL ENLARGE SCALE, RANGE : 1 <= n1 <= 8
n2 : HORIZONTAL ENLARGE SCALE, RANGE : 1 <= n2 <= 8
ESC 7 nnn
1B 37 nnn
SET LEFT MARGIN
nnn : 3 DECIMAL DIGITS, UNIT: 1/10 INCH
ESC 8 nnnn
1B 38 nnnn
SET LINE PITCH
LINE PITCH = FONT HEIGH + BLANK BETWEEN TWO LINES.
nnnn : 4 DECIMAL DIGITS, UNIT:DOT
ESC ; HH VV
1B 3B HH VV
DOWNLOAD BITMAP IMAGE
HH : 2 BYTES, WIDTH OF RASTER IMAGE.
VV : 2 BYTES, HEIGHT OF RASTER IMAGE.
HH and VV are binary data, HH must be time of 8
ESC < lt lw XXXX YYYY xxxx yyyy
1B 3C…
DRAW LINE FUNCTION
lt
: LINE TYPE : 0 = SOLID, 1 = DASH LINE
lw
: LINE WIDTH : FROM 0 TO 7 (DOTS)
XXXX
: 4 DIGITS X STARTING POSITION
YYYY
: 4 DIGITS Y STARTING POSITION
xxxx : 4 DIGITS X ENDING POSITION
yyyy : 4 DIGITS Y ENDING POSITION
CURSOR POSITION UNCHANGE AFTER EXCUTING THIS COMMAND
Output
Technology
Printcenter
45
Users
Guide
68