> From [EMAIL PROTECTED] Tue Jul  4 12:07:58 2000
> Date: Tue, 4 Jul 2000 11:03:28 -0700 (PDT)
> To: [EMAIL PROTECTED]
> Subject: Re: LPRng: HP DeskJet 930C anyone?  How to determine capabilities?
> From: [EMAIL PROTECTED]
>
> from the quill of [EMAIL PROTECTED] on scroll
> <[EMAIL PROTECTED]>
> > 
> > No.  Sorry, been down that path and it runs over a cliff.
> That bad huh?
> > if the :rw flag is set and the device is not a file then it opens it RW.
>
> And if that flag is not set, it opens it RO?  So every printer that can
> do bidirectional (i.e. give status etc.) has an :rw in the printcap? 
> Sorry for my stupid questions, I am just trying to understand.

Exactly right.

>
> > Now sockets are always RW,
>
> Meaning if the printer is connected via a network connection rather than
> a serial/parallel/usb connection right?

Exactly right.

>
> > so even if you use FCNTL to get the
> > flags,  you get a RW indication.  However,  sometimes the device
> > does not always return status information,
>
> Indeed.
>
> > so you have to tell
> > the lower levels that it does not.
>
> With a printcap flag?  Is there a :ro flag too then?

You need to pass Yet Another Flag.  For example, if you are using
IFHP, you pass status@, meaning 'no status reading capability'

For example:

pr
  :ifhp=model=pcl,status@
  :filter=/usr/local/libexec/filters/ifhp
  :sd=/var/spool/lpd/%P

OR

pr
  :filter=/usr/local/libexec/filters/ifhp -Tmodel=pcl,status@
  :sd=/var/spool/lpd/%P


>
> > No, perhaps not.  I will look at this again.  But it may only be on
> > Linux systems,  which is still better than nothing.
>
> We Linux enthusiasts would simply say "who cares if no other *NIX
> supports it or not -- tough titties for them".  :-)

Ummm... no comment on this...  But I will note that some of my best
friends are Linux Developers (Duck and Cover! Duck and Cover!).

>
> Thanx for entertaining my queries Patrick.
>
> b.
>
>
> --
> Brian J. Murrell                              InterLinx Support Services, Inc.
> North Vancouver, B.C.                                             604 983 UNIX
>         Platform and Brand Independent UNIX Support - R3.2 - R4 - BSD

Patrick ("Strange,  this looks like penguin droppings on my car") Powell

-----------------------------------------------------------------------------
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.
-----------------------------------------------------------------------------

Reply via email to