Set several parameters at once, Esc & p, N1...n2 – Zebra Technologies TTP 7030 User Manual

Page 55: Esc nul

Advertising
background image

55

Programming

System Related Commands

10/05/2009

TTP 7030™ Technical Manual

P1003636-002

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.

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.

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

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

Firmware on page 104

ESC & P n1...n2

Set Parameter Value

1B 26 50 n1...n2

hex

27 38 80 n1...n2

decimal

n1

Parameter number, range 1 -255.

n2 Parameter

value.

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

Note •

Utility programs to load firmware into the printer are available from

http://www.zebra.com

.

Advertising