printerFile.write()

API Overview

The printerFile.write() API is used to perform output to a printer file.

RPG Equivalent

EXCEPT, WRITE

Contents

Exception Handling

An Error instance with the following properties will be thrown:

  • message - The IBM i message text.
  • error - The message id.
  • help - The message help text.

Examples

See pjs.definePrinter()