Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
samba / cups / printer - it works, kinda
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
gman
n00b
n00b


Joined: 08 Oct 2002
Posts: 8

PostPosted: Tue Oct 08, 2002 6:37 am    Post subject: samba / cups / printer - it works, kinda Reply with quote

OK so here's the situation:

After much reading and hours of trying I finally got my printer (HP Deskjet 712C) to print from Windows XP through my Gentoo Linux box. Once I got to the point where the cups and samba configurations were good, I wanted them to startup on boot so I did an rc-update for both samba and cups.

The problem is that after the machine starts up, I can't use the printer from Windows until I stop samba and start it again. I made sure that in the samba runlevel config thingy it was loading cupsd before samba. It was set to "use cupsd," and changing it to "need cupsd" apparently had no effect. When I restart samba printing from XP works perfectly.

It's not the worst problem in the world since the printer works, but it is a little annoying! :?

Any ideas?

p.s. I know it's supposedly possibly to print without samba using the IPP stuff, but I haven't been able to get that to work correctly yet, and using it through samba is working quite well (except for my issue of course).

Thanks :D
Back to top
View user's profile Send private message
numerodix
l33t
l33t


Joined: 18 Jul 2002
Posts: 743
Location: nl.eu

PostPosted: Tue Oct 08, 2002 7:07 am    Post subject: Reply with quote

Set up a cron job to restart samba every 5 minutes... :D
Back to top
View user's profile Send private message
de4d
Apprentice
Apprentice


Joined: 12 Sep 2002
Posts: 181
Location: fr. i. br. (ger)

PostPosted: Tue Oct 08, 2002 7:17 am    Post subject: Reply with quote

try to sleep() be4 u start samba...
_________________
void main(){fork();main();}
Back to top
View user's profile Send private message
gman
n00b
n00b


Joined: 08 Oct 2002
Posts: 8

PostPosted: Tue Oct 08, 2002 3:14 pm    Post subject: Reply with quote

de4d wrote:
try to sleep() be4 u start samba...


Where do I do this? In /etc/init.d/samba or cupsd? And if so, where in the file...?
Back to top
View user's profile Send private message
crimson
Guru
Guru


Joined: 27 Apr 2002
Posts: 430
Location: Cedar Rapids, IA

PostPosted: Wed May 28, 2003 9:46 am    Post subject: Reply with quote

did you ever get this working good? I have a similar problem... Deskjet 712c on my nix box, trying to print form Win2K. I haven't successfully got it to print ever! If you could, would you paste your smb.conf file if it works? Thanks.
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