Article View: comp.periphs.printers
Article #2710Re: Redirecting printing from lpt1 to com2
From: Peter Disdale
Date: Sat, 10 Feb 1996 00:00
Date: Sat, 10 Feb 1996 00:00
33 lines
1873 bytes
1873 bytes
In article <823957796.25447@intra.demon.co.uk> paul@intra.demon.co.uk "Paul" writes: > I have a Mannesmann Tally MT150 24pin dot matrix serial printer > connected to com2 on a 486 DX2 66 with 4 MB Ram (dos 6.22 and WFWG > 3.11). > ... > My real problem is printing to com2 in dos. > I have been using the Mode command to redirect output from lpt1 to com2 > but without success. Having read and re-read the dos help files for Mode > and Print, I have been issuing the following commands: > > Mode com2 9600,n,8.1 I assume the fullstop is a typo (it should be a comma) but you might try adding a p to prevent timeouts, ie. mode com2 9600,n,8,1,p. That said you should be able to print a file using COPY, eg. COPY filename COM2 or COPY /b filename COM2 (if the file contains binary data). > Mode lpt1=com2 This redirection should work. Any programs that print using the DOS services should have their print output redirected to COM2, though I'm not sure about programs that print by bypassing DOS, eg. using direct BIOS calls. If all else fails, you should configure your software to "print to a file", then at least you can use the COPY command for hardcopy. Hope that helps. -- Pete
Technical Details
Message-ID:
<823967288snz@pdlmail.demon.co.uk>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<823957796.25447@intra.demon.co.uk>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 104d8a,4d9211508cb7c212 X-Google-Attributes: gid104d8a,public X-Google-Thread: 1036bc,4d9211508cb7c212 X-Google-Attributes: gid1036bc,public From: Peter Disdale <Pete@pdlmail.demon.co.uk> Subject: Re: Redirecting printing from lpt1 to com2 Date: 1996/02/10 Message-ID: <823967288snz@pdlmail.demon.co.uk> X-Deja-AN: 138728465 x-nntp-posting-host: pdlmail.demon.co.uk references: <823957796.25447@intra.demon.co.uk> x-mail2news-path: pdlmail.demon.co.uk organization: Papa Delta Limited reply-to: pete@pdlmail.demon.co.uk newsgroups: comp.periphs.printers,demon.tech.pc