Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- TASM 2.x / MASM 6.x Assembly Language - <b>int 17h, 01h (1) initialize printer</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
INT 17h,  01h (1)        Initialize Printer

    Sends initialization control codes to the specified parallel printer
    and returns the current status of the printer.

       On entry:      AH         01h
                      DX         Parallel printer number (0 = LPT1, 1 = LPT2,
                                 etc.)

       Returns:       AH         Printer status (See service 02h)

  --------------------------------------------------------------------------

       Notes:         This service sends the hex values 08h and 0Ch to the
                      printer's control port, thereby initializing the
                      printer.

See Also: INT 17h, 00h INT 17h, 02h

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson