home *** CD-ROM | disk | FTP | other *** search
/ Phoenix CD 2.0 / Phoenix_CD.cdr / 15a / murutil.zip / FF.ASM < prev    next >
Assembly Source File  |  1986-05-10  |  468b  |  18 lines

  1.     PAGE    54,132
  2.     TITLE    FORM-FEED Program.
  3. ;
  4. ;    This program sends a Form Feed code to the standard
  5. ;    printer device, [ usually PRN: or LPT1:].
  6. ;
  7. ;    Routine by Harry M. Murphy,  22 March 1986.
  8. ;
  9. P@FF    SEGMENT    'CODE'
  10. ASSUME    CS:P@FF
  11. FF:    MOV    DL,0CH        ;Put Form-Feed code in DL,
  12.     MOV    AH,05H        ;  "printer output" code in AH
  13.     INT    21H        ;    and call DOS to do it.
  14.     MOV    AX,4C00H    ;Put "stop process" code in AH
  15.     INT    21H        ;    and call DOS to do it.
  16. P@FF    ENDS
  17.     END    FF
  18.