please dont rip this site
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/12/28 15:33,
TOP NEW HELP FIND: 
3.15.1.23: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?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://sxlist.com/techref/int/17.htm"> int 17</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

 

Welcome to sxlist.com!


Site supported by
sales, advertizing,
& kind contributors
just like you!

Please don't rip/copy
(here's why

Copies of the site on CD
are available at minimal cost.
 

Welcome to sxlist.com!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .