Re: [Hplip-help] raise Error(ERROR_DEVICE_IO_ERROR)

2006-07-19 Thread Charles Stroom
Hi Aaron,

perfect.  I implemented the change and hp-align and hp-clean are
working without any problem.  Many thanks.

Charles


On Tue, 18 Jul 2006 15:09:46 -0700
Aaron J Albright <[EMAIL PROTECTED]> wrote:

> Charles,
> 
> We are still investigating, however a work around is this:
> 
> su
> cd /usr/share/hplip/data/xml
> gedit models.xml
> 
> Locate this section:
> 
> 
>  
>  DESKJET_840C.png
>  
>  
>  Deskjet 815c
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
> 
> 
> Change line:
> 
>  
> 
> TO:
> 
>  
> 
> Save, Exit, restart HPLIP (/etc/init.d/hplip restart)
> 
> hp-align should work.
> 
> We are looking into a long term solution as well.
> 
> Let me know if you have any problems.
> 
> Aaron
> 
> Charles Stroom wrote:
> > Hi Aaron,
> > 
> > nice and thanks a lot.  
> > 
> > Charles Stroom
> > 
> > email: charles at stremen dot xs4all dot nl
> > 
> > 
> > --- Original Message
> > 
> > on  Tue, 18 Jul 2006 14:19:05 PDT
> > Aaron J Albright <[EMAIL PROTECTED]> wrote:
> >> This is a cryptographically signed message in MIME format.
> >>
> >> --ms070002080103060703070806
> >> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> >> Content-Transfer-Encoding: 7bit
> >>
> >> Charles,
> >>
> >> I can reproduce this.  I'll continue to research this and see if there 
> >> is a resolution. Sorry for the delay.
> >>
> >> Aaron
> >>
> >> Charles Stroom wrote:
> >>> since my problem hasn't been solved yet, I thought to repeat
> >>> my request for help.  My latest email to the list is below.
> >>>
> >>> If anyone has further suggestions, I would like to hear them.
> >>>
> >>> Cheers
> >>>
> >>> Charles
> >>>
> >>> --- Forwarded Message
> >>>
> >>> Subject: Re: [Hplip-help] raise Error(ERROR_DEVICE_IO_ERROR) 
> >>> From:Charles Stroom <[EMAIL PROTECTED]>
> >>> Date:Tue, 11 Jul 2006 00:24:23 +0200
> >>> To:  hplip-help@lists.sourceforge.net
> >>>
> >>> Hi Aaron,
> >>>
> >>> I did do this (tail -f /var/log/messages) and got with hp-clean:
> >>>
> >>> - 
> >>> Jul 11 00:06:50 corrente kernel: ppdev0: registered pardevice
> >>> Jul 11 00:06:50 corrente kernel: ppdev0: negotiated back to compatibility 
> >>> m
> > ode because use
> >>> r-space forgot
> >>> Jul 11 00:06:50 corrente kernel: ppdev0: unregistered pardevice
> >>> Jul 11 00:06:50 corrente kernel: ppdev1: claim the port first
> >>> Jul 11 00:06:50 corrente kernel: ppdev2: claim the port first
> >>> Jul 11 00:06:50 corrente kernel: ppdev3: claim the port first
> >>> Jul 11 00:06:50 corrente python: hpssd[5285]: warning: Inrecognized URI: 
> >>> pa
> > rallel:/dev/lp0
> >>> Jul 11 00:06:50 corrente python: hpssd[5285]: warning: Inrecognized URI: 
> >>> us
> > b://Lexmark/E23
> >>> 2
> >>> Jul 11 00:06:50 corrente python: hpssd[5285]: warning: Inrecognized URI: 
> >>> fi
> > le:/tmp/printfi
> >>> le.ps
> >>> Jul 11 00:06:50 corrente kernel: ppdev0: registered pardevice
> >>> Jul 11 00:06:50 corrente python: hp-clean[14262]: warning: No status 
> >>> availa
> > ble for device.
> >>> Jul 11 00:06:50 corrente python: hpssd[5285] error: String query failed 
> >>> for
> >  id 0
> >>> Jul 11 00:06:50 corrente hpiod: invalid channel descriptor:-1 
> >>> io/hpiod/syst
> > em.cpp 1351
> >>> Jul 11 00:06:50 corrente python: hp-clean[14262] error: Channel write 
> >>> error
> >>> Jul 11 00:06:50 corrente kernel: ppdev0: negotiated back to compatibility 
> >>> m
> > ode because use
> >>> r-space forgot
> >>> Jul 11 00:06:50 corrente kernel: ppdev0: unregistered pardevice
> >>> - ---
> >>>
> >>> with hp-align, it's slightly different:
> >>> - --
> >>> Jul 11 00:16:26 corrente kernel: ppdev0: registered pardevice
> &

Re: [Hplip-help] raise Error(ERROR_DEVICE_IO_ERROR)

2006-07-18 Thread Charles Stroom
since my problem hasn't been solved yet, I thought to repeat
my request for help.  My latest email to the list is below.

If anyone has further suggestions, I would like to hear them.

Cheers

Charles

--- Forwarded Message

Subject: Re: [Hplip-help] raise Error(ERROR_DEVICE_IO_ERROR) 
From:Charles Stroom <[EMAIL PROTECTED]>
Date:Tue, 11 Jul 2006 00:24:23 +0200
To:  hplip-help@lists.sourceforge.net

Hi Aaron,

I did do this (tail -f /var/log/messages) and got with hp-clean:

- 
Jul 11 00:06:50 corrente kernel: ppdev0: registered pardevice
Jul 11 00:06:50 corrente kernel: ppdev0: negotiated back to compatibility mode 
because use
r-space forgot
Jul 11 00:06:50 corrente kernel: ppdev0: unregistered pardevice
Jul 11 00:06:50 corrente kernel: ppdev1: claim the port first
Jul 11 00:06:50 corrente kernel: ppdev2: claim the port first
Jul 11 00:06:50 corrente kernel: ppdev3: claim the port first
Jul 11 00:06:50 corrente python: hpssd[5285]: warning: Inrecognized URI: 
parallel:/dev/lp0
Jul 11 00:06:50 corrente python: hpssd[5285]: warning: Inrecognized URI: 
usb://Lexmark/E23
2
Jul 11 00:06:50 corrente python: hpssd[5285]: warning: Inrecognized URI: 
file:/tmp/printfi
le.ps
Jul 11 00:06:50 corrente kernel: ppdev0: registered pardevice
Jul 11 00:06:50 corrente python: hp-clean[14262]: warning: No status available 
for device.
Jul 11 00:06:50 corrente python: hpssd[5285] error: String query failed for id 0
Jul 11 00:06:50 corrente hpiod: invalid channel descriptor:-1 
io/hpiod/system.cpp 1351
Jul 11 00:06:50 corrente python: hp-clean[14262] error: Channel write error
Jul 11 00:06:50 corrente kernel: ppdev0: negotiated back to compatibility mode 
because use
r-space forgot
Jul 11 00:06:50 corrente kernel: ppdev0: unregistered pardevice
- ---

with hp-align, it's slightly different:
- --
Jul 11 00:16:26 corrente kernel: ppdev0: registered pardevice
Jul 11 00:16:26 corrente kernel: ppdev0: negotiated back to compatibility mode 
because use
r-space forgot
Jul 11 00:16:26 corrente kernel: ppdev0: unregistered pardevice
Jul 11 00:16:26 corrente kernel: ppdev1: claim the port first
Jul 11 00:16:26 corrente kernel: ppdev2: claim the port first
Jul 11 00:16:26 corrente kernel: ppdev3: claim the port first
Jul 11 00:16:26 corrente python: hpssd[5285]: warning: Inrecognized URI: 
parallel:/dev/lp0
Jul 11 00:16:26 corrente python: hpssd[5285]: warning: Inrecognized URI: 
usb://Lexmark/E23
2
Jul 11 00:16:26 corrente python: hpssd[5285]: warning: Inrecognized URI: 
file:/tmp/printfi
le.ps
Jul 11 00:16:26 corrente kernel: ppdev0: registered pardevice
Jul 11 00:16:26 corrente python: hp-align[16066]: warning: No status available 
for device.
- --

And yes, print and also using the cups interface works fine.

The printer I am trying to access is a deskjet 815C on the parallel
parport0 (the Lexmark is on usb).
hp-info says:
  device-urihp:/par/DESKJET_815C?device=/dev/parport0   

And btw, my statement below (on the packages) is not correct:  some
packages are installed (libjpeg-devel-6.2.0-5, libjpeg-6.2.0-739,
libusb-0.1.10a-4), but the others are not.  Would that be the
reason for the problems?

Is it a problem that the same printer is still available under a different
print queue with Device URI: parallel:/dev/lp0 ?  Stopping that print
queue has no effect anyhow.

Regards,

Charles Stroom

email: charles at stremen dot xs4all dot nl


- --- Original Message

on  Mon, 10 Jul 2006 13:57:11 PDT
Aaron Albright <[EMAIL PROTECTED]> wrote:
>
> Charles,
> 
> Can you run tail -f /var/log/messages
> 
> and then try using one of the hp commands? (hp-align, etc)
> 
> There seems to be some sort of communication problem.  But you can print 
> okay?
> 
> Aaron
> 
> Charles Stroom wrote:
> > on  Mon, 10 Jul 2006 09:06:42 PDT
> > dwelch91 <[EMAIL PROTECTED]> wrote:
> >> Charles Stroom wrote:
> >>
> >>> Checking for library dependencies...
> >>> Checking for libnetsnmp...
> >>> error: Not found.
> >>> Checking for libjpeg...
> >>> error: Not found.
> >>> Checking for libusb...
> >>> error: Not found.
> >>> Checking for libcrypto...
> >>> error: Not found.
> >>> Checking for libpthread...
> >>> error: Not found.
> >>> .
> >>> .
> >>> .
> >>> -
> >>> however, the packages missing above are installed.  For example
> >>>
> >>>> rpm -qa | grep -i snmp
> >>> net-snmp-devel-5.2.1-10
> >>> net-snmp-5.2.1-10.2
> >>>> rpm -qa | grep -i libjpeg
> >>> libjpeg-devel-6.2.0-5
> >>> libjpeg-6.2.0-

Re: [Hplip-help] raise Error(ERROR_DEVICE_IO_ERROR)

2006-07-10 Thread Charles Stroom
Hi Aaron,

I did do this (tail -f /var/log/messages) and got with hp-clean:


Jul 11 00:06:50 corrente kernel: ppdev0: registered pardevice
Jul 11 00:06:50 corrente kernel: ppdev0: negotiated back to compatibility mode 
because user-space forgot
Jul 11 00:06:50 corrente kernel: ppdev0: unregistered pardevice
Jul 11 00:06:50 corrente kernel: ppdev1: claim the port first
Jul 11 00:06:50 corrente kernel: ppdev2: claim the port first
Jul 11 00:06:50 corrente kernel: ppdev3: claim the port first
Jul 11 00:06:50 corrente python: hpssd[5285]: warning: Inrecognized URI: 
parallel:/dev/lp0
Jul 11 00:06:50 corrente python: hpssd[5285]: warning: Inrecognized URI: 
usb://Lexmark/E232
Jul 11 00:06:50 corrente python: hpssd[5285]: warning: Inrecognized URI: 
file:/tmp/printfile.ps
Jul 11 00:06:50 corrente kernel: ppdev0: registered pardevice
Jul 11 00:06:50 corrente python: hp-clean[14262]: warning: No status available 
for device.
Jul 11 00:06:50 corrente python: hpssd[5285] error: String query failed for id 0
Jul 11 00:06:50 corrente hpiod: invalid channel descriptor:-1 
io/hpiod/system.cpp 1351
Jul 11 00:06:50 corrente python: hp-clean[14262] error: Channel write error
Jul 11 00:06:50 corrente kernel: ppdev0: negotiated back to compatibility mode 
because user-space forgot
Jul 11 00:06:50 corrente kernel: ppdev0: unregistered pardevice
---

with hp-align, it's slightly different:
--
Jul 11 00:16:26 corrente kernel: ppdev0: registered pardevice
Jul 11 00:16:26 corrente kernel: ppdev0: negotiated back to compatibility mode 
because user-space forgot
Jul 11 00:16:26 corrente kernel: ppdev0: unregistered pardevice
Jul 11 00:16:26 corrente kernel: ppdev1: claim the port first
Jul 11 00:16:26 corrente kernel: ppdev2: claim the port first
Jul 11 00:16:26 corrente kernel: ppdev3: claim the port first
Jul 11 00:16:26 corrente python: hpssd[5285]: warning: Inrecognized URI: 
parallel:/dev/lp0
Jul 11 00:16:26 corrente python: hpssd[5285]: warning: Inrecognized URI: 
usb://Lexmark/E232
Jul 11 00:16:26 corrente python: hpssd[5285]: warning: Inrecognized URI: 
file:/tmp/printfile.ps
Jul 11 00:16:26 corrente kernel: ppdev0: registered pardevice
Jul 11 00:16:26 corrente python: hp-align[16066]: warning: No status available 
for device.
--

And yes, print and also using the cups interface works fine.

The printer I am trying to access is a deskjet 815C on the parallel
parport0 (the Lexmark is on usb).
hp-info says:
  device-urihp:/par/DESKJET_815C?device=/dev/parport0   

And btw, my statement below (on the packages) is not correct:  some
packages are installed (libjpeg-devel-6.2.0-5, libjpeg-6.2.0-739,
libusb-0.1.10a-4), but the others are not.  Would that be the
reason for the problems?

Is it a problem that the same printer is still available under a different
print queue with Device URI: parallel:/dev/lp0 ?  Stopping that print
queue has no effect anyhow.

Regards,

Charles Stroom

email: charles at stremen dot xs4all dot nl


--- Original Message

on  Mon, 10 Jul 2006 13:57:11 PDT
Aaron Albright <[EMAIL PROTECTED]> wrote:
>
> Charles,
> 
> Can you run tail -f /var/log/messages
> 
> and then try using one of the hp commands? (hp-align, etc)
> 
> There seems to be some sort of communication problem.  But you can print 
> okay?
> 
> Aaron
> 
> Charles Stroom wrote:
> > on  Mon, 10 Jul 2006 09:06:42 PDT
> > dwelch91 <[EMAIL PROTECTED]> wrote:
> >> Charles Stroom wrote:
> >>
> >>> Checking for library dependencies...
> >>> Checking for libnetsnmp...
> >>> error: Not found.
> >>> Checking for libjpeg...
> >>> error: Not found.
> >>> Checking for libusb...
> >>> error: Not found.
> >>> Checking for libcrypto...
> >>> error: Not found.
> >>> Checking for libpthread...
> >>> error: Not found.
> >>> .
> >>> .
> >>> .
> >>> -
> >>> however, the packages missing above are installed.  For example
> >>>
> >>>> rpm -qa | grep -i snmp
> >>> net-snmp-devel-5.2.1-10
> >>> net-snmp-5.2.1-10.2
> >>>> rpm -qa | grep -i libjpeg
> >>> libjpeg-devel-6.2.0-5
> >>> libjpeg-6.2.0-739
> >>>
> >>> Any hints from the community?
> >>>
> >>> Many thanks
> >>>
> >>> Charles
> >>>
> >>> email: charles at stremen dot xs4all dot nl
> >>>
> >>>
> >> Is this Fedora? If so, the errors you got in hp-check are a known 
> >> problem. It will be fixed in the next release.
> >>
> >> -

Re: [Hplip-help] raise Error(ERROR_DEVICE_IO_ERROR)

2006-07-10 Thread Charles Stroom

on  Mon, 10 Jul 2006 09:06:42 PDT
dwelch91 <[EMAIL PROTECTED]> wrote:
>
> Charles Stroom wrote:
> 
> > 
> > Checking for library dependencies...
> > Checking for libnetsnmp...
> > error: Not found.
> > Checking for libjpeg...
> > error: Not found.
> > Checking for libusb...
> > error: Not found.
> > Checking for libcrypto...
> > error: Not found.
> > Checking for libpthread...
> > error: Not found.
> > .
> > .
> > .
> > -
> > however, the packages missing above are installed.  For example
> > 
> >> rpm -qa | grep -i snmp
> > net-snmp-devel-5.2.1-10
> > net-snmp-5.2.1-10.2
> >> rpm -qa | grep -i libjpeg
> > libjpeg-devel-6.2.0-5
> > libjpeg-6.2.0-739
> > 
> > Any hints from the community?
> > 
> > Many thanks
> > 
> > Charles
> > 
> > email: charles at stremen dot xs4all dot nl
> > 
> > 
> 
> Is this Fedora? If so, the errors you got in hp-check are a known 
> problem. It will be fixed in the next release.
> 
> -Don
> 
> 

No, this is SuSE 10.0, with hplip 1.6.6a installed from tarfile.

As I said in my original message, hp-clean or similar programs fail when
writing to the device (I believe), with messages:
.
.
.  File "/usr/share/hplip/base/device.py", line 1531, in writePrint
return self.__writeChannel(self.openPrint, data)
  File "/usr/share/hplip/base/device.py", line 1563, in __writeChannel
raise Error(ERROR_DEVICE_IO_ERROR)
base.g.Error: ('Device I/O error', 12)

Still not working.

Regards,

Charles




-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
HPLIP-Help mailing list
HPLIP-Help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hplip-help


[Hplip-help] raise Error(ERROR_DEVICE_IO_ERROR)

2006-07-08 Thread Charles Stroom
Hi

I have just installed hplip ver. 1.6.6a from tar file on a SuSE
10.0 system, following the install procedure on the web site.
Most things work fine: that is I can print using my
configured deskjet 815c and using cups on this printer goes
fine as well.

The problem is when I am trying hp-align, or similar things,
because then I get the following errors:

--
>hp-align
warning: No status available for device.
error: Channel write error

HP Linux Imaging and Printing System (ver. 1.6.6a)
Printer Cartridge Alignment Utility ver. 2.5

Copyright (c) 2003-6 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

Using device: hp:/par/DESKJET_815C?device=/dev/parport0
An alignment page will be printed.
Please load plain paper into the printer. Press  to contine or 'q' to 
quit.
Traceback (most recent call last):
  File "/usr/bin/hp-align", line 283, in ?
bothPensRequired)
  File "/usr/share/hplip/base/maint.py", line 61, in AlignType2
alignType2Phase1(dev)
  File "/usr/share/hplip/base/maint.py", line 567, in alignType2Phase1
dev.writeEmbeddedPML(pml.OID_AGENT2_VERTICAL_ALIGNMENT, 0)
  File "/usr/share/hplip/base/device.py", line 1588, in writeEmbeddedPML
self.printData(data, direct=direct, raw=True)
  File "/usr/share/hplip/base/device.py", line 1687, in printData
self.writePrint(data)
  File "/usr/share/hplip/base/device.py", line 1531, in writePrint
return self.__writeChannel(self.openPrint, data)
  File "/usr/share/hplip/base/device.py", line 1563, in __writeChannel
raise Error(ERROR_DEVICE_IO_ERROR)
base.g.Error: ('Device I/O error', 12)
-

I thought this may be a permission problem but giving r/w
permissions to /dev/lp0 or /dev/parport0 does not change anything, nor
running hp-align as user or root.

I have tried to find some explanation on the web, but was unable to find
anything, except maybe somewhere a reference to PyQT, but hp-check
confirms that that is OK.  hp-check reports soem errors though:

---
.
.
.
Basic system info...
--> Linux corrente 2.6.13-15.10-default #1 Fri May 12 16:27:12 UTC 2006
i686 i686 i386 GNU/Linux

Currently installed version...
--> 1.6.6a

Checking Python version...
--> Version 2.4.1 installed.
--> OK

Checking for user interface dependencies...
Checking for SIP...
--> OK
Checking for PyQt...
--> OK
Checking Qt version...
--> Version 3.3.4 installed.
--> OK
Checking SIP version...
--> Version 4.1.1 installed
--> OK
Checking PyQt version...
--> Version 3.13.0 installed.
--> OK

Checking for library dependencies...
Checking for libnetsnmp...
error: Not found.
Checking for libjpeg...
error: Not found.
Checking for libusb...
error: Not found.
Checking for libcrypto...
error: Not found.
Checking for libpthread...
error: Not found.
.
.
.
-
however, the packages missing above are installed.  For example

>rpm -qa | grep -i snmp
net-snmp-devel-5.2.1-10
net-snmp-5.2.1-10.2
>rpm -qa | grep -i libjpeg
libjpeg-devel-6.2.0-5
libjpeg-6.2.0-739

Any hints from the community?

Many thanks

Charles

email: charles at stremen dot xs4all dot nl


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
HPLIP-Help mailing list
HPLIP-Help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hplip-help