![]() |
CAPS Universe documentation
1.0.4
All you need to know to be successful
|
libcapsdriver internal data collection
Data Fields | |
| struct caps_pp_handle * | pc |
| const struct caps_generic_driver * | cb |
| void * | cb_data |
| FILE * | prn_stream |
| int | prn_desc |
| unsigned | prn_status |
| enum caps_drv_prn_tweaks | prn_tweaks |
| struct caps_ppd_base | printer_desc |
| unsigned | busy_due_to_printing |
| struct caps_rasterizer * | rstr |
| const struct caps_rstr_page_desc * | page |
| struct caps_rstr_page | page_setup |
| struct caps_rstr_raster | raster_desc |
| struct caps_pp_document_desc * | job_data |
| unsigned | job_status_set:1 |
| enum halftone_type | ht_method |
| enum caps_colour_format | emulate |
| struct caps_dot_monochrome * | mono_buf |
| unsigned | line_stride |
| struct caps_pp_handle* pc |
Connection to the printing coordinator
| const struct caps_generic_driver* cb |
Printer driver specific callbacks
| void* cb_data |
Data forwarded to the callbacks
| FILE* prn_stream |
Stream I/O to the printer
| int prn_desc |
Printer's file descriptor
| unsigned prn_status |
Printer's last status
| enum caps_drv_prn_tweaks prn_tweaks |
Required tweaks to make it work
| struct caps_ppd_base printer_desc |
A copy of the drivers printer description
| unsigned busy_due_to_printing |
'1' if the framework is busy due to printing, '0' if idle
| struct caps_rasterizer* rstr |
The rasterizer handle to be used for this job
| const struct caps_rstr_page_desc* page |
Current page information
| struct caps_rstr_page page_setup |
Setup for the current page to print
| struct caps_rstr_raster raster_desc |
| struct caps_pp_document_desc* job_data |
| unsigned job_status_set |
set, if someone already has set the final job status
| enum halftone_type ht_method |
Default halftone method type (note: currently fixed!)
| enum caps_colour_format emulate |
The expected colour format (by the driver)
| struct caps_dot_monochrome* mono_buf |
Halftone image buffer of the same size than described in raster_desc
| unsigned line_stride |
Line stride in bytes of mono_buf