installed gutenprint, now cant print on Epson C88

jeff jharan at comcast.net
Sun Dec 10 22:27:46 PST 2006


Hello,

I have an Epson Stylus C88 installed to my parallel port. I was running Suse 9.2 and printing was fine with that distro. I recently upgraded to Suse 10.1. Today I downloaded the gutenprint-5.0.0 sources, did the ./configure, make and make install thing. This was because my attempts to do a head cleaning with escputil always resulted in:

Cannot open /dev/lp0 read/write: Device or resource busy

Now I find that escputil wont even retrieve the ink level:

linux:/home/jeff/printer # escputil -i -u -r /dev/lp0
Escputil version 5.0.0, Copyright (C) 2000-2006 Robert Krawitz
Escputil comes with ABSOLUTELY NO WARRANTY; for details type 'escputil -l'
This is free software, and you are welcome to redistribute it
under certain conditions; type 'escputil -l' for details.

Cannot open /dev/lp0 read/write: Device or resource busy
linux:/home/jeff/printer # whoami
root
linux:/home/jeff/printer #

Also, printing in general now does not function. The jobs seem to appear in the print queue for a short time and then disappear. Nothing visibly happens on the printer at all.

I set the LogLevel in /etc/cups/cupsd.conf to debug:

linux:/etc/cups # grep LogLevel cupsd.conf
# LogLevel: controls the number of messages logged to the ErrorLog
#LogLevel info
LogLevel debug

rebooted the system, queued another print job, but nothing informative shows up in /var/log/cups/error_log:

jeff at linux:/var/log/cups> l error_log
-rw-r--r-- 1 lp lp 764182 2006-12-10 23:08 error_log
jeff at linux:/var/log/cups> head error_log
D [10/Dec/2006:23:08:02 -0800] [Job 7] cups->header.Duplex = 0
D [10/Dec/2006:23:08:02 -0800] [Job 7] cups->page = 1
D [10/Dec/2006:23:08:02 -0800] [Job 7] cupsPPD = 0x81393e0
D [10/Dec/2006:23:08:02 -0800] [Job 7] cupsPPD->flip_duplex = 0
D [10/Dec/2006:23:08:02 -0800] [Job 7] width = 6120, height = 3960
D [10/Dec/2006:23:08:02 -0800] [Job 7] PageSize = [ 612 792 ], HWResolution = [ 720 360 ]
D [10/Dec/2006:23:08:02 -0800] [Job 7] HWMargins = [ 0.000 0.000 0.000 0.000 ]
D [10/Dec/2006:23:08:02 -0800] [Job 7] matrix = [ 10.000 0.000 0.000 -5.000 -0.000 3960.000 ]
D [10/Dec/2006:23:08:02 -0800] [Job 7] cups->header.Duplex = 0
D [10/Dec/2006:23:08:02 -0800] [Job 7] cups->page = 1

jeff at linux:/var/log/cups> tail error_log
D [10/Dec/2006:23:08:19 -0800] ProcessIPPRequest: 8 status_code=1
D [10/Dec/2006:23:08:19 -0800] AcceptClient: 5 from localhost:631.
D [10/Dec/2006:23:08:19 -0800] CloseClient: 8
D [10/Dec/2006:23:08:19 -0800] ReadClient: 5 POST /printers/ HTTP/1.1
D [10/Dec/2006:23:08:19 -0800] ProcessIPPRequest: 5 status_code=1
D [10/Dec/2006:23:08:19 -0800] CloseClient: 5
D [10/Dec/2006:23:08:19 -0800] AcceptClient: 5 from localhost:631.
D [10/Dec/2006:23:08:19 -0800] ReadClient: 5 POST / HTTP/1.1
D [10/Dec/2006:23:08:19 -0800] ProcessIPPRequest: 5 status_code=1
D [10/Dec/2006:23:08:19 -0800] CloseClient: 5
jeff at linux:/var/log/cups>

Can anybody tell me what is going wrong here and what I need to do to fix it?

Below I've attempted to supply the information described at:

http://linuxprinting.org/kpfeifle/LinuxKongress2002/Tutorial/VII.cups-help/VII.cups-help.html

Which operating system? Which version? Which Kernel?

Suse 10.1
Kernel version:jeff at linux:/proc> cat version
Linux version 2.6.16.21-0.25-default (geeko at buildhost) (gcc version 4.1.0 (SUSE Linux)) #1 Tue Sep 19 07:26:15 UTC 2006

Which version of CUPS? Was it the one bundled to your Linux distribution? Did you compile it yourself?

I used the one that came with the distro:
jeff at linux:~> rpm -qa | grep cups
cups-drivers-stp-1.1.23-28
cups-devel-1.1.23-39
cups-1.1.23-39
cups-libs-1.1.23-39
cups-client-1.1.23-39
libgnomecups-0.2.2-21
cups-drivers-1.1.23-28
cups-SUSE-ppds-dat-1.1.20-119
jeff at linux:~>

What method did you use to install your printer?

I used Yast that comes with the Suse distro. After I installed the gutenprint that I built, the list of printers displayed in Yast included the Epson C88. Before I didn't (it went up to C84).

What PPD am I using?

Extraced from /etc/cups/ppd/printer.ppd:

*FileVersion:   "5.0.0"
*LanguageVersion: English
*LanguageEncoding: ISOLatin1
*PCFileName:    "STP00749.PPD"
*Manufacturer:  "Epson"
*Product:       "(AFPL Ghostscript)"
*Product:       "(GNU Ghostscript)"
*Product:       "(ESP Ghostscript)"
*Product:       "(GPL Ghostscript)"
*ModelName:     "Epson Stylus C88"
*ShortNickName: "Epson Stylus C88"
*NickName:      "Epson Stylus C88 - CUPS+Gutenprint v5.0.0"

Now I realize that PCFileName looks kind of unspecific to Epson, but I did run cups-genppdupdate.5.0
like the gutenprint docs said:

jeff at linux:~/printer/gutenprint-5.0.0/src/cups> su
Password:
linux:/home/jeff/printer/gutenprint-5.0.0/src/cups # ./cups-genppdupdate.5.0
Updated /etc/cups/ppd/printer.ppd using /usr/share/cups/model/gutenprint/5.0/C/stp-escp2-c88.5.0.ppd.gz
Updated 1 PPD file.  Restart cupsd for the changes to take effect.
linux:/home/jeff/printer/gutenprint-5.0.0/src/cups #

Is there anything else I need to do to make the PPD for the CX88 get used?

The stripped content of my /etc/cups/cupsd.conf file:

linux:/etc/cups # cat /etc/cups/cupsd.conf|grep -v ^#|grep [:alnum:]
LogLevel debug
Printcap /etc/printcap
User lp
Group lp
RunAsUser Yes
BrowseAllow @LOCAL
BrowseDeny All
<Location />
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
Allow From 127.0.0.2
Allow From @LOCAL
</Location>
<Location /admin>
AuthType BasicDigest
AuthClass Group
AuthGroupName sys
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
</Location>

Static libraries:

linux:/etc/cups # ldd `which cupsd`
        linux-gate.so.1 =>  (0xffffe000)
        libz.so.1 => /lib/libz.so.1 (0xb7fa1000)
        libssl.so.0.9.8 => /usr/lib/libssl.so.0.9.8 (0xb7f64000)
        libcrypto.so.0.9.8 => /usr/lib/libcrypto.so.0.9.8 (0xb7e3c000)
        libslp.so.1 => /usr/lib/libslp.so.1 (0xb7e27000)
        libpam.so.0 => /lib/libpam.so.0 (0xb7e1c000)
        libdl.so.2 => /lib/libdl.so.2 (0xb7e18000)
        libcups.so.2 => /usr/lib/libcups.so.2 (0xb7df9000)
        libnsl.so.1 => /lib/libnsl.so.1 (0xb7de4000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0xb7db1000)
        libwrap.so.0 => /lib/libwrap.so.0 (0xb7da8000)
        libc.so.6 => /lib/libc.so.6 (0xb7c88000)
        libm.so.6 => /lib/libm.so.6 (0xb7c63000)
        libresolv.so.2 => /lib/libresolv.so.2 (0xb7c4f000)
        /lib/ld-linux.so.2 (0xb7fd1000)

The last thing that I noticed that I don't remember seeing before in the output of dmesg:

parport 0x17a (WARNING): CTR: wrote 0x0c, read 0xff
parport 0x17a (WARNING): DATA: wrote 0xaa, read 0xff
parport 0x17a: You gave this address, but there is probably no parallel port there!
parport0: PC-style at 0x17a, irq 1 [PCSPP,TRISTATE]
setup_irq: irq handler mismatch
 [<c0131bb7>] setup_irq+0xd6/0xe9
 [<df0379e5>] parport_pc_interrupt+0x0/0x2e [parport_pc]
 [<c0131c39>] request_irq+0x6f/0x8b
 [<df03777a>] parport_pc_probe_port+0x96e/0xb21 [parport_pc]
 [<de8742f7>] parport_pc_init+0x211/0x3ef [parport_pc]
 [<c012afac>] sys_init_module+0x12d6/0x1444
 [<c010299b>] sysenter_past_esp+0x54/0x79
parport0: irq 1 in use, resorting to polled operation
lp0: using parport0 (polling).

Since its related to the parallel port, I figured it might be pertainent. My BIOS says the
parallel port is located at I/O address 378, but afterall 378 decimal is 0x17a hex so there
seems to be no inconsistency there.

Any help would be greatly appreciated.

Thanks,

Jeff (jharan at comcast.net)





More information about the cups mailing list