![]() |
![]() |
![]() |
a function called at the end of each slice
int my_endslice( struct _doc_ctrl *c );
This function is called at the end of each slice. The c->ram_buffer member contains a complete image of the data to be printed, and c->slice defines the area. This function should process this data, one line at a time, convert it to dithered bilevel data, and pass it to the printer.
![]() |
You should handle any signals in this routine so that the printing won't stop in midslice. Otherwise, the printer may get left waiting for raw data and won't respond to any other command. |
The default version of this function does nothing.
Photon
Safety: | |
---|---|
Interrupt handler | Not applicable |
Signal handler | Not applicable |
Thread | Not applicable |
![]() |
![]() |
![]() |