4
1-2. Language Description
Rules and syntax
EZPL commands have parameter strings associated with them. The command begins with a letter as ID for
each function. The comman
(
,
)
is the delimiter to separate each parameter. The “CR” Carriage Return.
Control and Setup commands use the tilde
(
~
)
and caret
(
^
)
prefix. Label formatting commands has no
prefix. Example: “~Ea,name, length”,”E” is an image download command, and
(
a,name,length
)
are three
parameters.
Control commands
1. Date/Time setting
Syntax
~Dm, d, y, h, i, s
Parameter
m = month (01~12)
d = date (01~31)
y = year (last two digits of year)
h = hour (00~23)
i = minutes (00~59)
s = seconds (00~59)
Description
The printer date and time setting. After setting, the printer will record the value even turn off the printer. If
want to add the date/time in the label format, sould combine with text command ^T and ^D.
2. Graphic download memory
Syntax
~Ea, name, length
Parameter
a = P or p : PCX file
a = B or b : BMP file
name : Name of image(up to 20 character)
length : Length of image byte
Description
Download monochrome image onto memory. Printer will beep 1 time after completely downloaded.
If you use the same file name, the printer will show
“
REPEAT FILE NAME
”
, and the download will be not
being accepted
(
refer page 19
)
3. Graphic mond
Syntax
~G
Parameter
None
Description
Printer is in the image-receiving mode. Send the command ~G, the Image data is directly set from host to the
printing buffer.
4. Bit-Mapped font download
Syntax
~Jn
Parameters
n = character, From a ~ z or A ~ Z; at least up to 26 characters.
Description
The command used for font loading. Printer will beep 1 time after completely downloaded.
If use the same file name, the printer will show
“
E
”
.
The downloaded font are compatible with HP Laser Jet II Plus (PCL-4).
Download the
“
HVR0OE1A.SFP
”
text file to memory. Use
“
A
”
to do the character code name.
Example
~JA
COPY HVR0OE1A.SFP PRN/B
Define A as HVR0OE1A.SFP
Send the order with the DOS mode.