30

Programming

How The Commands Are Described

Two-Byte Character Definitions

Some commands and parameters are used with a two-byte value definition because the internal structure of the printer's firmware limits access to values greater than 255. To represent values greater than 255 in this two-byte format, divide the value by 256. The whole number (quotient) is the value of the leading byte and the remainder (modulo) is the value of the trailing byte.

:

Example • To represent 731 in two-byte notation, divide 731 by 256. 731 ÷ 256 = 2 with a remainder of 219 (2 x 256 + 219 = 731)

Therefore, the two-byte representation of 731 is <2><219>.

P1003636-002

TTP 7030™ Technical Manual

10/05/2009

Page 30
Image 30
Zebra Technologies 7030 technical manual Two-Byte Character Definitions, Therefore, the two-byte representation of 731 is