LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-21-2015, 01:00 PM   #1
catgate
LQ Newbie
 
Registered: Nov 2007
Posts: 6

Rep: Reputation: 0
Printing problem Epson XP-215


I have just switched from Ubuntu to Mint (no I do not really know why?) after running Ubuntu for about eight years. I had just bought a new printer (Epson XP-215) a couple of months before and it ran as one should run, on Ubuntu.
Since the switch I am having troubles reaching http://localhost:631/admin.in order to do some "adjustments".
I would be extremely grateful for any advice on this matter.

Geoff
 
Old 12-21-2015, 03:04 PM   #2
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,800

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
Hi Geoff

Can you reach the CUPS web page at all?

http://localhost:631

If not, then CUPS may not be running. Check with
Code:
ps -A|grep cups
For reference, it should return something like
Code:
622 ?        00:00:00 cupsd
Alternatively, if you have nmap installed you can check for a listening CUPS server with
Code:
nmap localhost
which should show port 631 active for a running CUPS server.
 
Old 12-21-2015, 03:13 PM   #3
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,800

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
It may be that CUPS is not installed. If this is the case, it can be installed with
Code:
sudo apt-get install cups
http://linuxaria.com/article/how-to-...mint-with-cups
 
Old 12-21-2015, 05:20 PM   #4
catgate
LQ Newbie
 
Registered: Nov 2007
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by ferrari View Post
Hi Geoff

Can you reach the CUPS web page at all?

http://localhost:631

If not, then CUPS may not be running. Check with
Code:
ps -A|grep cups
For reference, it should return something like
Code:
622 ?        00:00:00 cupsd
Alternatively, if you have nmap installed you can check for a listening CUPS server with
Code:
nmap localhost
which should show port 631 active for a running CUPS server.


Hello ferrari..
long time no hear!

Running "ps -A|grep cups[" returned:-

catgate@catgate-desktop ~ $ ps -A|grep cups
1086 ? 00:00:08 cups-browsed
2800 ? 00:00:00 cupsd
catgate@catgate-desktop ~ $



I ran sudo apt-get install cups and got:-

[sudo] password for catgate:
Reading package lists... Done
Building dependency tree
Reading state information... Done
cups is already the newest version.
The following packages were automatically installed and are no longer required:
kdegames-mahjongg-data libattica0.4 libdlrestrictions1 libkdeclarative5
libkdecore5 libkdegames6abi1 libkdegamesprivate1abi1 libkdeui5 libkdnssd4
libkio5 libkmahjongglib4 libknewstuff3-4 libphonon4 libsolid4
libstreamanalyzer0 libstreams0 phonon phonon-backend-gstreamer
phonon-backend-gstreamer-common phonon-backend-gstreamer1.0
Use 'apt-get autoremove' to remove them.
0 to upgrade, 0 to newly install, 0 to remove and 32 not to upgrade.


I assume all the games stuff will not be causing the "local host" trouble. Presumably to get rid of the redundant games stuff "apt-get autoremove" in a terminal, with all the items listed, should wipe the slate clean just for good housekeeping purposes?

Geoff
 
Old 12-21-2015, 10:54 PM   #5
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,800

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
As cupsd is running, there was no need to run the command to install cups. Although it's not clear to me about why you can't access the web interface via a browser. You could try using the 'system-config-printer' utility instead. Just open a terminal and type
Code:
system-config-printer
Quote:
I assume all the games stuff will not be causing the "local host" trouble.
Unlikely.
Quote:
Presumably to get rid of the redundant games stuff "apt-get autoremove" in a terminal, with all the items listed, should wipe the slate clean just for good housekeeping purposes?
Not essential to do, but good housekeeping I guess. It doesn't relate to your CUPS issue anyway.
 
Old 12-22-2015, 05:20 AM   #6
catgate
LQ Newbie
 
Registered: Nov 2007
Posts: 6

Original Poster
Rep: Reputation: 0
Thank you again, ferrari, for a quick reply.
I removed all the redundant games stuff with "apt-get autoremove" and then tried "system-config-printer" in a Terminal.what I got there was:-

catgate@catgate-desktop ~ $ system-config-printer
Unknown value for media-col: (unknown IPP value tag 0x34)
Choices: [u'media-bottom-margin', u'media-left-margin', u'media-right-margin', u'media-size', u'media-source', u'media-top-margin', u'media-type']
Selecting from choices: media-bottom-margin

(system-config-printer.py:3737): Gtk-WARNING **: Failed to set text from markup due to error parsing markup: Error on line 1: Entity did not end with a semicolon; most likely you used an ampersand character without intending to start an entity escape ampersand as &

(system-config-printer.py:3737): Gtk-WARNING **: Failed to set text from markup due to error parsing markup: Error on line 1: Entity did not end with a semicolon; most likely you used an ampersand character without intending to start an entity escape ampersand as &

(system-config-printer.py:3737): Gtk-WARNING **: Failed to set text from markup due to error parsing markup: Error on line 1: Entity did not end with a semicolon; most likely you used an ampersand character without intending to start an entity escape ampersand as &
catgate@catgate-desktop ~ $


So not only does in not want to play, it also stutters big time.

So I seem to be back where I started.

Geoff
 
Old 12-27-2015, 06:05 PM   #7
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,800

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
This might be due to the following recent bug

https://bugs.launchpad.net/ubuntu/+s...r/+bug/1070002

However, from what is mentioned there, it should not prevent configuration. In any case, have you made sure your system is fully updated?
 
Old 12-27-2015, 06:16 PM   #8
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,800

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
For access to the CUPS server web interface, make sure that /etc/cups/cupsd.conf contains something like
Code:
# Web interface setting...
WebInterface Yes

# Restrict access to the server...
<Location />
  Order allow,deny
</Location>

# Restrict access to the admin pages...
<Location /admin>
  Order allow,deny
</Location>
 
Old 12-29-2015, 10:46 AM   #9
catgate
LQ Newbie
 
Registered: Nov 2007
Posts: 6

Original Poster
Rep: Reputation: 0
Hello again ferrari...and "a Happy New Year" to you when it arrives.

Things are no better on the printing front. In fact the printer itself seems to have surrendered. It started printing rubbish (code?) down the left hand side of the page, and the "ink low" red light winks continuously, despite the fact two of the cartridges have been replaced and normal printing would sometimes occur. This led me to take myself off to a printer chandler who will have a new one for me sometime tomorrow (Wednesday).
Hopefully this may lead to a "self healing" of CUPS (or then again it may not).
As the cat said, when it crapped behind the door..."That remains to be seen!"

Geoff
 
Old 12-29-2015, 03:28 PM   #10
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: USA
Distribution: Lubuntu 14.04, 22.04, Windows 8.1 and 10
Posts: 6,282
Blog Entries: 4

Rep: Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842
Quote:
Originally Posted by catgate View Post
This led me to take myself off to a printer chandler who will have a new one for me sometime tomorrow (Wednesday).
Hi...

Do you know the brand and model (and model number) of the printer you're receiving?

Regards...

Last edited by ardvark71; 12-29-2015 at 05:30 PM. Reason: Correction.
 
Old 12-29-2015, 05:07 PM   #11
catgate
LQ Newbie
 
Registered: Nov 2007
Posts: 6

Original Poster
Rep: Reputation: 0
Angry

Quote:
Originally Posted by ardvark71 View Post
Hi...

Do you the brand and model (and model number) of the printer you're receiving?

Regards...
It should be an Epson WF2510, if all goes according to plan. That is what I ordered.
However bearing in mind how things work out in GB I could well be presented with a small cocker spaniel or a barrow full of treacle and a parking ticket.

We are currently suffering from too much rain causing widespread flooding and damage to bridges and roads. We are in what is normally one of the driest places in the UK (about 16 miles south of York). The flooding is due mainly to the deluge of water falling from above onto the land in the YORKSHIRE DALES. Each dale has its own river and as the water flows in a generally South-easterly direction the rivers all gradually join together and cause flooding.
So much has fallen in the last few days that the flood is taking out bridges that have stood for several centuries. I am hoping that I can get to the store and back (about 18 miles south of here) without any trouble.

Geoff
 
Old 12-29-2015, 05:49 PM   #12
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: USA
Distribution: Lubuntu 14.04, 22.04, Windows 8.1 and 10
Posts: 6,282
Blog Entries: 4

Rep: Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842
Quote:
Originally Posted by catgate View Post
It should be an Epson WF2510, if all goes according to plan.
Hi...

Thank you for your reply. From what I see here, it looks like your (hopefully) new printer is well supported. To make it easier, you might want to install the (.deb) driver mentioned on that page. First, verify the architecture of the copy of Mint you're running (32 bit or 64 bit) and download one of the two following packages...

1. Here for 32 bit.

2. Here for 64 bit.

With the printer hooked up, simply go to the location where the package is (where you downloaded it to) and double click to install it.

If you don't know Mint's architecture and don't know how to look this up, simply open a terminal and run this command...

Code:
uname -a
If you need one of us to help interpret the output, please post back with the results.

I hope everyone in that area of England are doing ok despite the flooding and the loss of property. We've gotten quite a bit of rain here in western Oregon the last two or three months, although we needed it. It was extremely dry last summer. I will pray for you guys.

Regards...

Last edited by ardvark71; 12-29-2015 at 05:53 PM. Reason: Added comment.
 
Old 12-30-2015, 05:10 PM   #13
catgate
LQ Newbie
 
Registered: Nov 2007
Posts: 6

Original Poster
Rep: Reputation: 0
Well I was successful in collecting my new printer and I now seem to have been successful in getting it to print. However the other part of the problem is more worrying.
The question is now "How do I clear what ever it is that is making it impossible for me to get "http://localhost:631/admin" to perform. When I try it just tells me "Firefox can't establish a connection to the server at localhost."

On the matter of flooding it must be less serious that predicted because the water still only comes half way up the ducks!


Geoff
 
Old 12-30-2015, 08:56 PM   #14
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: USA
Distribution: Lubuntu 14.04, 22.04, Windows 8.1 and 10
Posts: 6,282
Blog Entries: 4

Rep: Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842
Quote:
Originally Posted by catgate View Post
Well I was successful in collecting my new printer and I now seem to have been successful in getting it to print. However the other part of the problem is more worrying. The question is now "How do I clear what ever it is that is making it impossible for me to get "http://localhost:631/admin" to perform. When I try it just tells me "Firefox can't establish a connection to the server at localhost."
Hi...

Take a look at my previous post about the drivers. It might make this process easier.

By the way, I don't think you're alone as far as being unable to reach the website, I can't either. I keep getting a "connection refused" error.

Regards...
 
Old 12-31-2015, 02:03 AM   #15
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,800

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
Hi Catgate. New Years Eve here in NZ! Wishing you a Happy New Year too. It will be your cupsd.conf configuration hat is preventing access to the CUPS web UI. Here's a Mint thread describing the same issue, and the 'solution' to replace cupsd.conf with cupsd.conf.default (CUPS default configuration) using

Code:
sudo cp /etc/cups/cupsd.conf.default /etc/cups/cupsd.conf
sudo /etc/init.d/cups restart
Perhaps Mint (=Ubuntu) disables it for some reason?
 
  


Reply



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] Problem printing with EPSON CX6600 on Slackware 13.1 Vault Dweller Slackware 1 06-30-2010 10:16 AM
Printing Problem in 11.2 - all was well in 11.0 [Epson AL C1100] dave_in_duckville Linux - Hardware 2 12-03-2009 01:46 AM
Problem printing on new Epson nx415 rstplinux Linux - Hardware 5 11-28-2009 03:06 AM
Problem printing in 11.2 via Samba to Epson AL C1100 dave_in_duckville Linux - Newbie 0 11-26-2009 09:52 AM
Printing problem - EPSON STYLUS C41 SX arindom Linux - Hardware 3 03-10-2008 10:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:38 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