Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Assembly Language - <b>function 05h (5) printer character output</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Function 05h (5)         Printer Character Output

    Outputs a character to the standard printer device.

       On entry:      AH         05h
                      DL         Character

       Returns:       Nothing

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

    This function outputs the character whose ASCII value is in DL to the
    standard printer device, which is normally the first parallel port,
    LPT1.

       Notes:         If the device is busy, the function waits until it
                      is ready.

                      If a Ctrl-Break (Ctrl-C) is detected, INT 23h is
                      executed following output.

                      Because this functions offers no way to determine
                      printer status, it is preferable to open the LPT1
                      device as a file.

                      For greater control, use the ROM-BIOS services (INT
                      17h).

See Also: 40h INT 17h, 00h

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