I bet it's a Samba bug though. And don't you know, I've been having the
same problem and never realized that that was the common factor!

---- _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$&| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - New Jersey Medical School - C630

On Wed, 31 Jul 2002, Van Sickler, Jim wrote:

> Shane's using LPRng...
>
> sounds like a bug to me...
>
> Jim
>
> -----Original Message-----
> From: Shane Drinkwater [mailto:[EMAIL PROTECTED]]
> Sent: Monday, July 22, 2002 9:34 AM
> To: [EMAIL PROTECTED]
> Subject: RE: [Samba] my printers are still paused in Win2k and WinNT 4.0
>
>
> Jim and the samba list,
> Ok I think I have found part of my problem. I have a question for you.. What
> is the difference between these two outputs...
> [root@localhost etc]# lpq -P thisisalongtest
> Printer: thisisalongtest@localhost
>  Queue: no printable jobs in queue
> [root@localhost etc]# lpq -P thisisaoff
> Printer: thisisaoff@localhost
>  Queue: no printable jobs in queue
> or
> [root@localhost etc]# lpq -P csq_office_a
> Printer: csq_office_a@localhost (dest [EMAIL PROTECTED])
>  Queue: no printable jobs in queue
> Active connection from  172.27.1.2
> [root@localhost etc]# lpq -P csqoffficea
> Printer: csqoffficea@localhost
>  Queue: no printable jobs in queue
> ....
> The answer is off is in the name of the printer!!!! thats right
> thisisalongtest works ok but and printer with office or even off in the name
> shows paused. Is this a bug?????
>
>                               Shane
>
> -----Original Message-----
> From: Van Sickler, Jim [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, July 17, 2002 7:15 PM
> To: 'Shane Drinkwater'
> Cc: Samba-L (E-mail)
> Subject: RE: [Samba] my printers are still paused in Win2k and WinNT 4.0
>
>
> Ain't this fun?!?  :-(
>
>
>
> > -----Original Message-----
> > From: Shane Drinkwater [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, July 17, 2002 3:27 PM
> > To: [EMAIL PROTECTED]
> > Subject: RE: [Samba] my printers are still paused in Win2k
> > and WinNT 4.0
> >
> >
> > Jim,
> > Again no dice. This is a very strange problem!?! I am now debating to
> > compile LPRng with done_jobs=0 to see if that works( at this
> > point I doubt
> > it).
>
> I might have missed a clue - is the printer saying it's Paused,
> or the last job printed saying that it's Paused after being printed?
>
> :done_jobs=0 relates to the printed job, not the printer...
>
> Do you have guest ok=yes in the printer's subsection
> in smb.conf?
>
>   e.g.
> [HP4Plus]
>       guest ok=yes
>
> or
>
> [Printers]
>       guest ok=yes
>
>
>
> >  I also have some more interesting data for the problem
> >     1.)The HP 4m printer all of a sudden started to work it showed
> > "ready"!! I come back about 5 mins later and it showed
> > "pause" again????
> > This means other print jobs on the printer are affecting the
> > samba print queue...
>
> See if it shows Paused when it's in Power Save mode, and
> Ready when it's in Ready mode.
>
> If the JetDirects are 10/100, try setting them to 10MHz/Half Duplex
> and see if it changes anything.  100Base-TX Full Duplex doesn't
> do much ack/nack'ing, IIRC.
>
> >     2.) I have switched everything over to tcp 9100 and
> > back again to
> > lpd after testing the done_jobs parm still no fix.....
>
> I've used both-9100 may enable Bi-Directional comms; raw
> doesn't, IIRC.
>
> >     3.)  I have never printed a job on this server it is a test. I
> > figured that print_jobs=0 means that lprng keept old jobs
> > around to so I
> > cleared out all of the queues and reset up the printers. again paused
> > printer,, With no print jobs ????
>
> That's what made me think about whether the printer status was Paused,
> and not the print job...
>
> >     4.) Is CUPS better for communicating status info with
> > samba? I would
> > hate to switch to CUPS since CUPS looks more complicated.
>
> Me too...
>
> >     5.) is there a way to get samba to kick out more
> > detailed info about
> > the printer status( or what it thinks is the printer status).
>
> Kick the log level up to 3 for more, up to 10 for a LOT more...
>
> >     6.) I am checking the status by double clicking on the computer.
> > then the printers share on that computer. I then click on a
> > printer and wait
> > for the refresh on my win2k to say ready or fail....
>
> Were these printers installed when using an older version of
> samba?  If so, try adding "disable spoolss=yes"
> and "use client driver=yes" to [Global] in smb.conf
> then restart samba and see if they're still flaky.
>
>
> Jim
> >
> >                             Shane
> > Any Ideas are helpful!!!
> >
> > P.S. The Damm printer show ready again as I write you this
> > message. I will
> > check it in the morning..
> >
> >
> > -----Original Message-----
> > From: Van Sickler, Jim [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, July 17, 2002 2:17 PM
> > To: 'Shane Drinkwater'
> > Cc: Samba-L (E-mail)
> > Subject: RE: [Samba] my printers are still paused in Win2k
> > and WinNT 4.0
> >
> >
> >
> >
> > > -----Original Message-----
> > > From: Shane Drinkwater [mailto:[EMAIL PROTECTED]]
> > > Sent: Wednesday, July 17, 2002 10:02 AM
> > > To: [EMAIL PROTECTED]
> > > Subject: [Samba] my printers are still paused in Win2k and WinNT 4.0
> > >
> > >
> > >
> > > Jim,
> > > I have placed the done_jobs in my lpd.conf and it didn't fix
> > > the problem.
> >
> > try done_jobs=0
> >
> > (maybe the space between = 0 is causing it to be ignored?)
> >
> > > How can the done jobs parm effect the samba system if the
> > > queues don't list out any jobs to print???
> >
> > If you look in your lpd spool dir, you'll see the last
> > job is still there;  LPRng knows it's purpose, but
> > samba doesn't...lpq will tell you that there are
> > no printable jobs, but samba sees it as Paused...
> >
> >   I'm running OpenBSD, and putting it in lpd.conf didn't
> > fix it for me, either.  Putting :done_jobs=0 in the
> > .common section worked for me.
> >
> > Here's a snippet of my /usr/local/etc/printcap:
> > ------------------------------------------------
> > .common:cm=Common
> > Settings:done_jobs=0:sd=/var/spool/lpd/%P:mx=0:sh:lf=log \
> > :lpd_force_poll=:lpd_poll_time=30:max_servers_active=0
> >
> > hp4plus:cm=HP4Plus by Graphics PC:tc=.common:rm=149.158.23.170:rp=9100
> >
> > ------------------------------------------------
> >
> > Maybe this will help.
> >
> > Jim
> >
> > --
> > To unsubscribe from this list go to the following URL and read the
> > instructions:  http://lists.samba.org/mailman/listinfo/samba
> >
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
>
> -----------------------------------------------------------------------------
> 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.
> -----------------------------------------------------------------------------
>


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