PRNTADRS Print Address

PRNTADRS

Print Address

Allows you to set the HP-IB address of the printer.
Syntax
printer
r
address
Item
Description/Default
Number
Any valid integer number.
R-awe
0 to 30
Equivalent
Softkey:
PfsXm
AIXJRESS
.
Option Required: Option 02 1.
Example
10 OUTPUT
718;"VARDEF
L,OC,l;MOV
L,OC,l2;"
Dtf~nes
a variable called
L-OC,
and
then moves 12 into
L-OC.
20 OUTPUT
718;"PRNTADRS
1;"
Sets the HP-IB address
of
the printer
to 1.
.
You can insert programming com-
mands here.
300 OUTPUT
718;"OUTPUT
PRNTADRS,F3.0,L,OC;"
You could use this statement within
a
DLP
This statement outputs the
number 12 to the printer
Description
You may find it useful to assign PRNTADRS near the beginning of your program, and, from
then on, refer to the printer address in your program as PRNTADRS. The advantage of using
PRNTADRS in this way is that if you need to change the printer address, you need only
change the programming line that assigns the printer address to PRNTADRS (see line 20 of the
programming example).
Query Response
PRNTADRS? returns the current HP-IB address of the printer.
printer
r
address
output
termination
+
Programming Commands 5449