Functions are available for requesting and selecting the current printer.
To request the current printer name, driver, and device:
· Use the IN_GetPrinterName function.
To request a list of all available printer names:
· Use the IN_GetPrinterNames function.
The number of available printers is returned, along with their names, drivers, and devices. Use this information to set the new current printer, if required.
To specify the current printer:
· Use the IN_SetPrinterName function.
The specified printer is used for subsequent print requests.
The parameters in the IN_SetPrinterName function must match one of the set of entries returned by IN_GetPrinterNames. For an example of how to set a printer using the information returned by IN_GetPrinterNames, click Example: IN_SetPrinterName.
Note: Printer options are not supported in Imagenation for UNIX.
See also