From: "Stéfano Schotten" <stefano@amti.com.br>
To: linux-msdos@vger.kernel.org
Subject: LPT1 - Local Printing
Date: Thu, 28 Dec 2006 21:21:23 -0200 [thread overview]
Message-ID: <45945173.90608@amti.com.br> (raw)
Hi all;
I'm having a issue due printing in a LTSP terminal with DOSEMU.
I have some DOS-16 applications that print at LPT1 (and only LPT1).
I don't have at the client the lp, lpr, not even printcap.
I'm trying to redirect that right thru /dev/lp0, I already changed the
$_printer_program to a shell script home-made, but I can't get the
variables and data sending to redirect to device.
Like:
echo ASDF | lpr -> prints ASDF to printer in /etc/printcap
I made a program "print" that does that:
echo ASDF | print -> prints ASDF to printer /dev/lp0
How can I get the "echo ASDF" that DOSEMU sends?
Does someone can help me on that? I already tried to hack out the code
but couldn't find the printers sessions.
Stefano
next reply other threads:[~2006-12-28 23:21 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-28 23:21 Stéfano Schotten [this message]
2006-12-30 2:07 ` LPT1 - Local Printing kemas henry
2006-12-30 14:42 ` Rafał Cygnarowski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=45945173.90608@amti.com.br \
--to=stefano@amti.com.br \
--cc=linux-msdos@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.