Overview
Previous  Next

A Printer object allows printing text files and strings.
It is only supported on the desktop.
You can use the ShowDialog to show the user the standard printing dialog.
Printing is done with PrintFile which prints a text file and PrintString which prints a given string.

Example:
'printer is a Printer control.
Sub Globals

End Sub

Sub App_Start
      Form1.Show
      printer.New1
      if printer.ShowDialog = cOK then
            printer.PrintFile(AppPath & "\SomeFile") 'prints to the user selected printer
      end if
End Sub