a1200   NEWS   APPS   DOCS   ABOUT
a1200
----
a1200
----
Autodocs
 Devices:
 parallel.device
  CMD_CLEAR
  CMD_FLUSH
  CMD_READ
  CMD_RESET
  CMD_START
  CMD_STOP
  CMD_WRITE
  OpenDevice
  PDCMD_QUERY
  PDCMD_SETPARAMS
Include
GuruMeditation
Docs » Autodocs » parallel.device » PDCMD_QUERY

NAME

	Query -- query parallel port/line status

FUNCTION

	This command return the status of the parallel port lines and
registers.
IO REQUEST
io_Message must have mn_ReplyPort initialized
io_Device set by OpenDevice
io_Unit set by OpenDevice
io_Command PDCMD_QUERY (09)

RESULT

	io_Status        BIT  ACTIVE  FUNCTION
0 high printer busy toggle (offline)
1 high paper out
2 high printer selected on the A1000
printer selected & serial "Ring
Indicator" on the A500/A2000
Use care when making cables.
3 - read=0,write=1
4-7 reserved

BUGS

	In a earlier version of this AutoDoc, BUSY and PSEL were reversed.
The function has always been correct.

Comments

Name:
E-mail: Use this if you want a message if you get a response, will not be shown.
Comment:
Select correct short for:

Abyss

DC
AFL
AYS
TBL

Comments:

$VER: d0.se 1.14 Copyright © 2011-2024 Tobias Geijersson support at d0 dot se