Carbon


PMGetLanguageInfo

Header: PMCore.h Carbon status: Supported

Obtains information about the current printer’s imaging language.

OSStatus PMGetLanguageInfo (
    PMLanguageInfo *info
);
Parameter descriptions
info

On return, a pointer to a data structure containing the printer’s language level, version and release. The format of the returned data is based on the PostScript language.

function result

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

DISCUSSION

PMGetLanguageInfo is useful for PostScript printers but may be irrelevant for other types of printers.

PMPrinterGetLanguageInfo is recommended instead of PMGetLanguageInfo.

SPECIAL CONSIDERATIONS

Valid after calling PMBegin.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later.


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