EasyManua.ls Logo

Zebra CPCL - PROGRAMMING FOR THE DISPLAY OPTION

Zebra CPCL
376 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Mobile Printer CPCLProgramming Manual P13-1
PROGRAMMING FOR THE DISPLAY OPTION
Introduction:
Printers with the LCD control panel option use the WML
language to create screens or “cards” for the display. This
section explains the WML tags and commands used to
create a menu for the LCD. The file should be named
INDEX.WML. This file can be sent to the printer via an
FTP session or by using Label Vista. By using a line like
$(vnd.zo.
parameter name)
you can display the
value of that parameter name as seen in example 1.
Refer to Section 14 of this manual for complete informa-
tion on available parameters.
Refer to Table 1 at the end of this section for information
on WML tags used by printers with the display option.
The first card to be displayed should always be called
“main”. The following example demonstrates the timer
function and uses this to refresh the LCD to give a cur-
rent battery voltage, head latch status, and paper out
status. In the example each line is followed by a CR/LF
(0x0D/0x0A).
Example 1:
This is a complete menu that demonstrates most of
the tags from Table 1 at the end of this section. The
<do> tag is shown is Example 2.
Language Tag
<wml>
Direct output to the LCD screen
<display>
Begin card named netset, with no title and a 10-second delay go
back to the main card.
<card id=”netset” title=” “ ontimer=”#main”>
<timer value=”100"></timer>
Display the IP address
<p>IP:$(vnd.zo.ip.addr)</p>
Line Break
<br/>
continued on next page

Related product manuals