This function retrieves the default printer.

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

Parameters

Name Explanation
PrinterName The variable for the printer name list

Return Value

Returns the length of the string (minus the terminal null) set in PrinterName. Returns 0 if unsuccessful.

Explanation

The IKGetDefaultPrinter function retrieves the default printer registered in the Windows printer folder. The default printer can also be retrieved using the IKEnumPrinters function.

 

The ImageKit10 VCL is a product created by Newtone Corporation