> From [EMAIL PROTECTED] Wed Apr 24 10:47:24 2002
> To: [EMAIL PROTECTED]
> Subject: Re: LPRng: external status check from ifhp 
> Date: Wed, 24 Apr 2002 11:54:38 -0500
> From: John Perkins <[EMAIL PROTECTED]>
>
> > Whoops!  In the previous posting I indicated that the programs
> > were run with STDIN = /dev/null. I meant to say STDIN = printing
> > device...
>
> Can you elaborate on this?  Do you pass a socket or file descriptor to the 
> printer connection to STDIN?  Or do you pass contents of ":lp="?
>
> If you try to pass in an open connection, the latest Xerox/Tek printers are 
> not going to work.  You can't old any open TCP connections to them and expect 
> the status of the current job (as reported by SNMP) to ever report "completed" 
> (or will the pagecounter increment).
>
> -- 
> ============================================================================
>    John Perkins                         |   University of Wisconsin-Madison
>    Associate Researcher                 |   Department of Computer Science
>    [EMAIL PROTECTED]             |   1210 W. Dayton St.
>    608-262-0438/608-262-9997 FAX  |   Madison, WI  53706-1685
> ============================================================================

If you look at the ifhp code, you will discover the connections are CLOSED
and then REOPENED before being passeed to the programs.

This handles the problem.

Had to think about this one and then test it.

If you are eager to try this:

ftp://ftp.lprng.com/pub/LPRng/ifhp/ifhp-3.5.8alpha3.tgz

Patrick


-----------------------------------------------------------------------------
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from MUST be your subscription address

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