sirakide@cell.mot.COM (Dean Sirakides) (11/28/89)
Does anyone know a nice simple, clean way to determine if a printer is on line and ready before issuing a writeln(lst,) statement. Its a drag getting a device time out error at run time. Thanks Dean. (uunet!motcid!sirakide)
ts@uwasa.fi (Timo Salmi LASK) (11/28/89)
In article <438@hazel13.UUCP> sirakide@cell.mot.COM (Dean Sirakides) writes: >Does anyone know a nice simple, clean way to determine >if a printer is on line and ready before issuing >a writeln(lst,) statement. >Its a drag getting a device time out error at run time. I just posted information about the updated tspas16.arc TP units collection. It includes a PRTONLFN function for this purpose. ................................................................... Prof. Timo Salmi (Site 128.214.12.3) School of Business Studies, University of Vaasa, SF-65101, Finland Internet: ts@chyde.uwasa.fi Funet: vakk::salmi Bitnet: salmi@finfun
MATHRICH@umcvmb.missouri.edu (Rich Winkel UMC Math Department) (11/29/89)
Use the INT procedure to issue an interrupt 17H with AH=2. On return, AH will have the printer status bits. If AH is 90H (not busy, selected) then you can print. Rich