CUPS and Epson CX5400 Color Stylus Printer
Running 'Sarge' with kernel 2.4.27
CUPS, plus the "ekpd" package from Epson.com
The printer is attatched to USB.
The Epson status monitor is able to "see" it and report up/down and
ink-level correctly.
The connection is from CUPS to a "Dummy" URI thusly:
<blockquote source="/etc/cups/cupsd.conf">
<Location /printers/scx5300_5400s>
DeviceURI ekplp:/var/ekpd/ekplp0
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
Allow From 192.168.1.0/24
</Location>
</blockquote>
The "DummyURI" is picked up by the Epson print handler "ekpd from the
following:
<blockquote source="/etc/ekpdrc">
PrinterName = scx5300_5400s
PrinterDevicePath = /dev/usb/lp0
DummyDevicePath = /var/ekpd/ekplp0
CommandServerPort = 35586
</blockquote>
That gets me to /dev/usb/lp0, and the printer is, indeed, on the /dev/usb.
I don't know about the lp0 designation, exactly.
The following comes from the startup information:
<blockquote source="dmesg">
usb.c: registered new driver hiddev
usb.c: registered new driver hid
hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <vojtech@suse.cz>
hid-core.c: USB HID support drivers
ehci_hcd 00:02.2: nVidia Corporation nForce2 USB Controller
ehci_hcd 00:02.2: irq 11, pci mem d0eee000
usb.c: new USB bus registered, assigned bus number 3
PCI: cache line size of 64 is not supported by device 00:02.2
ehci_hcd 00:02.2: USB 2.0 enabled, EHCI 1.00, driver 2003-Dec-29/2.4
hub.c: USB hub found
hub.c: 6 ports detected
usb.c: USB disconnect on device 00:02.0-1 address 2
usb.c: USB disconnect on device 00:02.1-3 address 2
printer.c: usblp0: removed
</blockquote>
*************************** The "usblp0 removed doesn't look good !
However, the spill of info continues:
<blockquote>
Intel 810 + AC97 Audio, version 1.01, 11:30:22 Jan 20 2005
hub.c: new USB device 00:02.1-3, assigned address 3
pciehp: acpi_pciehprm:get_device PCI ROOT HID fail=0x1001
printer.c: usblp0: USB Bidirectional printer dev 3 if 1 alt 0 proto 2
vid 0x04B8 pid 0x0808
hub.c: new USB device 00:02.0-1, assigned address 3
input0: Microsoft Microsoft USB Mouse on usb1:3.0
</blockquote>
*************************** Now, I'm confused, I hope the software is
less so.
<blockquote>
parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE,EPP]
parport0: irq 7 detected
lp0: using parport0 (polling).
</blockquote>
*************************** This seems a waste, there is nothing on my
parallel port.
SO, suggestions as to what to try next are more than welcome.
The CUPS error log is huge ( I set it to Debug2 ). But, it doesn't tell
me a darn thing; I don't know what to look for.
--
David A. Cobb, Software Engineer, Public Access Advocate
"By God's Grace, I am a Christian man; by my actions a great sinner." -- The Way of a Pilgrim: R.French, Tr.
Life is too short to tolerate crappy software!
Reply to: