This function sets the default printer.

[C++Builder]     DWORD IKGetDefaultPrinter(LPCTSTR PrinterName);
[Delphi]         function IKGetDefaultPrinter(PrinterName: PChar): DWORD;

Parameters

Name Explanation
PrinterName The printer name

Return Value

Returns True (nonzero) if successful. Returns False (0) if unsuccessful.

Explanation

The IKSetDefaultPrinter function sets the printer specified in the PrinterName parameter as the default printer. This function can be used to set a printer, registered in the Windows Printer folder, as the default printer. To get a list of the installed printers, execute the IKEnumPrinters function.

 

The ImageKit10 VCL is a product created by Newtone Corporation