Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
05-26-2017, 03:20 PM
|
#1
|
LQ Newbie
Registered: Aug 2015
Location: England.
Distribution: Currently Peppermint 7
Posts: 28
Rep:
|
How do I get CUPS on Peppermint 7?
Hello all, I have Peppermint 7.
Unable to print at present -
How do I get Cups to work, download or whatever.
The printer is a Samsung CLP325 and I've forgotten how to load its driver.
I think my head is ceasing to focus too but that's a separate problem!
Regards Ant
|
|
|
05-26-2017, 04:11 PM
|
#2
|
LQ Guru
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 11,048
|
It should be installed so just open a browser and type: http://localhost:631
That should open the CUPS configuration page.
|
|
1 members found this post helpful.
|
05-27-2017, 11:30 AM
|
#3
|
LQ Newbie
Registered: Aug 2015
Location: England.
Distribution: Currently Peppermint 7
Posts: 28
Original Poster
Rep:
|
Thankyou Yancek, all good thus far.
All I need now is how to tell it there's a printer, a CLP325...
Regards Ant
Last edited by AntOne; 05-27-2017 at 02:02 PM.
Reason: Missed a word - "how" out, sorry.
|
|
|
05-27-2017, 02:33 PM
|
#4
|
LQ Guru
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 11,048
|
When you open the CUPS page in the browser, the section under CUPS for Administrators has an option "Adding Printers and Classes". Click on that and you will have options to Add Printer or Find New Printer as well as Manage Printers. Click the Manage Printers tab and see if anything is shown. If not try the "Find" or "Add" printer options. The link below is a brief explanation of configuring a printer with CUPS for Ubuntu. Since Peppermint is an Ubuntu derivative, steps should be the same. Skip the first section on installing as it should be installed. Obviously, have the printer plugged in and turned on before beginning.
https://www.linux.com/blog/add-print...ps-web-utility
What's a CLP325...?
Last edited by yancek; 05-27-2017 at 02:34 PM.
|
|
|
05-27-2017, 06:12 PM
|
#5
|
LQ Newbie
Registered: Aug 2015
Location: England.
Distribution: Currently Peppermint 7
Posts: 28
Original Poster
Rep:
|
Hello Yancek,
I'm getting there slowly; the computer knows that the printer is there, and its model no., but no output is sent to the printer. The printer will do its own test pages ok, not those from the computer - nor anything else.
CLP325 is a Samsung colour laser, always been ok with earlier out-of-date Ubuntu.
Current distro is Peppermint 7.
I'm very grateful to you for your time and expertise! Sorry if I seem obtuse, my brain is - literally - losing concentration and ability to focus. Fascinating but off-topic!
Regards Ant
|
|
|
05-27-2017, 06:54 PM
|
#6
|
LQ Guru
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 11,048
|
You could try some checks from a terminal to see if it is the printer or the CUPS configuration. Try each of the commands below consecutively. The first one obviously should give information on the status of the printer.
The second command run from the directory in which you have a file named somefile should print it. Make sure you are in the directory where the file you want to print exists.
The third command shows anything in the print queue and the last command removes anyting you want from the queue by appending the specific job number.
Code:
lpc status all
lpr somefile
lpq
lprm
I've been pretty lucky with printers and they usually work for me without any configuration.
|
|
|
05-27-2017, 08:42 PM
|
#7
|
LQ Newbie
Registered: Aug 2015
Location: England.
Distribution: Currently Peppermint 7
Posts: 28
Original Poster
Rep:
|
Hello Yancek, I got:
mary@mary-Latitude-E6430 ~ $ lpc status all
The program 'lpc' can be found in the following packages:
* cups-bsd
* lpr
* lprng
Try: sudo apt install <selected package>
mary@mary-Latitude-E6430 ~ $ lpr
The program 'lpr' can be found in the following packages:
* cups-bsd
* lpr
* lprng
Try: sudo apt install <selected package>
mary@mary-Latitude-E6430 ~ $ lpr MaryTidiedWI2017ThisOne
The program 'lpr' can be found in the following packages:
* cups-bsd
* lpr
* lprng
Try: sudo apt install <selected package>
mary@mary-Latitude-E6430 ~ $ lpq
The program 'lpq' can be found in the following packages:
* cups-bsd
* lpr
* lprng
Try: sudo apt install <selected package>
mary@mary-Latitude-E6430 ~ $
G'night! Regards Ant
Last edited by AntOne; 05-27-2017 at 08:48 PM.
Reason: Tidied for ease of reading.
|
|
|
05-27-2017, 10:56 PM
|
#8
|
LQ Guru
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 11,048
|
Surprising that software is not available by default. Just run the command suggested to install.
Code:
sudo apt install lpr
Repeat the command for lprng and cups-bsd or try them all in one command.
|
|
|
05-28-2017, 02:57 PM
|
#9
|
LQ Newbie
Registered: Aug 2015
Location: England.
Distribution: Currently Peppermint 7
Posts: 28
Original Poster
Rep:
|
Hello Yancek, some progress I think!
It says there's no /dev/lp0
and elsewhere it says the printer is there, on, but not enabled.
That's a new one on me, I'd thought the only able/disable switch was the mains switch!
So near and yet so far. I shall search its opating manual...
Regards Ant
|
|
|
05-28-2017, 04:23 PM
|
#10
|
LQ Guru
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 11,048
|
I've never used a Samsung so I don't know what options you might have. You could try opening the CUPS page from the web browser and going to the Adding Printers and Classes page and taking a look at the Access and Error logs from the tabs on the upper right to see if there is anything interesting. Maybe post what you see here.
|
|
|
05-28-2017, 06:07 PM
|
#11
|
LQ Guru
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,913
|
Is this printer attached to the network, or connected via USB cable?
|
|
|
05-28-2017, 07:20 PM
|
#12
|
LQ Newbie
Registered: Aug 2015
Location: England.
Distribution: Currently Peppermint 7
Posts: 28
Original Poster
Rep:
|
Hello Ferrari, it's usb.
Hello again to Yancek, I'm still thrashing around! The printer itself doesn't have a Ready/Not ready option. Yet Terminal says it exists, just that it's not enabled. Mind you, it says all that with the power and usb leads out which seems awfully strange...
I don't much like Peppermint, p'raps I'll try again to like Ubuntu, it can't be any worse. Or even use Debian again, I used-to!
|
|
|
05-28-2017, 07:39 PM
|
#13
|
LQ Guru
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,913
|
When you say that it exists, can you verify that it is defined in /etc/cups/printers.conf?
Code:
cat /etc/cups/printers.conf
Also, check the .ppd file defined in /etc/cups/ppd/ directory for it.
Code:
egrep "Model|Name|Filter" /etc/cups/ppd/*
|
|
|
05-28-2017, 09:15 PM
|
#14
|
LQ Guru
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 11,048
|
Quote:
Mind you, it says all that with the power and usb leads out which seems awfully strange...
|
The output below is what I get running lpc status on my machine, that's with the printer OFF and not plugged in so that behavior is expected. The problem is your is showing not enabled for some reason.
Quote:
lpc status
HP-Photosmart-C4600-series:
printer is on device 'hp' speed -1
queuing is enabled
printing is enabled
no entries
daemon present
|
Posting the contents of the file asked for above might help.
|
|
|
05-29-2017, 11:18 AM
|
#15
|
LQ Newbie
Registered: Aug 2015
Location: England.
Distribution: Currently Peppermint 7
Posts: 28
Original Poster
Rep:
|
Hello both, these are from Ferrari's suggestion:
mary@mary-Latitude-E6430 ~ $ sudo cat /etc/cups/printers.conf
[sudo] password for mary:
# Printer configuration file for CUPS v2.1.3
# Written by cupsd
# DO NOT EDIT THIS FILE WHEN CUPSD IS RUNNING
<DefaultPrinter Samsung-CLP-320-Series>
UUID urn:uuid:a1a8000a-1d47-3f05-7443-041232cb41cd
Info Samsung CLP-320 Series
Location mary-Latitude-E6430
MakeModel Samsung CLP-350 Series PS
DeviceURI usb://Samsung/CLP-320%20Series?serial=Z4PRBABC202134N
State Stopped
StateMessage Backend /usr/lib/cups/backend/usb does not exist!
StateTime 1495910418
ConfigTime 1496010968
Type 8392780
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy retry-job
</DefaultPrinter>
mary@mary-Latitude-E6430 ~ $
mary@mary-Latitude-E6430 ~ $
mary@mary-Latitude-E6430 ~ $ lpstat -t
scheduler is running
system default destination: Samsung-CLP-320-Series
device for Samsung-CLP-320-Series: usb://Samsung/CLP-320%20Series?serial=Z4PRBABC202134N
Samsung-CLP-320-Series accepting requests since Sat 27 May 2017 19:40:18 BST
printer Samsung-CLP-320-Series disabled since Sat 27 May 2017 19:40:18 BST -
Backend /usr/lib/cups/backend/usb does not exist!
Samsung-CLP-320-Series-14 mary 319488 Sun 28 May 2017 23:39:22 BST
mary@mary-Latitude-E6430 ~ $
Note the Backend file not existing...
Thankyou, I wish I could return the favour - Ant
|
|
|
All times are GMT -5. The time now is 08:51 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|