Jump to content

CUPS Printer not working in Linux or Windows


ichase

Recommended Posts

LOL! Makes me glad I don't have a printer. I just sneakernet print jobs to my housemate's Mac. :shifty: :whistling: :lol:

 

If it's just a cups config problem, I'm sure you will have a "well that was easy" moment soon.

Link to comment
Share on other sites

I have tried a few more things but still not dice. The CUPS config may be easy to read for some, but not so much for me.

CRP I use webmin to adminster my SAMBA config but utilize the CUPS Web config for CUPS, been spending more time directly at the /etc/cupsd/cups.conf and trying to make heads or tails from that.

 

The Troubleshooting tool under system-config-printer still states "The CUPS Print spooler does not appear to be running" but under the CUPS Web configuration, I don't see anywhere that allows you to stop or restart the spooler?

 

Maybe your CUPS runneth over? :hysterical:

THAT.......was funny :hysterical:

Edited by ichase
Link to comment
Share on other sites

I have tried a few more things but still not dice. The CUPS config may be easy to read for some, but not so much for me.

CRP I use webmin to adminster my SAMBA config but utilize the CUPS Web config for CUPS, been spending more time directly at the /etc/cupsd/cups.conf and trying to make heads or tails from that.

 

The Troubleshooting tool under system-config-printer still states "The CUPS Print spooler does not appear to be running" but under the CUPS Web configuration, I don't see anywhere that allows you to stop or restart the spooler?

 

Do you mean the 631 port for the "web config" ?

Did you check in the WebMin 'Printer Administration' ?

There is a CUPS module available for WebMin

Link to comment
Share on other sites

V.T. Eric Layton

Ian, CUPS spooler is part of the CUPS service. It's a daemon. You need to make sure your CUPS service is running in Arch. I'm sure you've done this already, but...

 

 

Link to comment
Share on other sites

Ian, CUPS spooler is part of the CUPS service. It's a daemon. You need to make sure your CUPS service is running in Arch. I'm sure you've done this already, but...

:hmm: could it be the service is simply not running or that there is a configuration line with an unclosed comment?

These 2 links might help (if webmin hasn't already :whistling: ) :

http://superuser.com/questions/490713/arch-linux-cannot-start-cups-service-with-systemd

https://bbs.archlinux.org/viewtopic.php?pid=1118986#p1118986

Link to comment
Share on other sites

Ian, CUPS spooler is part of the CUPS service. It's a daemon. You need to make sure your CUPS service is running in Arch. I'm sure you've done this already, but...

Every time I make a change, I restart cups.service with systemctl restart cups.service

 

Thanks for the links crp, I will start looking at them here shortly. Hopefully I can get some insight. :)

Link to comment
Share on other sites

Guest LilBambi

Could it not be truly restarting? Is it possible that servicename restart isn't doing what it is supposed to do? I have always found that restart for any daemon is a crap shoot. I generally will do a servicename stop (give it a few seconds) and then do a servicename start.

 

Here's something else in Arch that says {solved} Systemd/Cups that might help.

Edited by LilBambi
Link to comment
Share on other sites

Could it not be truly restarting? Is it possible that servicename restart isn't doing what it is supposed to do? I have always found that restart for any daemon is a crap shoot. I generally will do a servicename stop (give it a few seconds) and then do a servicename start.

 

Here's something else in Arch that says {solved} Systemd/Cups that might help.

You may have found it, LB. From your linked page
I came here with same problems, but I managed to solve my issue, is not "cups", is"cupsd":
Link to comment
Share on other sites

V.T. Eric Layton

cupsd is the daemon, but there is no cupsd in a systemd setup. Systemd does not uses init scripts or daemons of that type.

Link to comment
Share on other sites

securitybreach

Do you have the cups-browsed service enabled and running as I did not see where you mentioned it?

With the kernel modules installed, you can now start the cups service and start the cups-browsed service. You may want to enable the these services so that it starts automatically on boot.

https://wiki.archlin...UPS#CUPS_daemon

Link to comment
Share on other sites

Disregard this post, as I was running the commands from the laptop and NOT the server. I am secured shelled into my server and desktop upstairs and I have tabs in terminal for each one, I was on the WRONG tab. See post 43. :)

Edited by ichase
Link to comment
Share on other sites

securitybreach
Failed to issue method call: Unit cups.service failed to load: No such file or directory. See system logs and 'systemctl status cups.service' for details.

 

Check to see if that is the actual name of the service (since it says 'not found') by listing the .service files:

ls /usr/lib/systemd/system

 

Or check the details by doing:

systemctl status cups.service

Link to comment
Share on other sites

Disregard the last post, I'm an IDIOT, I have multiple tabs open in my terminal, the laptop, the server, the desktop and I was running those commands off the laptop not the server.

I enabled cups-browsed ON THE SERVER and that worked, cups.service status shows active but cups-browsed shows inactive (dead)

[ichase@homeserver ~]$ systemctl status cups-browsed.service     
cups-browsed.service - Make remote CUPS printers available locally
	  Loaded: loaded (/usr/lib/systemd/system/cups-browsed.service; enabled)
	  Active: inactive (dead)

[ichase@homeserver ~]$ systemctl status cups.service
cups.service - CUPS Printing Service
	  Loaded: loaded (/usr/lib/systemd/system/cups.service; enabled)
	  Active: active (running) since Fri 2013-01-18 08:31:43 UTC; 9 months 1 days ago
    Main PID: 240 (cupsd)
	  CGroup: name=systemd:/system/cups.service
			  `-240 /usr/sbin/cupsd -f

Link to comment
Share on other sites

crp - When I ran systemctl start cups-browsed.service, it did not do anything, it just brought me back to the command prompt.

BUT....

Now when I run systemsctl status cups-browsed.service I get this:

cups-browsed.service - Make remote CUPS printers available locally
	  Loaded: loaded (/usr/lib/systemd/system/cups-browsed.service; enabled)
	  Active: active (running) since Sun 2013-10-20 16:03:26 UTC; 1min 9s ago
    Main PID: 3643 (cups-browsed)
	  CGroup: name=systemd:/system/cups-browsed.service
			  `-3643 /usr/sbin/cups-browsed

So now it says it running. But when I click on print in Libre Office I still get:

No default printer found,

Choose a printer and try again and there is no printers showing?

Link to comment
Share on other sites

V.T. Eric Layton

Disregard this post, as I was running the commands from the laptop and NOT the server. I am secured shelled into my server and desktop upstairs and I have tabs in terminal for each one, I was on the WRONG tab. See post 43. :)

 

This is one of the reasons each of my Linux installations uses a custom bash prompt. :)

  • Like 1
Link to comment
Share on other sites

securitybreach

Odd, I just noticed that my bash prompt you posted on that link shows it as blue whereas it has always been green. Kind of hard to see the dark blue.

 

Oh well.... ;) B)

Link to comment
Share on other sites

V.T. Eric Layton

I change themes over there pretty often. I probably originally wrote that article when a light-colored theme was up. :yes:

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...