eb104115_e___AmigaOS_Documentation_Wiki__Command_Operation
[Command] PRD_QUERY [Command Operation] 
Return the status of the printer port’s lines and registers.
Printer Device - AmigaOS Documentation Wiki
Command Operation