...while looking for some existing "LPT port redirection software" for DOS, I've first found this proggie: http://info.elf.stuba.sk/packages/pub/pc/utiltext/lpt2file.zip
It's a little TSR in .COM format that installs in memory, captures any printing on LPT1 (done using the BIOS printing service at INT 17h) into a chunk of XMS memory and upon another invocation, can dump the captured data into a file. So it does not write the file in the background... I've taken a look at the code using IDA Pro, just for fun - to confirm my impression that hooking INT 17h is no rocket science... ...and then, I found this: https://board.flatassembler.net/topic.php?t=2319 https://board.flatassembler.net/download.php?id=1086 The download is called prn2fil3.zip . It comes with ASM source code. It does write the file in the background and opens the file in "append" mode. I'm gonna try it, hopefully later today. Frank _______________________________________________ Freedos-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freedos-user
