home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Phoenix CD 2.0
/
Phoenix_CD.cdr
/
24b
/
prnswap.zip
/
PRNSWAP.DOC
Wrap
Text File
|
1988-05-24
|
640b
|
24 lines
The following is the DEBUG code to generate your own PRNSWAP.COM.
I got it from PC Magazine, page 404 in the May 12, 87 issue, and
as corrected on page 486 in their July, 87 issue. Entering
PRNSWAP toggles output between LPT1 and LPT2. I have been
using it since then to redirect, for example, printscreen output
from my dot matrix on LPT1 to my daisy wheel on LPT2.
N PRNSWAP.COM
A
POP DS
MOV AX,[408]
XCHG AX,[40A]
MOV [408],AX
INT 20
R CX
D
W
Q
Make sure to include the blank line after the INT 20 line.
John Windhorst 5/24/88