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.