From: DervishD <raul@pleyades.net>
To: Linux-kernel <linux-kernel@vger.kernel.org>
Subject: Problems with my parport (and printer)
Date: Thu, 25 Mar 2004 12:51:31 +0100 [thread overview]
Message-ID: <20040325115131.GA12195@DervishD> (raw)
Hi all :)
I have a printer connected thru my parallel port, supported in
the kernel by parport+parport_pc+lp:
kernel: parport0: PC-style at 0x378 (0x778), irq 7 [PCSPP,TRISTATE]
kernel: parport0: Printer, Lexmark International Lexmark Optra E312
kernel: lp0: using parport0 (interrupt-driven).
kernel: lp0: console ready
It works ok, BTW... The problem is that, when the printer is
switched of and I try to print something, the print command just
blocks, no error, no messages, nothing. I use a shell function to
print, which sends a control command to the printer and after that
sends the file I want to print. It stops (forever) at the reset
command, something like "echo -n '\eE' > /dev/printer".
Why this operation doesn't fail? IMHO, it should fail with
ENODEV, because parport can work (the parallel port is there...), but
lp shouldn't (the printer is switched off...).
BTW, I would swear I have the parallel port configured as EPP+ECP
with DMA3 and irq 7 :??? Why is it detected as PCSPP?
Any help? Thanks in advance :)
Raúl Núñez de Arenas Coronado
--
Linux Registered User 88736
http://www.pleyades.net & http://raul.pleyades.net/
next reply other threads:[~2004-03-28 11:07 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-25 11:51 DervishD [this message]
2004-03-28 15:51 ` Problems with my parport (and printer) Jan-Benedict Glaw
2004-03-28 18:09 ` DervishD
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=20040325115131.GA12195@DervishD \
--to=raul@pleyades.net \
--cc=linux-kernel@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.