Ubuntu 12.04 and Epson XP 102 printer

The place to post if you need help or advice

Moderators: ChrisThornett, LXF moderators

Ubuntu 12.04 and Epson XP 102 printer

Postby catgate » Thu Mar 28, 2013 10:02 pm

I built up a desktop machine for a friend during the time 8.04 was current. It was duly upgraded to 10.04 and it has been trouble free right up until a week ago when the PSU "gave in", and took out the rest of the works (as I found out as I tried to persuade it to work again).
The only cure was to build a new machine. Having now built it, and loaded it with 12.04, and its updates (including the "classic" option), I am left with the following most peculiar problem......

It recognises the printer and will happily shunt a document down to the printer but it will not print it. The printer will accept the "print test page" command but will only print a page with a column of mainly capital "M"s down the left hand edge of the page.
Peculiarly the printer will print a perfect test page quite happily on my standby desktop machine which is on 12.04.

Can anyone, please, throw some light on this strange business?
Oh, sod it.
catgate
LXF regular
 
Posts: 1094
Joined: Wed Jul 19, 2006 6:45 pm
Location: Just over there, in that corner.

Postby ferrari » Fri Mar 29, 2013 10:11 am

It's likely that different drivers have been chosen for each machine. I would start by comparing the corresponding ppd files in both machines for this printer. Look in the /etc/cups/ppd/ directory. (You may need to copy the working one over to the problematic one if applicable.) The printer config can be found in /etc/cups/printers.conf. You might want to compare this file too.
ferrari
LXF regular
 
Posts: 142
Joined: Tue May 03, 2005 11:09 am

Postby catgate » Fri Mar 29, 2013 11:21 am

Thank you for that, ferrari.

I shall go and investigate.
Oh, sod it.
catgate
LXF regular
 
Posts: 1094
Joined: Wed Jul 19, 2006 6:45 pm
Location: Just over there, in that corner.

Postby catgate » Fri Mar 29, 2013 1:01 pm

So I have went and investamagated.

On the new machine the /etc/cups/ppd/ directory contained file XP-102-103-Series.ppd

Clicking on /etc/cups/printers.conf. resulted in the message :-

"Could not display /etc/cups/printers.conf.
The file is of an unknown type"

On my standby machine the result is the same. However I have not compared the two XP-102-103-Series.ppd files line by line, but I am assuming that having the same file name they will be identical.
Oh, sod it.
catgate
LXF regular
 
Posts: 1094
Joined: Wed Jul 19, 2006 6:45 pm
Location: Just over there, in that corner.

Postby catgate » Fri Mar 29, 2013 3:12 pm

Further confusion.
When the printer is hooked up to the new computer, and the instruction to print a test page is given, it does not print one, but the computer believes it has done, and say print job complete.
Oh, sod it.
catgate
LXF regular
 
Posts: 1094
Joined: Wed Jul 19, 2006 6:45 pm
Location: Just over there, in that corner.

Postby nelz » Fri Mar 29, 2013 9:10 pm

printers.conf is a text file, just read it in less, or use diff to compare the two files.

Having the same name is no guarantee of having the same contents. One could be corrupt, or they could be different versions. Once again, diff is your friend.
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
User avatar
nelz
Site admin
 
Posts: 8577
Joined: Mon Apr 04, 2005 11:52 am
Location: Warrington, UK

Postby catgate » Fri Mar 29, 2013 10:16 pm

nelz wrote:printers.conf is a text file, just read it in less, or use diff to compare the two files.

Having the same name is no guarantee of having the same contents. One could be corrupt, or they could be different versions. Once again, diff is your friend.


Ah, nelz, you have gone all esoteric on me again.
The name "diff" is enough to tell me what it does, but what the rest of the instruction should be, and the manner of it's syntax, is way above my simple comprehension.
I could use some more guidemce, please.
Oh, sod it.
catgate
LXF regular
 
Posts: 1094
Joined: Wed Jul 19, 2006 6:45 pm
Location: Just over there, in that corner.

Postby ferrari » Fri Mar 29, 2013 10:31 pm

The terminal is your friend here. You could use
Code: Select all
sudo less /etc/cups/printers.conf

or
Code: Select all
sudo cat /etc/cups/printers.conf


The diff command is used like this
Code: Select all
diff /path/to/file1 /path/to/file2

So, use a memory stick to get the remote file, and rename it so you can compare. (Don't forget to take care of the paths or the command will fail.)

Hint: man pages are useful for command info (and google can be helpful too).
Code: Select all
man diff
ferrari
LXF regular
 
Posts: 142
Joined: Tue May 03, 2005 11:09 am

Postby catgate » Sat Mar 30, 2013 5:58 pm

Thank you both for your aid and support. The problem is now solved.
I set off with memory stick in hand and hope in my heart and very swiftly ran into user and password problems. My original aim was file comparison but eventually I thought I would copy the working .pdd file over to the other machine. Yes, more grief.
Eventually I downloaded "todays 12.04.2" (with updates) and did a complete reinstallation. Of course when it came to trying to print I had to down load a driver but that went smoothly enough and the problem was history.
Naturally I had to download the Gnome-classic-session package, because my friend is an even bigger luddite than I am.
Thanks again for pointing me in the right direction.
Oh, sod it.
catgate
LXF regular
 
Posts: 1094
Joined: Wed Jul 19, 2006 6:45 pm
Location: Just over there, in that corner.

Postby ferrari » Sun Mar 31, 2013 4:34 am

Glad to hear of your success. :)

The leaning curve can be steep but it's all worth the effort.
ferrari
LXF regular
 
Posts: 142
Joined: Tue May 03, 2005 11:09 am

Postby catgate » Sun Mar 31, 2013 3:35 pm

ferrari wrote:Glad to hear of your success. :)

The leaning curve can be steep but it's all worth the effort.


Yes that is true.
I can also add, as an octagenarian, that the longer you are on the curve the steeper it gets.
I suspect that the reason is that the scaffolding, that was holding up the part of the curve over which one has passed gradually, gives way and increases the gradient!
It all become asymptotic.
Oh, sod it.
catgate
LXF regular
 
Posts: 1094
Joined: Wed Jul 19, 2006 6:45 pm
Location: Just over there, in that corner.

Postby lok1950 » Sun Mar 31, 2013 8:16 pm

It all become asymptotic


If not vertical so I always have a bag of pitons to hammer into the cliff face in the tool kit . Google/linux is one of them :)

Enjoy the Choice :)
User avatar
lok1950
LXF regular
 
Posts: 1044
Joined: Tue May 31, 2005 5:31 am
Location: Ottawa


Return to Help!

Who is online

Users browsing this forum: Fat_Tuesday and 3 guests