Epson DX4850 usb printer does not work after upgrading from 7.04 to 7.10
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gutenprint (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
sane-backends (Ubuntu) |
Invalid
|
Low
|
Unassigned |
Bug Description
Binary package hint: cupsys-
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/
I [19/Oct/
I [19/Oct/
I [19/Oct/
D [19/Oct/
D [19/Oct/
E [19/Oct/
E [19/Oct/
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/
strace -v -o /tmp/trace /usr/lib/
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=
The trace ( after the obligatory loading ) is quite short and reads like this
....
brk(0) = 0x804d000
brk(0x806e000) = 0x806e000
open("job-
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
Changed in gutenprint: | |
assignee: | pascal-devuyst → nobody |
status: | Incomplete → New |
Changed in gutenprint: | |
status: | New → Incomplete |
Thanks for your bug report. /wiki.ubuntu. com/PrintingBug InfoScript.
Please provide the output of the printing bug info script as described here: https:/