Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cups smb backend problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
fratotec
n00b
n00b


Joined: 12 Oct 2005
Posts: 10

PostPosted: Thu Aug 03, 2006 12:22 pm    Post subject: Cups smb backend problem Reply with quote

Hi,

I have a problem with cups printing to a Win98 shared printer.
Normally printing works fine, but when the Win98 station is off-line, CUPS deactivates the printer, and when
the Win98 station comes on-line again, I have do enable the printer manually, ( via Web Interface or lpadmin )

Is there any way to keep the printer activated ??

Code:

I [03/Aug/2006:07:34:56 -0300] Adding start banner page "none" to job 2438.
I [03/Aug/2006:07:34:56 -0300] Adding end banner page "none" to job 2438.
I [03/Aug/2006:07:34:56 -0300] Job 2438 queued on 'lx_exp_c' by 'balcao1'.
I [03/Aug/2006:07:34:56 -0300] Started backend /usr/lib64/cups/backend/smb (PID 10350) for job 2438.
E [03/Aug/2006:07:34:59 -0300] [Job 2438] Unable to connect to CIFS host, will retry in 60 seconds...
E [03/Aug/2006:07:36:01 -0300] [Job 2438] Unable to connect to CIFS host, will retry in 60 seconds...
E [03/Aug/2006:07:37:04 -0300] [Job 2438] Unable to connect to CIFS host, will retry in 60 seconds...
I [03/Aug/2006:07:37:13 -0300] Adding start banner page "none" to job 2439.
I [03/Aug/2006:07:37:13 -0300] Adding end banner page "none" to job 2439.
I [03/Aug/2006:07:37:13 -0300] Job 2439 queued on 'lx_exp_c' by 'balcao3'.
E [03/Aug/2006:07:38:04 -0300] [Job 2438] Unable to connect to CIFS host after (tried 3 times)
E [03/Aug/2006:07:38:04 -0300] PID 10350 stopped with status 1!
I [03/Aug/2006:07:38:04 -0300] Hint: Try setting the LogLevel to "debug" to find out more.
I [03/Aug/2006:07:38:04 -0300] Saving printers.conf...


I´m using
cups-1.1.23-r8
samba-3.0.22-r3

Thanks for attention
Franz
Back to top
View user's profile Send private message
jsosic
Guru
Guru


Joined: 02 Aug 2004
Posts: 510
Location: Split (Croatia)

PostPosted: Mon Aug 07, 2006 5:21 pm    Post subject: Reply with quote

If it was a local USB printer, then you could solve this by using udev. But being network printer, the only idea I can come up with is cronjob that runs "cupsenable printername" every 5 minutes. Not a nicest way to solve it, but...
Back to top
View user's profile Send private message
fratotec
n00b
n00b


Joined: 12 Oct 2005
Posts: 10

PostPosted: Tue Aug 08, 2006 4:43 pm    Post subject: Reply with quote

Yes, I made this already...
not on a 5 min. basis, only in the morning hours... thats enough...
the W98 station is nomally turned on all the day ( working hours )... and there is no problem.
but sometimes one reaches earlier, and sends a printjob before the station is turned on.. and thats the problem.

I could not belive that this is a normal behaviour, and there is no parameter to disable this timeout....


Franz
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum