HP 9000 200 Series Manual page 138

Using the basic 5.0/5.1 system
Table of Contents

Advertisement

Directing the listing to a device other than the CRT is easy, but involves concepts that
have not been introduced yet. If you want a listing on a printer, you have two choices:
• Specify a different system printer, and then use the LIST statement. For example:
PRINTER IS 701
LIST
The parameter 701 identifies the printer connected to the computer through the
interface at select code 7 (the built-in HP-IB); the printer itself has an address
setting of 01. You can also use the PRT function, which returns a value of 701.
However, it is often desirable to keep the CRT display as the system printer and
still get program listings on an external printer .
• Specifying the printer in the LIST statement. For example, the following command
sends the entire program listing to an HP-IB printer (address 01) without changing
the system printer selection.
LIST #701
When both the printer and the line range are specified, the printer number is
specified first and terminated with a semicolon. For example, this command lists
lines 200 through 500 on the device connected to the interface at select code 12.
LIST #12; 200,500
Editing and Storing Programs
6-17

Advertisement

Table of Contents
loading

This manual is also suitable for:

9000 300 series

Table of Contents