CAPS Universe documentation  1.0.4
All you need to know to be successful
Functions | Variables
brother-hl11.c File Reference

Adaptions for the Brother HL11 series of printers. More...

Functions

struct caps_ppd_basehl11_driver_submodule_init (struct hl1_drv *t1)
 

Variables

static struct caps_ppd_selectionhl11_features_selections [3]
 
static struct caps_ppd_option hl11_dynamic_options [3]
 
static const struct caps_ppd_selection_entry hl11_media_type_selections []
 
static struct caps_ppd_base hl11_description
 

Detailed Description

The HL10 series of printers is partially very limited in their available resources.

HL-1110:

HL-1112:

Function Documentation

◆ hl11_driver_submodule_init()

struct caps_ppd_base * hl11_driver_submodule_init ( struct hl1_drv t1)

Variable Documentation

◆ hl11_features_selections

struct caps_ppd_selection* hl11_features_selections[3]
static

◆ hl11_dynamic_options

struct caps_ppd_option hl11_dynamic_options[3]
static

◆ hl11_media_type_selections

const struct caps_ppd_selection_entry hl11_media_type_selections[]
static
Initial value:
= {
{ .option = "REGULAR", .description = NLS_("Regular"), },
{ .option = "THICK", .description = NLS_("Thick 90g...105g"), },
{ .option = "THICK2", .description = NLS_("Thicker 105g...161g"), },
{ .option = "TRANSPARENCY", .description = NLS_("Transparency"), },
{ .option = "THIN", .description = NLS_("Thin 60g...70g"), },
{ .option = "BOND", .description = NLS_("Bond"), },
{ .option = "ENVELOPES", .description = NLS_("Envelope"), },
{ .option = "ENVTHICK", .description = NLS_("Thick envelope"), },
{ .option = "ENVTHIN", .description = NLS_("Thin envelope"), },
{ .option = "RECYCLED", .description = NLS_("Used"), },
}
#define NLS_(string)
National Language Support related.
Definition: libcapsbase-local.h:61

The printer can handle some various media differently. This list contains the known media types the printer firmware supports.

Todo:
Fill with really supported paper types on the HL11 series.
Attention
The "Regular" entry must be the first one in the list!

◆ hl11_description

struct caps_ppd_base hl11_description
static
Initial value:
= {
.domain_name = PACKAGE,
.paper_type = LIBCAPS_PT_SINGLE,
.common_features = LIBCAPS_GA_SINGLE_TRAY,
.supported_color_formats = LIBCAPS_CT_MONOCHROME,
.default_color_format = LIBCAPS_CT_MONOCHROME,
.options_count = 0,
.selection_count = 0,
.selections = (const struct caps_ppd_selection **)hl11_features_selections,
.default_paper_name = NULL,
}
static struct caps_ppd_option hl11_dynamic_options[3]
Definition: brother-hl11.c:70
static struct caps_ppd_selection * hl11_features_selections[3]
Definition: brother-hl11.c:69
static const struct caps_ppd_media_size media_coverage
Definition: caps-printing-test-provider.c:61
static const struct caps_ppd_media_margins media_margins
Definition: caps-printing-test-provider.c:53
@ LIBCAPS_CT_MONOCHROME
Definition: libcapsppd.h:202
@ LIBCAPS_GA_SINGLE_TRAY
Definition: libcapsppd.h:215
@ LIBCAPS_PT_SINGLE
Definition: libcapsppd.h:37
const struct caps_ppd_media_margins hl_group2_printable_margins
Definition: hl-margins.c:108
const struct caps_ppd_media_size hl_group2_printable_media
Definition: hl-margins.c:59
Description of an OpenUI/CloseUI PPD selection.
Definition: libcapsppd.h:303