Contents

PMCreateGenericPrinter(_:)

Creates a generic printer object.

Declaration

func PMCreateGenericPrinter(_ printer: UnsafeMutablePointer<PMPrinter?>) -> OSStatus

Parameters

  • printer:

    A pointer to your Pmprinter variable. On return, the variable refers to a new printer object that represents the generic formatting printer. You are responsible for releasing the printer object with the function 1461402 Pmrelease.

Return Value

A result code. See Result Codes.

Discussion

This function provides a way to create a PMPrinter object that represents the generic formatting printer.

See Also

Creating Printer Objects