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.
CUPS provides many functions to manage printers, classes, jobs, and options.
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 ...