LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 12-04-2020, 09:23 PM   #16
llewellen
Member
 
Registered: Oct 2016
Location: Vancouver Island, Canada
Distribution: Crunchbang++ Openbox
Posts: 401

Original Poster
Rep: Reputation: Disabled

Quote:
Originally Posted by ferrari View Post
Ok, that shows that CUPS (in particular cupsd) is not active.

This thread may be helpful to you...
https://bbs.archlinux.org/viewtopic.php?id=216216

The printing service can be checked with...
Code:
systemctl status org.cups.cupsd.service
If necessary, it can be enabled with...
Code:
systemctl enable org.cups.cupsd.service
which will have it start at next boot. To start it immediately, do
Code:
systemctl start org.cups.cupsd.service
The thread you cited seems to be all over the map about what "might" work - or not.

Code:
[drew@archlabs-drew ~]$ systemctl status org.cups.cupsd.service
Unit org.cups.cupsd.service could not be found.
[drew@archlabs-drew ~]$ sudo systemctl enable org.cups.cupsd.service
[sudo] password for drew:
Failed to enable unit: Unit file org.cups.cupsd.service does not exist.
[drew@archlabs-drew ~]$
 
Old 12-04-2020, 09:30 PM   #17
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,968

Rep: Reputation: 1167Reputation: 1167Reputation: 1167Reputation: 1167Reputation: 1167Reputation: 1167Reputation: 1167Reputation: 1167Reputation: 1167
You're using ArchLabs (ArchLinux derivative) right? Which version? That can influence the required steps.

One way to get that info definitively...
Code:
cat /etc/os-release
Post the output of...
Code:
systemct | grep cups
 
Old 12-04-2020, 09:39 PM   #18
llewellen
Member
 
Registered: Oct 2016
Location: Vancouver Island, Canada
Distribution: Crunchbang++ Openbox
Posts: 401

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ferrari View Post
You're using ArchLabs (ArchLinux derivative) right? Which version? That can influence the required steps.

One way to get that info definitively...
Code:
cat /etc/os-release
Post the output of...
Code:
systemct | grep cups
ArchLabs version is 2020.11.04 (the most recent release)

Code:
[drew@archlabs-drew ~]$ systemctl |grep cups
[drew@archlabs-drew ~]$
But:

Code:
[drew@archlabs-drew ~]$ pacman -Q cups
cups 1:2.3.3op1-1
[drew@archlabs-drew ~]$
Before I waste any more of your time, I'm going to do some more reading and thinking so that I have a little better insight into this and can ask more intelligent questions. Thanks for sticking with me thus far.
 
Old 12-04-2020, 10:00 PM   #19
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,968

Rep: Reputation: 1167Reputation: 1167Reputation: 1167Reputation: 1167Reputation: 1167Reputation: 1167Reputation: 1167Reputation: 1167Reputation: 1167
All good. Not an ArchLabs (ArchLinux) user, so not sure what the CUPS-related service units are called (apart from what is shown via googe)...anyway, there should be some pertinent unit files present...
Code:
systemctl list-unit-files | grep cups

Last edited by ferrari; 12-04-2020 at 10:18 PM.
 
Old 12-04-2020, 10:29 PM   #20
llewellen
Member
 
Registered: Oct 2016
Location: Vancouver Island, Canada
Distribution: Crunchbang++ Openbox
Posts: 401

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ferrari View Post
All good. Not an ArchLabs (ArchLinux) user, so not sure what the CUPS-related service units are called (apart from what is shown via googe)...anyway, there should be some pertinent unit files present...
Code:
systemctl list-unit-files | grep cups
Code:
[drew@archlabs-drew ~]$ systemctl list-unit-files | grep cups
cups.path                                  enabled         disabled
cups-browsed.service                       disabled        disabled
cups-lpd@.service                          static          -
cups.service                               enabled         disabled
cups-lpd.socket                            disabled        disabled
cups.socket                                enabled         disabled
[drew@archlabs-drew ~]$
From what little I think I have learned, I think I want to use cups.socket so that cups only runs when called by an app that wants to print (e.g. Document Viewer, File Manager, etc)
 
Old 12-04-2020, 10:37 PM   #21
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,968

Rep: Reputation: 1167Reputation: 1167Reputation: 1167Reputation: 1167Reputation: 1167Reputation: 1167Reputation: 1167Reputation: 1167Reputation: 1167
I generally have cups.service (openSUSE Leap) started at boot, but yes, you can rely on socket activation if desired. In any case, make sure the relevant unit files are enabled.
 
Old 12-04-2020, 10:38 PM   #22
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,968

Rep: Reputation: 1167Reputation: 1167Reputation: 1167Reputation: 1167Reputation: 1167Reputation: 1167Reputation: 1167Reputation: 1167Reputation: 1167
A good reference page for you
https://wiki.archlinux.org/index.php/CUPS
 
Old 12-04-2020, 10:43 PM   #23
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, OS/2, others
Posts: 6,353
Blog Entries: 1

Rep: Reputation: 2200Reputation: 2200Reputation: 2200Reputation: 2200Reputation: 2200Reputation: 2200Reputation: 2200Reputation: 2200Reputation: 2200Reputation: 2200Reputation: 2200
Two different ethernet connected Brother printers, HL-5470DW and MFC-8910DW, are making me nuts trying to get working on Leap 15.2. After following Brother's rpm installation instructions I tried configuring via YaST, which seems to get everything right except when it comes to actually printing, so I tried with CUPS, which neither can print a test page. I started a mailing list thread that has produced no progress here. This contains terminal output and more of the goings on, including some sort of debugging suggested by http://localhost:631/help/. This is where I'm at:
Code:
# file out
out: ASCII text
# ls -l out
-rw-rw-r-- 1 root root 322 Dec  4 01:51 out
# lpr out
lpr: Unsupported document-format "text/plain"
 
Old 12-04-2020, 10:59 PM   #24
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,968

Rep: Reputation: 1167Reputation: 1167Reputation: 1167Reputation: 1167Reputation: 1167Reputation: 1167Reputation: 1167Reputation: 1167Reputation: 1167
@mrmazda: Why not start your own thread? Different hardware, different distro.
 
Old 12-04-2020, 11:17 PM   #25
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, OS/2, others
Posts: 6,353
Blog Entries: 1

Rep: Reputation: 2200Reputation: 2200Reputation: 2200Reputation: 2200Reputation: 2200Reputation: 2200Reputation: 2200Reputation: 2200Reputation: 2200Reputation: 2200Reputation: 2200
Because:
  • this one is fresh/active
  • according to the title language, it's generic
  • ferrari is a thread participant who uses Leap
  • it's in the hardware rather than the suse/opensuse forum
  • my last printer before my Brothers was a Canon MFC
  • it seems to be focused on CUPS
  • hopefully it will lead to a howto that works

Last edited by mrmazda; 12-04-2020 at 11:22 PM.
 
Old 12-05-2020, 03:54 AM   #26
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,968

Rep: Reputation: 1167Reputation: 1167Reputation: 1167Reputation: 1167Reputation: 1167Reputation: 1167Reputation: 1167Reputation: 1167Reputation: 1167
Your issue is not related to the OP's. The OP is using ArchLabs. I do use openSUSE Leap but not relevant to this thread. I'd be happy to assist with your issue in it's own thread, either here (or in the openSUSE Forums).
 
Old 12-05-2020, 04:46 AM   #27
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,736
Blog Entries: 7

Rep: Reputation: 2846Reputation: 2846Reputation: 2846Reputation: 2846Reputation: 2846Reputation: 2846Reputation: 2846Reputation: 2846Reputation: 2846Reputation: 2846Reputation: 2846
Quote:
Originally Posted by llewellen View Post
localhost:631 won't connect on my system.
Then the cups service isn't running. Getting it running is step 1 towards fixing this.

On Slackware it's easy:
Code:
# chmod +x /etc/rc.d/rc.cups
# /etc/rc.d/rc.cups start
Job done.

Last edited by rkelsen; 12-05-2020 at 04:50 AM.
 
Old 12-05-2020, 03:09 PM   #28
llewellen
Member
 
Registered: Oct 2016
Location: Vancouver Island, Canada
Distribution: Crunchbang++ Openbox
Posts: 401

Original Poster
Rep: Reputation: Disabled
Red face Embarrassed

Quote:
Originally Posted by ferrari View Post
A good reference page for you
https://wiki.archlinux.org/index.php/CUPS
I feel like a total idiot. I'm going outside now to find a hole to crawl into until my embarrassment subsides.

My system actually has two menus. There is the Openbox right click menu, which I always use, and there is another jgmenu lauched from an icon in the panel, which I seldom use. I accidently stumbled upon "Printer Management" in that other menu, which led me to the CUPS home page, which had a section on setting up a local printer. It identified my printer and then went through a few set up options. It worked! Both printing and scanning are now working fine. The utility I was whining about not existing in Linux actually does exist.

I would like some horseradish please with the crow I'm about to eat. I'm very sorry to have troubled you with my dullness. Thank you for helping. I will expect to hear laughter here, all the way from NZ.
 
Old 12-05-2020, 03:33 PM   #29
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,968

Rep: Reputation: 1167Reputation: 1167Reputation: 1167Reputation: 1167Reputation: 1167Reputation: 1167Reputation: 1167Reputation: 1167Reputation: 1167
Well done with getting the printer configuration completed. Don't beat yourself up. Learning is part of the fun.
 
Old 12-05-2020, 03:37 PM   #30
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, OS/2, others
Posts: 6,353
Blog Entries: 1

Rep: Reputation: 2200Reputation: 2200Reputation: 2200Reputation: 2200Reputation: 2200Reputation: 2200Reputation: 2200Reputation: 2200Reputation: 2200Reputation: 2200Reputation: 2200
Quote:
Originally Posted by ferrari View Post
I'd be happy to assist with your issue in it's own thread, either here (or in the openSUSE Forums).
Here you go.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] My HP 2600 printer stopped printing and their isn't a printer model now in the settings? the error message says the printer is paused? sudo1 Linux - Server 6 04-02-2019 07:14 AM
printer drivers, source for Epson XP-400 Printer mike acker Linux - Hardware 5 08-26-2014 06:08 AM
Drivers, Drivers, Drivers!!! cjparad Ultra X 0 06-09-2009 05:08 PM
CUPS printer will not share to windows client - printer does not have correct drivers Hotchips Linux - Server 2 07-22-2007 03:56 AM
keeping printer on at bootup keeps printer from printing (some printer modules loaded TheOneAndOnlySM Slackware 1 10-17-2003 08:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration