![]() |
CAPS Universe documentation
1.0.4
All you need to know to be successful
|
Collected line data to process a Brother 1027 method print data block. More...
Data Fields | |
| uint16_t * | out |
| size_t | avail_cnt |
| size_t | bused_cnt |
| size_t | blines |
| int | block_started |
| unsigned | top |
| unsigned | left |
| unsigned | pcnt |
| size_t | llength |
A block (refer cm1027_block_data_header) is one binary blob the printer accepts as its printing data. It contains encoded data according to method 1027 and additional information like the position of the to be printed dots on the medium (top, left and pcnt).
| uint16_t* out |
must be freed after use
| size_t avail_cnt |
size in words of buffer in *out
| size_t bused_cnt |
used words in *out for this block
| size_t blines |
lines in this block
| int block_started |
'0' if currently no block is in work and '1' then is top valid
| unsigned top |
Number of the first line of this block
| unsigned left |
Number of the leftmost pixel in all lines of this block
| unsigned pcnt |
Pixel count of all lines in this block
| size_t llength |
Active line length in words