Zebra Technologies TTP 2000 Photo Scanner User Manual


 
Programming
How the Commands are Described
36
P1002902-002 TTP 2000 Technical Manual 09/14/2009
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>.