Appendix DCUPS Structures
This appendix provides a detailed description of all the data structures provided by the CUPS software. Please refer to Appendices B and C for a description of the constants used in these data structures.
CUPS API Structures
The CUPS API uses the following structures for basic printing services.
cups_dest_t
The cups_dest_t
structure describes a single printer or instance and the associated options.
typedef struct /**** Destination ****/{ char *name, /* Printer or class name */ *instance; /* Local instance name or NULL */ int is_default; /* Is this printer the default? */ int num_options; /* Number of options */ ...
Get Common UNIX Printing System now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.