Carbon


PMPrinterGetDescriptionURL

Header: PMCore.h Carbon status: Supported

Obtains a reference to the specified printer’s description file, typically a PostScript Printer Description (PPD) file for a PostScript printer.

OSStatus PMPrinterGetDescriptionURL (
    PMPrinter printer, 
    CFStringRef descriptionType, 
    CFURLRef *fileURL
);
Parameter descriptions
printer

A PMPrinter object.

descriptionType

The type of description file for the selected printer.

fileURL

On return, the location of the printer description file.

function result

A result code. A result code. See “Result Codes”.

SPECIAL CONSIDERATIONS

Valid within the context of a printing session.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.1 and later when CarbonLib 1.1 or later is present.


© 2000 Apple Computer, Inc. (Last Updated 7/17/2000)