🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.periphs.printers
Article #2708

Redirecting printing from lpt1 to com2

#2708
From: Paul
Date: Sat, 10 Feb 1996 00:00
38 lines
2253 bytes
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).
Originally I could not get the printer to print in dos or windows. I
have now got the printer to operate in windows by changing the port
settings on com2 from 19200 baud and hardware handshaking (internet
settings) to 9600 baud and xon/xoff handshaking.
Does 2 to 3 minutes to print out a fax header seem about right for a dot
matrix. The printer originally ran on an Olivetti M28 under Xenix and
seemed much faster, printing plain text mail shots, but I guess this is
due to Xenix's better coms handling than windows.

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

Mode lpt1=com2

Print /d:com2 config.sys

Dos reports that config.sys is printing but there is no output from the
printer. If I type print again dos reports the printer may be off-line.
A friend of mine gave me a small program (which he wrote) which sends
plain text files to the serial port of your choice. This works fine and
the speed is excellent. However you need to re run the program for each
file you print and it can't be incorporated into dos programs such as
Sage Accounting etc.
Any ideas how to use Mode to redirect the print output ?

TIA :-)
Paul
 * To those not yet on the Net I say, I wish I had your telephone bill. *
 * PGP Fingerprint 5D 1B 83 BF 02 EF 1D EB 3D AF C4 09 FA F3 42 3E      *
 * Key ID ADA26D41 Paul John Alcock <paul@intra.demon.co.uk>            *
    
Technical Details
Message-ID: <823957796.25447@intra.demon.co.uk>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 104d8a,4d9211508cb7c212,start
X-Google-Attributes: gid104d8a,public
X-Google-Thread: 1036bc,4d9211508cb7c212,start
X-Google-Attributes: gid1036bc,public
From: paul@intra.demon.co.uk (Paul)
Subject: Redirecting printing from lpt1 to com2
Date: 1996/02/10
Message-ID: <823957796.25447@intra.demon.co.uk>
X-Deja-AN: 138705673
x-nntp-posting-host: intra.demon.co.uk
organization: Home
newsgroups: comp.periphs.printers,demon.tech.pc