FB II Compiler

PG PRO

Debugging

Memory

System

Mathematics

Resources

Disk I/O

Windows

Controls

Menus

Mouse

Keyboard

Text

Fonts

Drawing

Sound

Clipboard

Printing

Communication

ASM

Made with FB

PRINTING

Print a chart displayed on screen


If you can draw your graph on the screen, then you can easily do the same to the printer using the ROUTE call.

LOCAL FN DrawMyGraph
'---
'do drawing here
'---
END FN

'---
'Use this function for drawing to screen
'---
LOCAL FN PlotMyGraph
  FN DrawMyGraph
END FN

'---
'Use this function for drawing to the printer
'---
LOCAL FN PrintMyGraph
  ROUTE _toPrinter
  FN DrawMyGraph
  ROUTE _toScreen
END FN

_Chris