Chapter 14Using CUPS API Functions
This chapter will show you how to use the CUPS API functions to get the list of available printers and classes, submit print jobs, and manage print jobs from your application. You'll also learn how to access PostScript Printer Description (PPD) files from your application and use them to display printer-specific options and customize your output for a particular printer.
Printing Services
CUPS provides many functions to manage printers, classes, jobs, and options.
Managing Printers and Classes
CUPS supports both printers and classes of printers. The first CUPS program in Chapter 13, “Overview of CUPS Programming,” introduced two CUPS functions, cupsGetDefault() cupsGetPrinters()
, which retrieved the current ...
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.