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

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

Functions

struct caps_ppd_basehl18_driver_submodule_init (struct hl1_drv *t1)
 

Variables

static struct caps_ppd_selectionhl18_features_selections [3]
 
static struct caps_ppd_option hl18_dynamic_options [3]
 
static const struct caps_ppd_selection_entry hl18_media_type_selections []
 
static struct caps_ppd_base hl18_description
 

Function Documentation

◆ hl18_driver_submodule_init()

struct caps_ppd_base * hl18_driver_submodule_init ( struct hl1_drv t1)

Variable Documentation

◆ hl18_features_selections

struct caps_ppd_selection* hl18_features_selections[3]
static

◆ hl18_dynamic_options

struct caps_ppd_option hl18_dynamic_options[3]
static

◆ hl18_media_type_selections

const struct caps_ppd_selection_entry hl18_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 HL18 series.
Attention
The "Regular" entry must be the first one in the list!

◆ hl18_description

struct caps_ppd_base hl18_description
static
Initial value:
= {
.domain_name = PACKAGE,
.paper_type = LIBCAPS_PT_SINGLE,
.supported_color_formats = LIBCAPS_CT_MONOCHROME,
.default_color_format = LIBCAPS_CT_MONOCHROME,
.options_count = 0,
.options = NULL,
.selection_count = 0,
.selections = NULL,
.default_paper_name = NULL,
.media_coverage = &hl_group2_printable_media,
.media_margins = &hl_group2_printable_margins,
}
@ LIBCAPS_CT_MONOCHROME
Definition: libcapsppd.h:202
@ LIBCAPS_GA_MANUAL_FEED
Definition: libcapsppd.h:216
@ LIBCAPS_GA_DUPLEX
Definition: libcapsppd.h:214
@ 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