On Mon, 3 Mar 2003 03:23:07 -0500 (EST)
Ryan Novosielski <[EMAIL PROTECTED]> wrote:

> At work, my LPRng installations cause Samba (v2.2.5, but really everything
> before that acted the same way) to show "Paused" in the Windows status
> field for done jobs in Win98. I have compiled these batches from source on
> HP-UX machines (Samba and LPRng).
> 
> However, at home, I recently switched from BSD to LPRng on Debian Linux
> (3.0). In the printer window at home on Win2k, I see "Printed" for done
> jobs (makes much more sense and allows a person to distinguish done and
> held jobs). The Samba version here is 2.2.3a-12 for Debian. LPRng version
> is 3.8.10.
> 
> Can someone on here explain to me why this might be happening? One
> variable I can eliminate right away is Win98 vs. Win2k -- I believe the
> same Win2k machine shows "Paused" at work, but I will check that out when
> I am able to. But I suppose my question is, is it possible that Samba or
> LPRng was "fixed" as a part of Debian to cause this behavior? Is there
> some configuration option I can set to make the copy at work act this way?

The status reported on your Windows box depends on whether Samba found 
certain strings in the lpq output.  You can find the strings it's looking 
for in printing/lpq_parse.c, defined in strings stat[012]_strings.

We had a problem for a while where a queue that had the word "paper" in 
the name would always report status paused.  Turned out samba was looking 
for "paper" (as in "paper jam") and report the queue paused, even when the 
queue was printing.

I don't know where "printed" would come from.  I suspect the Debian people 
tweaked the samba code-base to report a reasonable status back when lprng
leaves X jobs sitting in the queue with status "done".  Shouldn't be all 
that hard to do.  Not quite a vanilla install this way, but it probably 
cuts down on the number of people reporting "bugs" in the behavior of 
their pre-packaged software...

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



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