Appendix A Data Compression - Dymo LabelWriter 450 Duo Label Printer Technical Reference Manual

Labelwriter 450 series printers
Hide thumbs Also See for LabelWriter 450 Duo Label Printer:
Table of Contents

Advertisement

Appendix A Data Compression

Data compression is done using a form of run length encoding. Bit seven, the sign bit, of
a compressed character represents the value to be printed: 0 = white space, 1 = printed
pixel. Bits 0 through 6 represent the number of consecutive bits of the selected value
minus one, as shown in the table below.
Bit
Function
Value
Examples:
00h = 1 white pixel
80h = 1 printed pixel
0Fh = 16 white pixels
FFh = 128 printed pixels
The data is handled by the printers on a line-by-line basis, so compressed lines
may be intermixed with normal lines. In addition, compressed mode also uses the
Bytes-per-Line variable to determine how much data to expect from the host for
each line. However, the sum of the pixels must be equal to the Bytes-per-Line
variable multiplied by 8. No error checking is done on the incoming data and
unexpected results will occur if the above caution is not observed.
© 2002-2008 Sanford, L.P.
Compressed Data Byte Layout
7
6
5
Pixel color
(Number of pixels to print)-1
White = 0
Black = 1
4
3
2
1
0..127
0
Page 21

Advertisement

Table of Contents
loading

This manual is also suitable for:

Labelwriter 450Labelwriter 450 turbo

Table of Contents