IN_GetPrinterNames

All Editions image\bltlrgsq_shg.gif Related Functions image\bltlrgsq_shg.gif Example

The IN_GetPrinterNames function returns the number of available printers, the currently set driver, and a list of all available printers.

Syntax

int IN_GetPrinterNames( maxSize, pPrinterNames )

Input Parameters

Meaning

SHORT maxSize

the maximum size in bytes of the pPrinterNames array

Output Parameters

Meaning

CHARPTR pPrinterNames

returns the number of available printers, the number of the current device (zero-based index), and the "printerName","driverName","deviceName" for each available printer

Release information

Added to Imagenation for Windows in Release 4.10.

Not supported in Imagenation for UNIX.

See also

Selecting a printer

Printing a document