I
-
I
-
Reading
from
the
Parallel
Port
The parallel port has Eve TTL input signals, normally used for determining
the printer’s status, which can be read. The signals and the corresponding
data bits and pins are shown in the following table:
Pin
Bit
10
00
11
01
~
12
02
13
D3
15
04
Name
Acknowledge
BUSY
Out of Paper
On tine
Printer Error
Automating Measurements
Controlling Peripherals
Your custom interface circuit can drive these signals,
using any of these commands:
SCPI commands:
OUTPUT
ORfna;"DIAG:PORT:READ?
15,lO"
ENTER
QRfna;Parallel-in
IBASIC
command:
Parallel-in
=
READIO(15,lO)
and they can be read
7-59
深圳市盛腾仪器仪表有限公司 Tel:0755-83589391 Fax:0755-83539691 Website: www.Sengt.com