Programming

System Related Commands

55

ESC & P n1...

n2

Set Parameter Value

1B 26 50 n1

...n2

hex

27 38 80 n1...

n2

decimal

 

A number of bytes in the flash PROM hold various parameter values called default parameters. One or several of them can be overridden temporarily with this command.

n1

n2

Parameter number, range 1 -255.

Parameter value.

See Default Parameter Settings on page 69.

The permanently stored parameters will be used again after a printer-reset command or at power ON.

The temporary values can, however, be stored in the flash PROM as permanent values with command <ESC>&<4>.

Set several parameters at once

ESC & P <0> <FromPar><ParCount><Data>

FromPar is the parameter number to start writing and ParCount is the number of bytes being sent. For every byte sent the parameter number is incremented.

Example • This example sets the first 5 tabs to 5, 10, 15, 20, and 25. (FromPar 15, ParCount 5)

<ESC>&P<0><15><5><5><10><15><20><25>«»

ESC NUL

 

Load Firmware

1B 00

Hex

27 0

Decimal

 

This command should be used when you integrate firmware loading into your kiosk program.

Note • Utility programs to load firmware into the printer are available from

http://www.zebra.com .

This command should only be used when loading new firmware into the printer. See also Firmware on page 104

10/05/2009

TTP 7030™ Technical Manual

P1003636-002

Page 55
Image 55
Zebra Technologies TTP 7030 technical manual Set several parameters at once, See Default Parameter Settings on