PrinterOutput()

Syntax

OutputID = PrinterOutput()
Description
Returns the OutputID of the current printer to be used with the StartDrawing() function. All the 2DDrawing functions are available and can be used for printing. The printer is seen as an empty sheet, exactly like a window or an image.

Parameters

None.

Return value

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

Example

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

Supported OS

All

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