Contents

PMCopyPPDData(_:_:)

Obtains the uncompressed PPD data for a PostScript printer description (PPD) file.

Declaration

func PMCopyPPDData(_ ppd: CFURL, _ data: UnsafeMutablePointer<Unmanaged<CFData>?>) -> OSStatus

Parameters

  • ppd:

    A URL for a PPD or compressed PPD file. You can obtain a PPD URL using the function 1464170 Pmcopyavailableppds or 1459690 Pmcopylocalizedppd.

  • data:

    A pointer to your Cfdata variable. On return, the variable refers to a Core Foundation data object containing the uncompressed PPD data from the specified PPD file. You are responsible for releasing the data object. If the ppd parameter does not reference a PPD file, the variable is set to NULL.

Return Value

A result code. See Result Codes.

See Also

Accessing PostScript Printer Description Files