HP 7470A Interfacing And Programming Manual page 103

Graphic plotter
Hide thumbs Also See for HP 7470A:
Table of Contents

Advertisement

1
)
)
)
P 9835/9845
Example:
10
PRINTER IS 7,5
20
R$-" SENDING DRTR"
30
B-9835
40
C-9845
50
Y-2000
60
PRINT "SP1;PR1000," ;Y
70
PRINT USING "K";"LBHP
8 0
END
fena
C - i - 3
TEK 4051
Example:
, B , " / " , C , f l $ , C H R I ( 3 )
)
A terminator is sent by the computer at the end of a PRINT statement.
Result:
HP 9 8 3 5 / 9 8 4 5 SENDING DATA
fP 2647
Example:
1 0 0 DIM R $ M 3 ] , B $ [ 1 ]
1 1 0
fl$="
SENDING
DRTR
1 2 0
Y - 2 0 0 0
1 3 0
B = 4 0 5 1
1 3 5
B $ « C H R ( 3 )
1 4 0
P R I N T
@ 5 : " S P 1 ; P R 1 0 0 0 , " ; Y ; " ; "
1 5 0
P R I N T
<5>5:"LBTEK" ; B ; R $ ; B *
1 6 0
END
No terminator is sent by the TEK 4051. It must, therefore, be included
in each PRINT @ 5 statement if the last HP-GL command in the line
requires one. In line 140, all characters after the Y may be omitted,
since the terminator is optional with the PA command.
I
)
)
)
)
)
;
)
HP-83/85
Example:
1 0 R S S I G N " H t t 5 "
TO » 1
2 0 D I M R$ [ 1 3 ]
3 0 R $ « " S E N D I N G
DRTR"
40 B-264?
5 0
Y - 2 0 0 0
6 0 P R I N T
*M ; " S P 1 ; P R 1 0 0 0 , " , Y
7 0 P R I N T
« 1 ; " L B H P " , B , R $ , C H R $ ( 3 )
8 0 END
A terminator is sent by the 2647 at the end of PRINT #1 statements.
Result:
HP 2 6 4 7 SENDING DATA
Result:
TEK 4 0 5 1 SENDING DATA
1 \
o
(
)
10 PRINTER I S
7 0 5
2 0 R $ = " S E N D I N G DRTR"
30
B - 8 5
4 0
Y - 2 0 0 0
5 0 PRINT
" S P 1 ; P f l 1 0 0 0 , " , Y
6 0 P R I N T " L B H P " ; B ; R $ ; " N "
7 0 END
A terminator is sent by the computer following PRINT statements.
Result:
HP 8 5 SENDING DATA
E_ ::,3
Commodore
PET* 2001 and 8032
Example:
1 0 OPEN
5 , 5
2 0
D I M
R $ ( 1 3 )
3 0
R $ = "
SENDING
DRTR"
40 B-2001
5 0
Y - 2 0 0 0
GO P R I N T 8 5 , " S P 1 ; P R 1 0 0 0 , " ; S T R $ ( Y )
7 0 P R I N T « 5 , " L B P E T
" ; B ; R $ ; C H R $ ( 3 )
8 0
END
A terminator is sent by PET at the end of the PRINT #5 statement.
Result:
PET 2 0 0 1 SENDING DATA
Apple* II Applesoft
BASIC
Example:
£ 3
1 0
2 0
3 0
4 0
5 0
6 0
7 0
8 0
9 0
PR« 3 :
I N t t
3
Z $ «
" W T X "
+ CHR$
( 2 6 )
D I M
R $ ( 1 2 )
R$=
"
SENDING
DRTR"
2 0 0 0
P R I N T
Z $ ;
" S P 1 ; P R 1 0 0 0 ,
P R I N T
2 $ ;
" L B R P P L E
I I
PR« 0 :
I N t t
0
END
\ Y
' ; f l $
( )
;CHR$
( 3 )
* Commodore PET is a trademark of Commodore Business Machines, Inc.
Apple is a trademark of Apple Computer, Inc.
8 HP-IB INTERFACING
HP-IB INTERFACING
9-9
V

Advertisement

Table of Contents
loading

Table of Contents