*print
Description

Print a document to the default printer, a specified printer or a printer the user can select.

Syntax

*print <document> <printer>

Parameters

document

Full-qualified name of the document to print

printer

*DFT, will result in printing to the default printer, or
*SELECT, will show a printer selection screen, or the name of the printer as it is known to the OS

Return values
  1. Document successfully printed
  2. Parameter error. Not enough parameters specified
  3. Unable to open document
  4. Unknown document type
  5. Error printing
  6. Printer does not exist
  7. User pressed cancel