CAPS Universe documentation  1.0.4
All you need to know to be successful
hl1-series.h
Go to the documentation of this file.
1#pragma once
2/*
3 * SPDX-License-Identifier: GPL-2.0-or-later
4 *
5 * (c) 2022 Juergen Borleis <projects@caps-printing.org>
6 *
7 * This program is free software; you can redistribute it and/or modify it under
8 * the terms of the GNU General Public License as published by the Free
9 * Software Foundation; either version 2 of the License, or (at your option)
10 * any later version.
11 */
12#include <libcapsbase.h>
13#include <libcapsppd-api.h>
14
15#include "hl-series.h"
16
31struct hl1_drv {
32 /* must be the first one */
33 struct hl_drv base;
34 struct hl_job_options job_options;
35};
41static inline struct hl1_drv *to_hl1_drv(void *d) { return (struct hl1_drv *)d; }
42
47
#define __nonnull(params)
Definition: libcapsbase.h:84
const struct caps_ppd_media_margins hl_group2_printable_margins
Definition: hl-margins.c:108
const struct caps_ppd_media_margins hl_group1_printable_margins
Definition: hl-margins.c:89
const struct caps_ppd_media_size hl_group2_printable_media
Definition: hl-margins.c:59
const struct caps_ppd_media_size hl_group1_printable_media
Definition: hl-margins.c:30
struct caps_ppd_base * hl12_driver_submodule_init(struct hl1_drv *t1)
Definition: brother-hl12.c:141
static struct hl1_drv * to_hl1_drv(void *d)
Definition: hl1-series.h:41
struct caps_ppd_base * hl11_driver_submodule_init(struct hl1_drv *t1)
Definition: brother-hl11.c:114
struct caps_ppd_base * hl16_driver_submodule_init(struct hl1_drv *t1)
Definition: brother-hl16.c:109
struct caps_ppd_base * hl14_driver_submodule_init(struct hl1_drv *t1)
Definition: brother-hl14.c:139
struct caps_ppd_base * hl10_driver_submodule_init(struct hl1_drv *t1)
Definition: brother-hl10.c:134
struct caps_ppd_base * hl18_driver_submodule_init(struct hl1_drv *t1)
Definition: brother-hl18.c:107
Basic API for everything else of the CAPS universe.
API declaration to read-in external PPD files and handle PPD file creation on-the-fly.
Basic description of common features a printing device/printing driver can provide.
Definition: libcapsppd.h:322
Definition to calculate the printable area on all printing media.
Definition: libcapsppd.h:255
Definition of the min/max printing medium the manual feed can handle.
Definition: libcapsppd.h:242
Definition: hl1-series.h:31
struct hl_drv base
Definition: hl1-series.h:33
struct hl_job_options job_options
Definition: hl1-series.h:34