Link to home
Start Free TrialLog in
Avatar of CCBRONET
CCBRONET

asked on

Unable to keep the HP Officejet 7000 wide format printer shared on a linux network after restarting the node

I am unable to keep the HP Officejet 7000 wide format printer shared on a linux network after restarting the node...
My operating system: SUSE Linux Enterprise Desktop 11 SP1
I have shared the printer through Yast which works....but after restarting the printer doesn't work over the network....


Thanks In Advance....
Avatar of farzanj
farzanj
Flag of Canada image

It sounds like it worked before rebooting.  So the problem should be simple.

You can issue this command

/etc/init.d/cups restart

See if this fixes your printer.  If it does you would also need
chkconfig cups on

Also with the ip address of your printer you can open a web browser on any of the computers and open the URL
<IP_ADDR>:631

Or if you are directly on the server, you can open the browser on it with
localhost:631

This gives you a graphical administration console.  You can do a lot of functions on it.  Let me know.
Avatar of CCBRONET
CCBRONET

ASKER

yes it did work with "/etc/init.d/cups restart" command....

But y doesn't the printers remain sharable after restart/shutdown....
 
This has worked fine so far with Epson Printers (Dot-Matrix)....and also other HP Printers....
To make it reboot after restart, you have to issue the following command

chkconfig cups on

Or if that doesn't work

chkconfig cupsd on
Alright tried that too....still the same after reboot the printer doesn't print over the network....
it works only aft i issue the "/etc/init.d/cups restart" command....
is there a way to run this on startup...coz i cant give this command to my users....


Thanks In Advance....
Yes, there is another way, although it should have worked but there is another way.

Just put
/etc/init.d/cups restart

in the file
/etc/init.d/local  (If it is Ubuntu)

In file
/etc/init.d/rc.local (if it is Red Hat/Fedora/CentOS)
Did you try

chkconfig cups on


DO you receive any error message?


Otherwise you can put this line in

/etc/init.d/rc.local file

And that should work as explained above
My Operating System in SLED 11 SP 1.....
Ok,

So you should have this file

/etc/init.d/boot.local

You have to edit it

sudo vi /etc/init.d/boot.local
And put at the end of file
/etc/init.d/cups restart

thanks will try this and let u know....
Still its the same....it only seems to work aft i execute /etc/init.d/cups restart...
login as: root
Using keyboard-interactive authentication.
Password:
Last login: Sat May  7 13:34:29 2011 from 172.16.217.30
linux-i6ew:~ # vi /etc/init.d/boot.local
#!/bin/sh
/etc/init.d/cups restart














~
~
~
~
~
~
~
                                                              1,9           All
Ok.  Sorry, I got really busy.  Your problem is really weird.  Please issue the following commands for me.

chkconfig --list | grep cups

ls /etc/init.d/

Hopefully we will fix this issue.
do you use init or upstart to start the system?
Also please give me the output of

ls /etc/rc3.d/

who -r

runlevel

chkconfig --list | grep cups
You have a ethernet connected printer.
Do you use DHCP in any part of the network?
Does SuSE have a problem printing to named prineter or sharing printer via CUPS or sharing printer via SAMBA?
Will Try the above mentioned steps and will let u know
ASKER CERTIFIED SOLUTION
Avatar of KishorDas
KishorDas
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
OK