Public bug reported:

Binary package hint: cupsys-driver-gutenprint

I have an epson multifunction device (printer, scanner, mass storage ) attached 
to usb acting as secondary printer and scanner. Additional I have a samsung 
ml-1520 laser 
printer attached to usb too.

After upgrading from 7.04 to 7.10 the espon dx 4850 stopped working. All print 
jobs get
queued but are not delivered to the device itself. The samsung works without 
problems.

Using the cups administration via the web interface (localhost:631) i deleted 
the
epson and reinstalled it using the function 'Find New Printers'. I was given the
only choice 'EPSON USB2.0 MFP(Hi-Speed) (Gutenprint USB Printer #1)' which I 
chose and
assigned as driver 'Epson Stylus DX4800 - CUPS+Gutenprint v5.0.1'.
The printer status page tells me that the device uri is epson:/dev/usb/lp0, 
which is
correct in my case.

When trying to print a test page from the printer admin page the job gets 
started, but
no page is actually printed. The job is held and the printer status reads 
"Unable to open parallel port device file: Permission denied", which in itself 
is 
quite puzzling, since I have an usb device.

I switched on the debug switch for cups and started a new test page. I have 
found 
a probable cause of the problem in the cups error log. 

I [19/Oct/2007:22:23:50 +0200] [Job 394] Started filter 
/usr/lib/cups/filter/pstops (PID 7846)
I [19/Oct/2007:22:23:50 +0200] [Job 394] Started filter 
/usr/lib/cups/filter/pstoraster (PID 7847)
I [19/Oct/2007:22:23:50 +0200] [Job 394] Started filter 
/usr/lib/cups/filter/rastertogutenprint.5.0 (PID 7849)
I [19/Oct/2007:22:23:50 +0200] [Job 394] Started backend 
/usr/lib/cups/backend/epson (PID 7850)
D [19/Oct/2007:22:23:50 +0200] Discarding unused job-state event...
D [19/Oct/2007:22:23:50 +0200] cupsdProcessIPPRequest: 13 status_code=0 
(successful-ok)
E [19/Oct/2007:22:23:50 +0200] PID 7850 (/usr/lib/cups/backend/epson) stopped 
with status 1!
E [19/Oct/2007:22:23:50 +0200] [Job 394] Unable to open parallel port device 
file: Permission denied

The epson backend obviously terminated and thus no data is send to the printer.
Starting the epson backend by hand always leads the the above mentioned error 
message
abount not being able to open the parallel port device file, without stating 
the actual 
device itself.

Next I substituted the epson backend with the folowing script to be able to 
strace the
actual epson backend during print operation:

#!/bin/sh

echo strace -v -o /tmp/trace /usr/lib/cups/backend/epson.orig $@ > 
/tmp/epson_call
strace -v -o /tmp/trace /usr/lib/cups/backend/epson.orig $@

Both dump files have owner and group set to lp.

The epson backend gets called with the parameters
401 martin Test Page 1 job-uuid=urn:uuid:fe4a98a3-b547-3089-792e-deda7ba5a46a

The trace ( after the obligatory loading ) is quite short and reads like
this

....
brk(0)                                  = 0x804d000
brk(0x806e000)                          = 0x806e000
open("job-uuid=urn:uuid:fe4a98a3-b547-3089-792e-deda7ba5a46a", O_RDONLY) = -1 
ENOENT (No such file or directory)
dup(2)                                  = 5
fcntl64(5, F_GETFL)                     = 0x1 (flags O_WRONLY)
close(5)                                = 0
write(2, "ERROR: unable to open print file"..., 60) = 60
exit_group(1)                           = ?


This again seems to indicate that the epson backend is taking the job id 
literally and tries to open it 
as file, which obviously fails.

After having done all this digging i am now at an end with my knowledge.

Could you please have a look into this.

As a side remark: Since this printer is a multifunction device, it gets also 
detected
as a scanner. This leads to having the created device node  (/dev/usb/lp0) 
getting group
ownership of scanner. I had to tweak the lp account be in group scanner as well 
to be able
to print in 7.04.

regards
Martin Lubich

** Affects: gutenprint (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Epson DX4850 usb printer does not work after upgrading from 7.04 to 7.10
https://bugs.launchpad.net/bugs/154833
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to