Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!cica!iuvax!bsu-cs!bsu-ucs!earlham!peters From: peters@yang.earlham.edu Newsgroups: comp.lang.pascal Subject: Code wanted: DOS ^P simulator Message-ID: <5994@yang.earlham.edu> Date: 13 Dec 90 19:58:10 GMT Organization: Earlham College, Richmond, Indiana Lines: 13 Can anyone out there write a procedure that simulates the action of a ^P (ctrl-P) when pressed at a DOS prompt? It should turn on 'print mode' so that all writes to the screen are simultaneously echoed to the printer. Another ^P should toggls print mode off again. All the obvious methods fail. This one has stumped some very sharp Turbo Pascal and DOS gurus. Any help would be appreciated. Thanks in advance. Peter Suber. Depts. of Philosophy, Computer Science. Earlham College. Richmond, Indiana 47374. 317-983-1214. peters@earlham.bitnet.