Attributes
- action
- Required. The print action to be performed. Must be one of the
following: start, extract, end.
- start:
The macro runtime instantiates a print bean object for the current macro using the Printer Setup options and Page Setup options that you specify (see Print Start).
Because of the great number of printer setup options and page setup options, and because changing one option might require several other options to be adjusted, you should not use the macro language to specify printer setup options and page setup options. Instead, use the Macro Editor to create a Print start action and use the Printer Setup and Page Setup windows to specify these options (see Printer Setup and Page Setup).
- extract:
The macro runtime copies the text from a rectangular area of the session window that you specify and sends the text to the current print bean (see Print Extract).
- end:
The macro runtime terminates the print bean if one exists (see Print End).
- start:
- srow
- Required integer when action is extract. The row of the first pair of row and column coordinates for the rectangular area of text to be printed.
- scol
- Required integer when action is extract. The column of the first pair of row and column coordinates for the rectangular area of text to be printed.
- erow
- Required integer when action is extract. The row of the second pair of row and column coordinates for the rectangular area of text to be printed.
- ecol
- Required integer when action is extract. The column of the second pair of row and column coordinates for the rectangular area of text to be printed.
- assigntovar
- Optional variable. Specifies the name of a variable to contain the return code from the print action.
- hostid
- Optional string. This attribute is available only when the action is extract. See Specifying a session.