Files
oldlinux-files/docs/interrupts/int-html0/inte2apc.htm
2024-02-19 00:23:35 -05:00

73 lines
1.8 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
<meta http-equiv="Content-Type"
content="text-html; charset=Windows-1252">
<title>INT 17 - Printer BIOS Services</title>
<meta name="FORMATTER" content="Microsoft FrontPage 2.0">
</head>
<body>
<h1><a name="kap_interrupt_1180"></a>INT 17 - Printer BIOS
Services</h1>
<p> % For more information, see the following topics:</p>
<p> ~INT 17,0~ Print character</p>
<p> ~INT 17,1~ Initialize printer port</p>
<p> ~INT 17,2~ Read printer port status</p>
<p> Status flags returned in register AH</p>
<p> ¦7¦6¦5¦4¦3¦2¦1¦0¦ AH (status)</p>
<p> ¦ ¦ ¦ ¦ ¦ ¦ ¦ +---- time-out</p>
<p> ¦ ¦ ¦ ¦ ¦ +------- unused</p>
<p> ¦ ¦ ¦ ¦ +-------- 1 = I/O error (~parallel~ pin 15)</p>
<p> ¦ ¦ ¦ +--------- 1 = printer selected/on-line (parallel
pin 13)</p>
<p> ¦ ¦ +---------- 1 = out of paper (parallel pin 12)</p>
<p> ¦ +----------- 1 = printer acknowledgment (parallel pin 10)</p>
<p> +------------ 1 = printer not busy (parallel pin 11)</p>
<p> - on the AT, XT 286, and PS/2 when the BIOS determines the
printer</p>
<p> is busy, ~INT 15,90~ is executed</p>
<p> - all printers do not return reliable status information; bit
3 and</p>
<p> bit 7 are usually reliable.</p>
<p> - all registers are preserved except AH</p>
<hr>
<table border="0" width="100%" cols="3">
<tr>
<td width="33%">Zurück zum <a href="inte1at0.htm">Interrupt
Info</a>. </td>
<td align="center" width="33%"><a
href="mailto:Roger.Morgan@htl-steyr.ac.at">Roger Morgan</a>
/ 1998 </td>
<td align="right" width="33%"><font size="1">L.Änderung <!--webbot
bot="Timestamp" s-type="EDITED" s-format="%d.%m.%y"
startspan -->29.03.99<!--webbot bot="Timestamp" endspan
i-checksum="13964" --> </font></td>
</tr>
</table>
</body>
</html>