Interrupt 17h Printer(0:005Ch) access the parallel printer(s)
AH is changed. All other registers left alone.
Function 00h Print Character/send AL to printer DX (0, 1, or 2)
entry AH 00h
AL character
DX printer to be used (0,1,2)
return AH status byte
bit
0 time out
1 unused
2 unused
3 I/O error
4 selected
5 out of paper
6 acknowledge
7 not busy
Function 01h Initialize Printer - set init line low, send 0Ch to printer DX
entry AH 01h
DX printer port to be initialized (0,1,2)
return status as below
Function 02h Printer Status - read status of printer DX into AH
entry AH 02h
DX printer port to be used (0,1,2)
return AH bit flags bit 7 0 = printer is busy
bit 6 ACKnowledge line state
bit 5 out-of-paper line state
bit 4 printer selected line state
bit 3 I/O error
bit 2 unused
bit 1 unused
bit 0 time-out error
file: /Techref/int/17.htm, 1KB, , updated: 1999/2/20 10:27, local time: 2024/11/24 16:53,
3.133.109.251:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://ecomorder.com/techref/int/17.htm"> int 17</A> |
Did you find what you needed? |
Welcome to ecomorder.com! |
Welcome to ecomorder.com! |
.