Re: parrallel port null modem
- Posted by Mathew Hounsell <mfh03 at UOW.EDU.AU> May 13, 2000
- 576 views
> has anyone created a routine to transfer data on the printer port? > windows d.c.c. only recognizes the serial ports on the old computer. > so i was thinking of a simple one way transfer out to the printer port and > a simple reading of the printer port on the newer computer. While developing my printer library, I tested it by ... fn = open( "prn", "wb" ) if fn = -1 then puts(1, "Could not open printer port.\n" ) else -- Transmit end if This works under DOS and so under windows. Under Linux you should probablely use \\dev\lp0 For file transfer this is OK, however you may wish to use a robust protocol to ensure your data isn't corrupted. ------------------------- Sincerely, Mathew Hounsell mat.hounsell at excite.com