CUPS Software Programmers Manual
CUPS-SPM-1.1.3
Easy Software Products
Copyright 1997-2000, All Rights Reserved
Table of Contents
Preface
System Overview
Document Overview
Notation Conventions
Abbreviations
Other References
1 - Printing System Overview
The Printing Problem
The Technology
Jobs
Classes
Filters
Backends
Printer Drivers
Networking
2 - The CUPS API
The CUPS API Library
Detecting the CUPS API Library in GNU Autoconf
Printing Services
Include Files
Printing a File
Printing Multiple Files
Cancelling Jobs
Getting the Available Printers and Classes
Printing with Options
Setting Printer Options
Getting Errors
Passwords and Authentication
PPD Services
Include Files
Getting a PPD File for a Printer
Loading a PPD File
Freeing PPD File Information
The PPD File Structure
Marking Options
Checking for Conflicts
3 - Writing Filters
Overview
Security Considerations
Users and Groups
Temporary Files
Sending Messages to the User
Page Accounting
Command-Line Arguments
Copy Generation
Environment Variables
Dissecting the HP-GL/2 Filter
Initializing the Filter
PostScript Output
4 - Writing Printer Drivers
Overview
CUPS Raster Data
Page Accounting
Color Management
Device and Bitmap Variables
Dissecting the HP-PCL Driver