PMCopyAvailablePPDs(_:_:)
Obtains the list of PostScript printer description (PPD) files in a PPD domain.
Declaration
func PMCopyAvailablePPDs(_ domain: PMPPDDomain, _ ppds: UnsafeMutablePointer<Unmanaged<CFArray>?>) -> OSStatusParameters
- domain:
The PPD domain to search. See Pmppddomain for a description of the constants you can use to specify the domain.
- ppds:
A pointer to your Cfarray variable. On return, the variable refers to a Core Foundation array of PPD files in the specified domain. Each element in the array is a Core Foundation URL object that specifies the location of a PPD file or a compressed PPD file. You are responsible for releasing the array. If the specified domain is not valid, the variable is set to
NULL.
Return Value
A result code. See Result Codes.