PrinterOutput()

Syntax

OutputID = PrinterOutput()
Description
Returns the OutputID of the current printer to be used with the StartDrawing() function. Drawing on the printer will be performed using pixel based drawing operations.

Parameters

None.

Return value

The OutputID of the current printer to be used with the StartDrawing() function.

Remarks

Drawing on a printer using pixel based drawing may reduce printing quality and adds extra complexity because the printers resolution must be taken into account. Vector based drawing using PrinterVectorOutput() should be preferred, as it provides resolution independent functions for high-quality printing.

Example

  StartDrawing(PrinterOutput())
    ; do some drawing stuff here...
  StopDrawing()

See Also

StartDrawing(), PrinterVectorOutput()

Supported OS

All

<- PrintRequester() - Printer Index - PrinterPageHeight() ->