![]() |
CAPS Universe documentation
1.0.4
All you need to know to be successful
|
Definition of some printer features related to the HL2xxx printer family. More...
Functions | |
| static int | hl2_driver_job_finish (struct caps_drv *drvi, void *d) |
| static int | hl2_driver_page_print (struct caps_drv *drvi, void *d) |
| static int | hl2_driver_page_setup (struct caps_drv *drvi, void *d) |
| static int | hl2_driver_job_start (struct caps_drv *drvi, void *d) |
| static void | hl2_printer_setup (struct hl2_drv *t1) |
| static int | hl2_driver_runtime_adaptions (struct caps_drv *drvi, void *d) |
| static int | hl2_driver_module_exit (struct caps_drv *drvi, void *d) |
| static int | hl2_driver_device_monitor (struct caps_drv *drvi, void *d) |
| static int | hl2_driver_module_init (struct caps_drv *drvi, void *d) |
Variables | |
| static const struct hl_printer_name_to_id | hl2_supported_printers [] |
| The list of printers the hl2 driver supports. | |
| const struct caps_generic_driver | caps_hl_driver |
| struct caps_arg_parser_list | parser_list |
The printers seems to be able to handle some kind of media/paper typed differently when printing. Here a generic list of types is defined, at least shared by HL-20 and HL-21 printers.
|
static |
|
static |
Called from the libcapsdriver framework
|
static |
|
static |
|
static |
Configure the printer when its corresponding driver lauches.
| [in] | t1 | Our driver instance description |
The configuration is sent once. It starts with 128 NUL bytes. It is unclear if the printer really needs this, but I found many drivers which start their printing with such kind of empty dummy data.
Test, if these settings are valid as long as the printer is online, or if a PCL "\eE" reset command resets these settings as well (and thus, they must be repeated again and again).
Have the HL1 series the same power management like the HL2 family has?
|
static |
|
static |
|
static |
|
static |
| [in] | drvi | The libcapsdriver handle |
| [in] | d | The private parameter from the caps_drv_run() call |
Used to allocate some driver specific memory.
|
static |
| const struct caps_generic_driver caps_hl_driver |
| struct caps_arg_parser_list parser_list |