Instance Method

ppdFile

Returns a CUPS object used to access information about the current printer.

Declaration

- (ppd_file_t *)ppdFile;

Return Value

The CUPS object that contains information about the current printer.

Discussion

This method gives you access to information in the PPD file associated with the destination printer for the current print job. The PPD file contains information such as optional hardware and features the printer supports.

When you send this message, the receiver returns a CUPS PPD file object that you can pass to CUPS functions to get information about the PPD file. The printing system owns the returned object, and the object should be considered read-only. You should not change this object explicitly or by using CUPS functions.