Contents

PMPrinterGetLanguageInfo

Obtains information about the imaging language for the specified printer.

Declaration

OSStatus PMPrinterGetLanguageInfo(PMPrinter printer, PMLanguageInfo *info);

Parameters

  • printer:

    The printer whose imaging language information you want to obtain.

  • info:

    A pointer to your Pmlanguageinfo data structure. On return, the structure contains the printer’s language level, version, and release information. The format of the returned data uses the syntax of the PostScript language.

Return Value

A result code. See Result Codes.

Discussion

The function PMPrinterGetLanguageInfo is useful only for PostScript printers. You must call this function between the creation and release of a printing session.

See Also

Accessing Information About a Printer