CAPS Universe documentation  1.0.4
All you need to know to be successful
Data Fields
comp_data_header Struct Reference

This header leads the comressed data for compression algorithmus with ID 0x11. More...

Data Fields

uint32_t marker
 
uint32_t raw_data_length
 
uint16_t table_ptr [0x40]
 
uint8_t raw_data [0]
 

Detailed Description

The band's data is compressed with a printer specific compression algorithmus. Note the big endian (little?) notation of the multibyte members. This structure must be handled as the header of a dynamically sized memory. The amount of compressed data isn't a fixed value.

Note
What multibyte member must be in which notation (big or little) is unclear. Experiences show, the printer doesn't print anything to the paper, if I use big endian.
Member table_ptr is of type unsigned but meant negative, e.g. a stored '1' means '-1'

Field Documentation

◆ marker

uint32_t marker

Value of COMP_DATA_HEADER_MARKER

◆ raw_data_length

uint32_t raw_data_length

Length in bytes of the raw_data member

◆ table_ptr

uint16_t table_ptr[0x40]

List of pointers into the dictionary for redundant data

◆ raw_data

uint8_t raw_data[0]

The raw data in raw_data_length byte count


The documentation for this struct was generated from the following file: