LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Printing problem Epson XP-215 (https://www.linuxquestions.org/questions/linux-software-2/printing-problem-epson-xp-215-a-4175562057/)

catgate 12-21-2015 01:00 PM

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

ferrari 12-21-2015 03:04 PM

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.

ferrari 12-21-2015 03:13 PM

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

catgate 12-21-2015 05:20 PM

Quote:

Originally Posted by ferrari (Post 5467293)
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

ferrari 12-21-2015 10:54 PM

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.

catgate 12-22-2015 05:20 AM

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

ferrari 12-27-2015 06:05 PM

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?

ferrari 12-27-2015 06:16 PM

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>


catgate 12-29-2015 10:46 AM

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

ardvark71 12-29-2015 03:28 PM

Quote:

Originally Posted by catgate (Post 5470447)
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...

catgate 12-29-2015 05:07 PM

Quote:

Originally Posted by ardvark71 (Post 5470563)
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

ardvark71 12-29-2015 05:49 PM

Quote:

Originally Posted by catgate (Post 5470588)
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...

catgate 12-30-2015 05:10 PM

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

ardvark71 12-30-2015 08:56 PM

Quote:

Originally Posted by catgate (Post 5471040)
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...

ferrari 12-31-2015 02:03 AM

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?


All times are GMT -5. The time now is 11:22 PM.