LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 05-26-2017, 02:20 PM   #1
AntOne
LQ Newbie
 
Registered: Aug 2015
Location: England.
Distribution: Currently Peppermint 7
Posts: 28

Rep: Reputation: Disabled
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
 
Old 05-26-2017, 03:11 PM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,444

Rep: Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474
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.
Old 05-27-2017, 10:30 AM   #3
AntOne
LQ Newbie
 
Registered: Aug 2015
Location: England.
Distribution: Currently Peppermint 7
Posts: 28

Original Poster
Rep: Reputation: Disabled
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 01:02 PM. Reason: Missed a word - "how" out, sorry.
 
Old 05-27-2017, 01:33 PM   #4
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,444

Rep: Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474
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 01:34 PM.
 
Old 05-27-2017, 05:12 PM   #5
AntOne
LQ Newbie
 
Registered: Aug 2015
Location: England.
Distribution: Currently Peppermint 7
Posts: 28

Original Poster
Rep: Reputation: Disabled
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
 
Old 05-27-2017, 05:54 PM   #6
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,444

Rep: Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474
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.
 
Old 05-27-2017, 07:42 PM   #7
AntOne
LQ Newbie
 
Registered: Aug 2015
Location: England.
Distribution: Currently Peppermint 7
Posts: 28

Original Poster
Rep: Reputation: Disabled
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 07:48 PM. Reason: Tidied for ease of reading.
 
Old 05-27-2017, 09:56 PM   #8
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,444

Rep: Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474
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.
 
Old 05-28-2017, 01:57 PM   #9
AntOne
LQ Newbie
 
Registered: Aug 2015
Location: England.
Distribution: Currently Peppermint 7
Posts: 28

Original Poster
Rep: Reputation: Disabled
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
 
Old 05-28-2017, 03:23 PM   #10
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,444

Rep: Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474
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.
 
Old 05-28-2017, 05:07 PM   #11
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,781

Rep: Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139
Is this printer attached to the network, or connected via USB cable?
 
Old 05-28-2017, 06:20 PM   #12
AntOne
LQ Newbie
 
Registered: Aug 2015
Location: England.
Distribution: Currently Peppermint 7
Posts: 28

Original Poster
Rep: Reputation: Disabled
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!
 
Old 05-28-2017, 06:39 PM   #13
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,781

Rep: Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139
When you say that it exists, can you verify that it is defined in /etc/cups/printers.conf?
Code:
cat /etc/cups/printers.conf
Code:
lpstat -t
Also, check the .ppd file defined in /etc/cups/ppd/ directory for it.
Code:
egrep "Model|Name|Filter" /etc/cups/ppd/*
 
Old 05-28-2017, 08:15 PM   #14
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,444

Rep: Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474
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.
 
Old 05-29-2017, 10:18 AM   #15
AntOne
LQ Newbie
 
Registered: Aug 2015
Location: England.
Distribution: Currently Peppermint 7
Posts: 28

Original Poster
Rep: Reputation: Disabled
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
 
  


Reply

Tags
cups


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
peppermint login cooasty Linux - Newbie 2 01-02-2017 10:21 AM
LXer: Peppermint OS 4 out now LXer Syndicated Linux News 0 06-14-2013 12:00 PM
LXer: Peppermint OS 3 Review LXer Syndicated Linux News 0 08-08-2012 02:12 AM
[SOLVED] Peppermint OS megatoon31 Linux - Newbie 3 04-26-2012 06:22 AM
Peppermint Ice d0uglas88 Linux - Newbie 2 02-06-2011 12:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:56 AM.

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