Cprnos
Get Printer Output Status
Cprnos() Opcode = 17 ($11)
T his fu nctio n allow s yo u to d e te rm in e w h e th e r th e C e n tro n ic s p arallel
p rin te r d ev ice is re ad y to a cce p t a ch a r a cte r.
C macro format
in t statu s;
statu s = C p r n o s ();
Machine language format
m o v e .w # $ 1 1 , - (sp )
trap # 1
ad d q .l # 2 ,s p
Inputs
N o n e
Results
DO statu s lo n g A 0 m e an s th e d ev ice is n o t rea d y to a c cep t a ch a ra c
te r, w h ile a - 1 m e a n s it is re ad y.
See also
C p r n o u t()
253