CAPS Universe documentation  1.0.4
All you need to know to be successful
libcapsppcommon.h
Go to the documentation of this file.
1#pragma once
2
3/*
4 * SPDX-License-Identifier: LGPL-2.1-or-later
5 *
6 * (c) 2018 Jürgen Borleis <projects@caps-printing.org>
7 *
8 * This library is free software; you can redistribute it and/or modify it under
9 * the terms of the GNU Lesser General Public License 2.1 as published by the Free
10 * Software Foundation.
11 *
12 * This library is distributed in the hope that it will be useful, but WITHOUT
13 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
14 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
15 * details.
16 */
17
18#include <stddef.h>
19#include <features.h>
20
31__BEGIN_DECLS
141 /* Active states */
147 /* Tear down states */
150};
162};
167 size_t cnt;
168 char **format;
169};
264};
269 /* job is still incomplete */
277};
309 unsigned flags;
314 unsigned copy;
316 unsigned cpage;
318 unsigned dmedia;
320 unsigned fmedia;
322};
341};
342__END_DECLS
caps_printing_job_state
The processing states a job can be in.
Definition: libcapsppcommon.h:254
caps_printing_job_reason
The more detailed state description a printing job can be in.
Definition: libcapsppcommon.h:268
@ LIBCAPS_PJ_STATE_UNKNOWN
Definition: libcapsppcommon.h:255
@ LIBCAPS_PJ_STATE_RECEIVING
Definition: libcapsppcommon.h:256
@ LIBCAPS_PJ_STATE_CANCELED
Definition: libcapsppcommon.h:261
@ LIBCAPS_PJ_STATE_COMPLETED
Definition: libcapsppcommon.h:263
@ LIBCAPS_PJ_STATE_QUEUED
Definition: libcapsppcommon.h:257
@ LIBCAPS_PJ_STATE_PREPARED
Definition: libcapsppcommon.h:258
@ LIBCAPS_PJ_STATE_PROCESSING_STOPPED
Definition: libcapsppcommon.h:260
@ LIBCAPS_PJ_STATE_ABORTED
Definition: libcapsppcommon.h:262
@ LIBCAPS_PJ_STATE_PROCESSING
Definition: libcapsppcommon.h:259
@ LIBCAPS_PJ_REASON_CANCELED_BY_DRIVER
Definition: libcapsppcommon.h:273
@ LIBCAPS_PJ_REASON_COMPLETED_SUCCESSFULLY
Definition: libcapsppcommon.h:276
@ LIBCAPS_PJ_REASON_DATA_FORMAT
Definition: libcapsppcommon.h:271
@ LIBCAPS_PJ_REASON_DATA_CONTENT
Definition: libcapsppcommon.h:272
@ LIBCAPS_PJ_REASON_CANCELED_BY_USER
Definition: libcapsppcommon.h:274
@ LIBCAPS_PJ_REASON_NONE
Definition: libcapsppcommon.h:270
@ LIBCAPS_PJ_REASON_CANCELED_BY_SYSTEM
Definition: libcapsppcommon.h:275
caps_printing_provider_reason
Definition: libcapsppcommon.h:156
caps_printing_provider_state
Definition: libcapsppcommon.h:138
@ LIBCAPS_PP_REASON_SHUTDOWN
Definition: libcapsppcommon.h:161
@ LIBCAPS_PP_REASON_MEDIA_JAM
Definition: libcapsppcommon.h:160
@ LIBCAPS_PP_REASON_MEDIA_NEEDED
Definition: libcapsppcommon.h:159
@ LIBCAPS_PP_REASON_NONE
Definition: libcapsppcommon.h:157
@ LIBCAPS_PP_REASON_ATTENTION
Definition: libcapsppcommon.h:158
@ LIBCAPS_PP_STATE_PRINTING
Definition: libcapsppcommon.h:146
@ LIBCAPS_PP_STATE_PREPARING
Definition: libcapsppcommon.h:144
@ LIBCAPS_PP_STATE_OFFLINE
Definition: libcapsppcommon.h:149
@ LIBCAPS_PP_STATE_PROCESSING
Definition: libcapsppcommon.h:145
@ LIBCAPS_PP_STATE_INVISIBLE
Definition: libcapsppcommon.h:140
@ LIBCAPS_PP_STATE_STOPPED
Definition: libcapsppcommon.h:142
@ LIBCAPS_PP_STATE_SHUTDOWN
Definition: libcapsppcommon.h:148
@ LIBCAPS_PP_STATE_IDLE
Definition: libcapsppcommon.h:143
@ LIBCAPS_PP_STATE_UNKNOWN
Definition: libcapsppcommon.h:139
caps_user_class
Definition: libcapsppcommon.h:337
@ CAPS_CLSS_COORDINATOR
Definition: libcapsppcommon.h:338
@ CAPS_CLSS_DRIVER
Definition: libcapsppcommon.h:340
@ CAPS_CLSS_SERVICE
Definition: libcapsppcommon.h:339
Information collection for printing progression report.
Definition: libcapsppcommon.h:308
unsigned flags
Definition: libcapsppcommon.h:309
unsigned copy
Definition: libcapsppcommon.h:314
unsigned dmedia
Definition: libcapsppcommon.h:318
unsigned fmedia
Definition: libcapsppcommon.h:320
unsigned cpage
Definition: libcapsppcommon.h:316
Definition: libcapsppcommon.h:166
char ** format
Definition: libcapsppcommon.h:168
size_t cnt
Definition: libcapsppcommon.h:167