Basic WML not working in ZT410

sir,

We are trying to do basic WML screen in ZT410 priter but it is not showing results are required.

! CISDFCRC16

0000

INDEX.WML

0000004E

0000

<wml>

<display>

<card>

<p>Hello World!!</p>

</card>

</display>

</wml>

the same file we sent through USB and the same is shown in E: as INDEX.WML but when we re boot the printer it does not show required data as requested.

Our primary intention is to show support mail address on screen with toll free number for printer call log process.

Dmitry Prokhorov
Hello Kandarp,It may me not

Hello Kandarp,


It may me not enough to send your WML file to printer. Printer is using display.root_wml setting value to decide which control file is first processed by the printer’s front panel. And this setting may have improper value.

Seems you need to check value with SGD command:

! U1 getvar "display.root_wml"

In case it is not equal to your file name you can set it with:

! U1 setvar "display.root_wml" "INDEX.WML"

Also, for teste purposes you can show a card from your WML file on the front panel with following command:

! U1 setvar "display.load_card" "INDEX.WML#myCard"

It also requires your card to have id attribute this way:

<wml>

<display>

<card id="myCard">

<p>Hello World!!</p>

</card>

</display>

</wml>

See details here:

https://www.zebra.com/content/dam/zebra/manuals/printers/common/programming/zpl-zbi2-pm-en.pdf#page=720

Dmitry Prokhorov

Software Engineer, Kutir Mobility

Posted on behalf of Zebra Technologies

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Kandarp Bhatt
Dear DmitryMany thanks for

Dear Dmitry

Many thanks for your prompt responce I have get the result the only thing is it shows very narrow font

is there any way to increase the font size on Cards with WML command.

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Dmitry Prokhorov
Hello Kandarp,In this article

Hello Kandarp,

In this article you can find an example on how to change card font style and size:

WML Tutorial: Font Size and Style Tags Like Emphasis (em), Strong, Bold, Italic, Underline

Dmitry Prokhorov

Software Engineer, Kutir Mobility

Posted on behalf of Zebra Technologies

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Log in to post comments