Definition of some printer features related to the HL1xxx printer familiy.
More...
◆ hl1_driver_job_finish()
static int hl1_driver_job_finish |
( |
struct caps_drv * |
drvi, |
|
|
void * |
d |
|
) |
| |
|
static |
◆ hl1_driver_page_print()
static int hl1_driver_page_print |
( |
struct caps_drv * |
drvi, |
|
|
void * |
d |
|
) |
| |
|
static |
◆ hl1_driver_page_setup()
static int hl1_driver_page_setup |
( |
struct caps_drv * |
drvi, |
|
|
void * |
d |
|
) |
| |
|
static |
◆ hl1_driver_job_start()
static int hl1_driver_job_start |
( |
struct caps_drv * |
drvi, |
|
|
void * |
d |
|
) |
| |
|
static |
◆ hl1_printer_setup()
static void hl1_printer_setup |
( |
struct hl1_drv * |
t1 | ) |
|
|
static |
Configure the printer when its corresponding driver lauches.
- Parameters
-
[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.
- Precondition
- hl1_driver_runtime_adaptions() must already be called
- Todo:
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?
◆ hl1_driver_runtime_adaptions()
static int hl1_driver_runtime_adaptions |
( |
struct caps_drv * |
drvi, |
|
|
void * |
d |
|
) |
| |
|
static |
◆ hl1_driver_module_exit()
static int hl1_driver_module_exit |
( |
struct caps_drv * |
drvi, |
|
|
void * |
d |
|
) |
| |
|
static |
- Note
- Called before termination to clean up memory use
◆ hl1_driver_device_monitor()
static int hl1_driver_device_monitor |
( |
struct caps_drv * |
drvi, |
|
|
void * |
d |
|
) |
| |
|
static |
◆ hl1_driver_module_init()
static int hl1_driver_module_init |
( |
struct caps_drv * |
drvi, |
|
|
void * |
d |
|
) |
| |
|
static |
- Parameters
-
[in] | drvi | The libcapsdriver handle |
[in] | d | The private parameter from the caps_drv_run() call |
Used to allocate some driver specific memory.
◆ hl1_supported_printers
Initial value:= {
{ .printer_name = NULL, },
}
@ CAPS_BRLASER_HL_1870
Definition: hl-printer-series.h:37
@ CAPS_BRLASER_HL_1050
Definition: hl-printer-series.h:22
@ CAPS_BRLASER_HL_1450
Definition: hl-printer-series.h:32
@ CAPS_BRLASER_HL_1850
Definition: hl-printer-series.h:36
@ CAPS_BRLASER_HL_1670
Definition: hl-printer-series.h:35
@ CAPS_BRLASER_HL_1650
Definition: hl-printer-series.h:34
@ CAPS_BRLASER_HL_1230
Definition: hl-printer-series.h:26
@ CAPS_BRLASER_HL_1070
Definition: hl-printer-series.h:23
@ CAPS_BRLASER_HL_1440
Definition: hl-printer-series.h:31
@ CAPS_BRLASER_HL_1240
Definition: hl-printer-series.h:27
@ CAPS_BRLASER_HL_1470
Definition: hl-printer-series.h:33
@ CAPS_BRLASER_HL_1270
Definition: hl-printer-series.h:29
@ CAPS_BRLASER_HL_1030
Definition: hl-printer-series.h:21
@ CAPS_BRLASER_HL_1250
Definition: hl-printer-series.h:28
@ CAPS_BRLASER_HL_1435
Definition: hl-printer-series.h:30
- Note
- All of the printers here are untested (as of November 2022)
◆ caps_hl_driver
Initial value:= {
}
static int hl1_driver_module_exit(struct caps_drv *drvi, void *d)
Definition: hl1-series.c:270
static int hl1_driver_page_print(struct caps_drv *drvi, void *d)
Definition: hl1-series.c:76
static int hl1_driver_job_start(struct caps_drv *drvi, void *d)
Definition: hl1-series.c:108
static int hl1_driver_page_setup(struct caps_drv *drvi, void *d)
Definition: hl1-series.c:94
static int hl1_driver_module_init(struct caps_drv *drvi, void *d)
Definition: hl1-series.c:296
static int hl1_driver_device_monitor(struct caps_drv *drvi, void *d)
Definition: hl1-series.c:285
static int hl1_driver_job_finish(struct caps_drv *drvi, void *d)
Definition: hl1-series.c:58
static int hl1_driver_runtime_adaptions(struct caps_drv *drvi, void *d)
Definition: hl1-series.c:205
◆ parser_list
Initial value:= {
.version = "caps-brother-hl1 (CAPS universe) " PACKAGE_VERSION,
.bugreport = PACKAGE_BUGREPORT,
.progname = "caps-brother-hl1",
.feature = ( "Printer driver for Brother HL1xxx monochrome laser printer series" ),
.domain = PACKAGE,
}