Here is what I did in a very similar situation:

On the computer that has the printer, I shared the printer,
I then used samba to set up a printer on my Linux box and tested it with lpr
I then set my lpt1 in DOS-EMU to the correct que,
Then, I printed my little heart out.

I actually added several levels of complexity on top of this to do more
advanced things.  Because my users roam around a lot, they often need to
print to different printers, My particular DOS app only allows the selection
of 2 lpt printers so I created a little script that changes the users
.dosemurc to set up the correct printers that they will be using for that
session.  When they telnet in, they have see a menu they first choose the
menu option that sets their printer, then they choose the menu item that
starts their DOS app.  Nifty, huh?

My next project is to figure out how to make Linux print to different trays
on our Laser Jet so that we can start using pre-printed paper.

I'd love to help anyone who is having troubles in this area.  I've spent
about 1200 hours over the last few months making this system work.

Matt Nuzum
        Florida Vacation Accommodations
        [EMAIL PROTECTED]

P.S.  I just got a **really** good deal on a 24-7 support contract for
Linux, unlimited calls, any subject (Linux related), 2 hour response time,
from HP for US$130 per month.  


 -----Original Message-----
From:   [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]  On Behalf Of Gregory Doyle
Sent:   Thursday, October 21, 1999 10:12 PM
To:     [EMAIL PROTECTED]
Subject:        Directing Printing to a file under DOSEMU

Hi,
Thanks to everyone who responded to my question last week about Keyboard
mapping for a Clipper application running in DOSEMU over Telnet.  I have the
keys working fine using PowerTerm and the application looks pretty good
(acceptable anyhow) running over a telnet session.  Now my next problems is
printing.  The clipper application prints to LPT1, (it generates HP PCL
using the Escape Printer Library for Clipper.) Anyhow, I would like to
capture the output that is sent to LPT1 to a file, since the Telnet session
is run remotely, it would be of no use to have it print to printer attached
to the Linux Box.  I figure once I the output directed to a file, I have to
find some way of delivering it to the Telnet Client. Anyhow my basic
question is how to I capture and redirect printing sent to LPT1 to a file.
And secondly does anyone have any suggestions on how  I would deliver this
file to the Telnet Client.  I a pretty much a newbie to Linux and DOSEMU, so
I am not sure whether what I am considering trying to do 


Kindest Regards,

GP Doyle


--== Sent via Deja.com http://www.deja.com/ ==--
Share what you know. Learn what you don't.

Reply via email to