DefaultPrinter()

Syntax

Result = DefaultPrinter()
Description
Selects the default printer as current printer for print operation. This function has to be called before all other printer functions. Once DefaultPrinter() has been successfully called, StartPrinting() is used to actually start to print.

Parameters

None.

Return value

Nonzero if a default printer is available, zero otherwise.

See Also

StartPrinting()

Supported OS

All

Printer Index - NewPrinterPage() ->