Ms. Sree Lakshmi wrote;
> Hello,
> I have a printer, HP4ml, connected through parallel port to a PC running
> under Linux. I came to know that it will no way give the accounting Info.
> 'cause it being a Parallel port(meaning single directional). What if i
> have a bidirectional parallel port. Will that help me?
> thanks,
> chinnu.
I must confess I haven't been following this thread too closely
but I've recently been trying to run a postscript printer from
a Linux parallel port myself (viz. lp0) Maybe I can shed a
bit of light on the problem plus ask for some advice.
I've discovered that the port is in fact bidirectional but it
defaults to non-blocking mode. This is not particularly useful
and could really confuse a driver that is expecting blocking.
(it is indistinguishable from an end-of-file ie. read returns
zero bytes but the error code is "Success")
Is this a bug? If it is intended to do that I would expect a
means to set it to blocking but I'll be blessed if I can find it.
Anyone know?
Thanks
Jim
Red Hat Linux release 6.0 (Hedwig)
Kernel 2.2.10 on an i686
-----------------------------------------------------------------------------
If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body. For the impatient,
to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED]
with: | example:
subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED]
If you have major problems, send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------