Lost print ability after accidental update

Asked by John Hosszu

Migrating User Issue - jhosszu
--------------------------------------

cups-1.2.10-2.1mdv2007.1, hplip-1.6.12-2mdv2007.1

I'm unsure whether this is a CUPS problem or an hplip problem. My HP
Photosmart C7150 was printing nicely from two boxes and a laptop, on
socket://192.168.0.3:9100. I installed hplip on this, my main workstation,
and all was still well.

About 5 days ago this box lost the ability to print. It may have been caused
by an accidental update of hplip to 2.7.7. I noticed around that time, too,
that I had lost the printer driver 7150, with only 7100 being offered. I
have removed that version of hplip and returned to the original version,
hplip-1.6.12-2mdv2007.1. I've checked that all looks, as far as I can tell,
the same as on the laptop which still prints. I have the correct printer
driver back, as well. Unfortunately, even after a complete restart, I still
see every job reported by localhost:631/jobs as 'stopped'.

Is it possible that something in the CUPS setup has been damaged?
The two boxes that still print do not have hplip installed. Is that
significant?
If I catch it on the kde print manager I can see 'error' reported there. Does
that give any clue to the location of the problem?

Anne

Question information

Language:
English Edit question
Status:
Solved
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:

This question was reopened

Revision history for this message
John Hosszu (john-hosszu) said :
#1

Good Day Anne

Jumping from hplip 1.6.12 to 2.7.7 is a big jump. Its probably a
permissions issue with how hplip handles usb devices.

You have a couple options at this point. You can keep 2.7.7 or update to
2.7.9. If you can update I would recommend that as the permission
changes in 2.7.9 are more user friends compared to 2.7.7. If you want to
keep 2.7.7 then please just post back

$ hp-check -t

and we'll see where your system is at.

Thanks

jh

Revision history for this message
John Hosszu (john-hosszu) said :
#2

On Tuesday 02 Oct 2007, John Hosszu wrote:
> > Good Day Anne
> >
Hi, John.

> > Jumping from hplip 1.6.12 to 2.7.7 is a big jump. Its probably a
> > permissions issue with how hplip handles usb devices.
> >
I wouldn't have made such a jump intentionally. I managed to uninstall it and
go back to 1.6.12, which had worked perfectly before.

BTW, this is a networked JetDirect printer.

> > You have a couple options at this point. You can keep 2.7.7 or update to
> > 2.7.9. If you can update I would recommend that as the permission
> > changes in 2.7.9 are more user friends compared to 2.7.7. If you want to
> > keep 2.7.7 then please just post back
> >
> > $ hp-check -t
> >
Now that's really confused me:

HP Linux Imaging and Printing System (ver. 2.7.9)
Dependency/Version Check Utility ver. 5.2

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.

Check the existence and versions of HPLIP dependencies.

Usage: hp-check [OPTIONS]

[OPTIONS]
  Set the logging -l<level> or --logging=<level>
  level:
                      <level>: none, info*, error, warn, debug (*default)
  Run in debug mode: -g (same as option: -ldebug)
  This help -h or --help

Anne
> >
> > and we'll see where your system is at.
> >
> >
> > Thanks
> >
> > jh
> >
> > Anne Wilson wrote:
>> > > cups-1.2.10-2.1mdv2007.1, hplip-1.6.12-2mdv2007.1
>> > >
>> > > I'm unsure whether this is a CUPS problem or an hplip problem. My HP
>> > > Photosmart C7150 was printing nicely from two boxes and a laptop, on
>> > > socket://192.168.0.3:9100. I installed hplip on this, my main
>> > > workstation, and all was still well.
>> > >
>> > > About 5 days ago this box lost the ability to print. It may have been
>> > > caused by an accidental update of hplip to 2.7.7. I noticed around that
>> > > time, too, that I had lost the printer driver 7150, with only 7100 being
>> > > offered. I have removed that version of hplip and returned to the
>> > > original version, hplip-1.6.12-2mdv2007.1. I've checked that all looks,
>> > > as far as I can tell, the same as on the laptop which still prints. I
>> > > have the correct printer driver back, as well. Unfortunately, even after
>> > > a complete restart, I still see every job reported by localhost:631/jobs
>> > > as 'stopped'.
>> > >
>> > > Is it possible that something in the CUPS setup has been damaged?
>> > > The two boxes that still print do not have hplip installed. Is that
>> > > significant?
>> > > If I catch it on the kde print manager I can see 'error' reported there.
>> > > Does that give any clue to the location of the problem?
>> > >
>> > > Anne

Revision history for this message
John Hosszu (john-hosszu) said :
#3

I missed that your printer was connect via network. Permissions in the
sense of 2.7.7 or 2.7.9 don't apply anymore.

Which version of hplip are you running now. Now I'm confused.

 :)

jh

Revision history for this message
John Hosszu (john-hosszu) said :
#4

So am I :-)

rpm -qa hplip
hplip-1.6.12-2mdv2007.1

hp-check -t

HP Linux Imaging and Printing System (ver. 2.7.9)
Dependency/Version Check Utility ver. 5.2

I think Mandriva often add patches to the existing package, rather than do a
full new package. At least, that's how I understand it.

Anne

Revision history for this message
John Hosszu (john-hosszu) said :
#5

On Tuesday 02 Oct 2007, you wrote:
> You didn't download 2.7.9? Just updated the package?
>
Yes - this was listed as hplip-1.6.12-2mdv2007.1 in Software Installer - the gui for urpmi.

Anne
> jh
>
>

Revision history for this message
John Hosszu (john-hosszu) said :
#6

On Tuesday 02 Oct 2007, you wrote:
> > Lets assume you're 2.7.9 for now. When you run
> >
> > $ hp-check -t
> >
> > Do you get a full output? If so can you send that to me?
> >
HP Linux Imaging and Printing System (ver. 2.7.9)
Dependency/Version Check Utility ver. 5.2

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.

Check the existence and versions of HPLIP dependencies.

Usage: hp-check [OPTIONS]

[OPTIONS]
  Set the logging -l<level> or --logging=<level>
  level:
                      <level>: none, info*, error, warn, debug (*default)
  Run in debug mode: -g (same as option: -ldebug)
  This help -h or --help
  information:

It looks incomplete.

Anne

Revision history for this message
John Hosszu (john-hosszu) said :
#7

> On Tuesday 02 Oct 2007, you wrote:
> > You didn't download 2.7.9? Just updated the package?
>
> Yes - this was listed as hplip-1.6.12-2mdv2007.1 in Software Installer
> - the gui for urpmi.
>
> Anne

Revision history for this message
John Hosszu (john-hosszu) said :
#8

> That's amazing...we just release 2.7.9 on Friday night.
>
> Can you do this. Open a web browser and use localhost:631 as the url.
> Then find your printer in question and take a screen shot of the
> details. You should be able to just click on printers at the top.
>
Attached

Anne

Revision history for this message
John Hosszu (john-hosszu) said :
#9

I've just discovered that I have also lost the ability to scan. I normally acquire from the GIMP, but when this failed to see the device I tried it from hplip. The error message was

Failed to open device `hpaio:net/Photosmart_C7100_series?ip=192.168.0.3;
Invalid argument

Anne

Revision history for this message
John Hosszu (john-hosszu) said :
#10

I've just discovered that I have also lost the ability to scan. I normally acquire from the GIMP, but when this failed to see the device I tried it from hplip. The error message was

Failed to open device `hpaio:net/Photosmart_C7100_series?ip=192.168.0.3;
Invalid argument

Anne

Revision history for this message
John Hosszu (john-hosszu) said :
#11

> That's amazing...we just release 2.7.9 on Friday night.
>
rpm -qi hplip
Name : hplip Relocations: (not relocatable)
Version : 1.6.12 Vendor: Mandriva
Release : 2mdv2007.1 Build Date: Tue 30 Jan 2007
08:43:37 GMT
Install Date: Tue 02 Oct 2007 17:28:24 BST Build Host: n3.mandriva.com
Group : System/Servers Source RPM:
hplip-1.6.12-2mdv2007.1.src.rpm
Size : 8816707 License: GPL/MIT/BSD
Signature : DSA/SHA1, Wed 28 Mar 2007 20:51:10 BST, Key ID e7898ae070771ff3
Packager : Olivier Blin <email address hidden>
URL : http://hpinkjet.sourceforge.net/
Summary : HP printer/all-in-one driver infrastructure

Revision history for this message
John Hosszu (john-hosszu) said :
#12

> Good Day Anne

Hello again, John.
>
> Let's see if we can get you running.
>
> Lets try and walk through an install using the .run file.
>
> You can download the .run self extracting file here,
> http://hplip.sourceforge.net/downloads.html
>
I already have it in my /home/anne/Downloads directory.

>
> Then open a terminal and cd to the directory where you downloaded that
> file.

I did that, when I installed it before. It put everything in the Download directory. Is that really the best place, or should I move the file to /opt/?

> Once there do a,
>
> $ sh hplip-2.7.9.run
>
> That will start the extract and such. It will run you through all
> dependencies needed for hplip and get you running. Let me know if you
> run into issues. You can also reference this page for some help,
> http://hplip.sourceforge.net/install/install/index.html
>
>
> Let me know how it goes. If all goes as I think it should you'll be up
> and printing and scanning.
>
I went through without any errors, IIRC, so it should do again. I'll do the actual instal in the morning, though. Working late in the evening seems to make me have too many PEBCAKs :-)

> Is you're printer the Photosmart 7150 or the C7150? This will help
> determine what ppd file.
>
It's the Photosmart C7180 All-in-One.

I'll report back in the morning. These time-zones are a nuisance :-)

Anne

Revision history for this message
John Hosszu (john-hosszu) said :
#13

> To uninstall, just open a terminal window and change dirs to where
> your install directory is now. Inside that directory as root...
>
> # make uninstall
> # make clean
> # rm -rf /usr/share/hplip
>
OK - I was in /opt/hplip instead of /opt/hplip/hplip-2.7.9
>
> that should get it all out so you can start again.
>
The install ran without any error messages. I can now scan. Unfortunately I still can't print. All jobs show up in localhost:631 as 'stopped'.
Attempting to print a scanned image from Gimp shows the correct printer recognised, but I get the message

lp: The printer or class was not found

What next? Thanks

Anne

Revision history for this message
John Hosszu (john-hosszu) said :
#14

>
> The install ran without any error messages. I can now scan.
> Unfortunately I still can't print. All jobs show up in localhost:631 as 'stopped'.
> Attempting to print a scanned image from Gimp shows the correct
> printer recognised, but I get the message
>
> lp: The printer or class was not found
>
Correction -

I can print from kmail.

I cannot print from Gimp - error message as above.

From Gwenview the file was created and sent to CUPS. It appeared as 'processing' and disappeared. When I checked complete jobs it said it had been cancelled.

Anne

Revision history for this message
John Hosszu (john-hosszu) said :
#15

> On Thursday 04 Oct 2007, Anne Wilson wrote:
> > The install ran without any error messages. I can now scan.
> > Unfortunately I still can't print. All jobs show up in
> > localhost:631 as 'stopped'. Attempting to print a scanned image from
> > Gimp shows the correct printer recognised, but I get the message
> >
> > lp: The printer or class was not found
>
> Correction -
>
> I can print from kmail.
>
> I cannot print from Gimp - error message as above.
>
> From Gwenview the file was created and sent to CUPS. It appeared as
> 'processing' and disappeared. When I checked complete jobs it said it
> had been cancelled.
>
I have been attempting to gather information. This is what I've discovered so far;

Although printing from kmail succeeded once, now all jobs are reported as 'stopped'

Test page from localhost:631 succeeds

Test page from kprinter:
Photosmart_C7100 "/usr/lib/cups/filter/foomatic-rip failed"

Test page from hplip fails

Printerdrake says it uses GhostScript + hpijs (recommended) whereas hplip says foomatic + hpijs

Manually set up printer on another box (working) shows Device:
socket://192.168.0.3.
Queue set up by hplip shows Device:
hp:net/Photosmart_C7100_series?ip=192.168.0.3

Reset printer in Gimp - pointing to printer queue C7100 (set up by hplip) - succeeds

service hplip status
hpiod (pid 2279) is running...
hpssd is stopped #Is this correct?

I hope this gives some much-needed pointers :-)

Anne

Revision history for this message
John Hosszu (john-hosszu) said :
#16

> I just saw your post from the hp-check in the maillist.

Sorry - sometimes I forget to 'reply to all'.
>
> If you have not yet reinstalled....then do worry about doing all that.

Too late :-) I had just removed it. It's currently re-running the .run install, since that seemed OK, according to the hp-check.

> Just
> kill the 'hpiod' process as its not needed. Make sure your 1.6.x
> package is not installed.
>
I'm going to do a re-boot. as re-starting the printer hasn't brought up the UI. I'll check then whether hpiod is running. chkconfig doesn't show it as a controlled process.

> Lets try this, remove all your cups queue's related to the C71xx

OK - is it safe to leave the one used by the remote box, or will that not be needed once we have this right?

> and run as
> root,
>
> # hp-setup
>
> That will walk you through setting up a printer. See if that queue
> does what you need for your various apps.
>
> :)
>
I'll be back in a few minutes with a progress report.

Anne

Revision history for this message
John Hosszu (john-hosszu) said :
#17

> No worries...thanks!..
>
I don't know what has gone wrong now. I've tried twice, removing everything with the uninstall commands then re-installing from the run file. Both times the UI hasn't registered in the menu, and both times 'service hplip status'
tells me that it can't find hplip.

I'll do nothing more until you've had time to think about this. Maybe it's time to try the .tar.gz, but I'll wait for your comments.

Anne

Revision history for this message
John Hosszu (john-hosszu) said :
#18

> When you uninstalled, did you delete the unpacked directory the .run
> file created?
>
Yes

> What do you mean by 'US hasn't registered in the menu'?
>
The menu should show System > Configuration > Printing > HP Printing Tool (or something like that) but that did not get added in.

> And
>
> 'service hplip status'?
>
That should have returned that hplip is running. However, it didn't. It said 'Cannot find hplip service'. It appears that it can't find /etc/init.d/hplip - which doesn't exist.

Anne

Revision history for this message
John Hosszu (john-hosszu) said :
#19

> Can you purge all current jobs and try again.
>
> If that fails, can you,
>
> 1. Enable debug mode in cups. As root you'll need to edit the file
> /etc/cups/cupsd.conf
>
> Look for LogLevel and set it to debug instead of info or its current
> value. Save the file. Still as root restart cups. Should be,
> /etc/init.d/cupsys restart (maybe cups restart).
>
It was already set to debug2

> Then try and print a job from anywhere, perhaps the cups web interface.
> Then post or send me the /var/log/cups/error_log file.
>
> 2. Send or post me your /var/log/messages file after step 1.
>
> Then we'll go from there.
>
You may have to ignore a good slice of the log. I tried using the kde tool to add a printer, so that I could experiment with it, without jeopardising the hplip-installed one. I wondered about the fact that Gimp prints, using the ghostview printer driver, and tried to install one using Gutenberg. It didn't work, so I removed it.

Sorry if that makes it harder for you. I hadn't seen this message when I did that.

> I'm sorry this is taking so long to get you up and running.
>
That's OK. It's important to track this down. If it's a bug in hplip or an incompatibility with Mandriva it must be found. It's inconvenient for me, but for the moment I can print from the laptop.

Anne

Revision history for this message
John Hosszu (john-hosszu) said :
#20

Hello again, John :-)

> Can you run a print job to an hplip queue and send me the error_log?
>
> Any queue with the hp:/net URI convention.
>
Attached.

Anne

Revision history for this message
John Hosszu (john-hosszu) said :
#21

> It looks that the queue you printed from was an IPP/CUPS setup. Do you
> have a queue that was setup by hplip (hp-setup).
>
> It should have uri something like
> hp:/net/Photosmart_C7100_Series?ip=x.x.x.x
>
> If you do, I need a print and log combo from one of those queue's.
>
This *is* the one set up by hplip :-) Look at the attached. There is only the hplip printer and fax, and the queue set up on my husband's box - the url is off-screen, but that indicates that it is on 192.168.0.30. I only have the one printer setup on this box.

Anne

Revision history for this message
John Hosszu (john-hosszu) said :
#22

> And if you hit print test page from here you only get a hung print job?
>
Yes

> If you could, could you hit 'print test page' then resend the log file?
>
Attached

> I'm not getting the hp:/net backend in your cups log. I suppose there
> could be a difference in debug2 vs debug.
>
> For giggles also, can you resend me the output from an 'hp-check -t'
> command?
>
hp-check

HP Linux Imaging and Printing System (ver. 2.7.9) Dependency/Version Check Utility ver. 12.0

Copyright (c) 2001-7 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.

Saving output in log file: hp-check.log

Initializing. Please wait...

---------------
| SYSTEM INFO |
---------------

Basic system information:
Linux david.lydgate.net 2.6.17-14mdv #1 SMP Wed May 9 21:11:43 MDT 2007 i686 AMD Hammer Family processor - Model Unknown GNU/Linux

Distribution:
mandriva 2007.1

HPOJ running?
No, HPOJ is not running (OK).

Checking Python version...
OK, version 2.5.0 installed

Checking PyQt version...
OK, version 3.17 installed.

Checking SIP version...
OK, Version 4.6 installed

Checking for CUPS...
Status: scheduler is running
Version: 1.2.10

----------------
| DEPENDENCIES |
----------------

Checking for dependency: cups - Common Unix Printing System...
OK, found.

Checking for dependency: cups-devel- Common Unix Printing System development files...
OK, found.

Checking for dependency: gcc - GNU Project C and C++ Compiler...
OK, found.

Checking for dependency: GhostScript - PostScript and PDF language interpreter and previewer...
OK, found.

Checking for dependency: libcrypto - OpenSSL cryptographic library...
OK, found.

Checking for dependency: libjpeg - JPEG library...
OK, found.

Checking for dependency: libnetsnmp-devel - SNMP networking library development files...
OK, found.

Checking for dependency: libpthread - POSIX threads library...
OK, found.

Checking for dependency: libtool - Library building support services...
OK, found.

Checking for dependency: libusb - USB library...
OK, found.

Checking for dependency: make - GNU make utility to maintain groups of programs...
OK, found.

Checking for dependency: PIL - Python Imaging Library (required for commandline scanning with hp-scan)...
OK, found.

Checking for dependency: ppdev - Parallel port support kernel module....
error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP.
To install this dependency, execute this command:
su -c "modprobe ppdev"

Checking for dependency: PyQt - Qt interface for Python...
OK, found.

Checking for dependency: python-devel - Python development files...
OK, found.

Checking for dependency: Python 2.3 or greater - Required for fax functionality...
OK, found.

Checking for dependency: Python 2.2 or greater - Python programming language...
OK, found.

Checking for dependency: Reportlab - PDF library for Python...
OK, found.

Checking for dependency: SANE - Scanning library...
OK, found.

Checking for dependency: SANE - Scanning library development files...
OK, found.

Checking for dependency: scanimage - Shell scanning program...
OK, found.

Checking for dependency: xsane - Graphical scanner frontend for SANE...
OK, found.

----------------------
| HPLIP INSTALLATION |
----------------------

Currently installed HPLIP version...
HPLIP 2.7.9 currently installed in '/usr/share/hplip'.

Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf. Generated from hplip.conf.in by configure.

[hpssd]
# Note: hpssd does not support dynamic ports # Port 2207 is the IANA assigned port for hpssd
port=2207

[hplip]
version=2.7.9

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/HP
ppdbase=/usr/share/ppd
doc=/usr/share/doc/hplip-2.7.9
icon=/usr/share/applications
cupsbackend=/usr/lib/cups/backend
foomatic=/usr/share/foomatic

# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
pp-build=no
gui-build=yes
scanner-build=yes
fax-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
foomatic-xml-install=yes
foomatic-ppd-install=no
internal-tag=2.7.9.13

----------------------
| INSTALLED PRINTERS |
----------------------

Photosmart_C7100
----------------
Type: Printer
Installed in HPLIP?: Yes, using the hp: CUPS backend.
Device URI: hp:/net/Photosmart_C7100_series?ip=192.168.0.3
PPD: /etc/cups/ppd/Photosmart_C7100.ppd
PPD Description: HP PhotoSmart C7100 Foomatic/hpijs (recommended) Printer status: printer Photosmart_C7100 is idle. enabled since Fri 05 Oct
2007 19:52:5ready to print
Photosmart_C7100_fax
--------------------
Type: Fax
Installed in HPLIP?: Yes, using the hpfax: CUPS backend.
Device URI: hpfax:/net/Photosmart_C7100_series?ip=192.168.0.3
PPD: /etc/cups/ppd/Photosmart_C7100_fax.ppd
PPD Description: HP Fax
Printer status: printer Photosmart_C7100_fax is idle. enabled since Thu 04 Oct 2007 21:08:16 BST Photosmart_C7180
----------------
Type: Unknown
Installed in HPLIP?: No, not using the hp: or hpfax: CUPS backend.
Device URI: ipp://192.168.0.30:631/printers/Photosmart_C7180

----------------------
| SANE CONFIGURATION |
----------------------

'hpaio' in '/etc/sane.d/dll.conf'...
OK, found. SANE backend 'hpaio' is properly set up.

Checking output of 'scanimage -L'...
device `hpaio:/net/Photosmart_C7100_series?ip=192.168.0.3' is a Hewlett-Packard Photosmart_C7100_series all-in-one device `v4l:/dev/video0' is a Noname DC10plus[0] virtual device

---------------------
| PYTHON EXTENSIONS |
---------------------

Checking 'cupsext' CUPS extension...
OK, found.

Checking 'pcardext' Photocard extension...
OK, found.

Checking 'hpmudext' I/O extension...
OK, found.

Checking 'scanext' SANE scanning extension...
OK, found.

-----------------
| USB I/O SETUP |
-----------------

Checking for permissions of USB attached printers...

-----------
| SUMMARY |
-----------

error: 1 error or warning.

Summary of needed commands to run to satisfy missing dependencies:
su -c "modprobe ppdev"

Please refer to the installation instructions at:
http://hplip.sourceforge.net/install/index.html
*******

I hadn't seen that error comment before. I don't remember it in the last
hp-check we did.

> Thanks...again sorry.
>
No problem. We'll hunt the b******* down :-)

Anne

Revision history for this message
John Hosszu (john-hosszu) said :
#23

> Hello Anne
>
> Good news and bad news so far.
>
> Good news is here is your error
>
> D [05/Oct/2007:19:52:50 +0100] [Job 334] foomatic-gswrapper: gs '-dBATCH'
> '-dPARANOIDSAFER' '-dQUIET' '-dNOPAUSE' '-sDEVICE=ijs' '-sIjsServer=hpijs'
> '-sDeviceManufacturer=HEWLETT-PACKARD' '-sDeviceModel=deskjet 5600'
> '-dDEVICEWIDTHPOINTS=595' '-dDEVICEHEIGHTPOINTS=842' '-dDuplex=true'
> '-dTumble=false' '-r300'
>
>'-sIjsParams=Quality:Quality=0,Quality:ColorMode=2,Quality:MediaType=0,
>Qual ity:PenSet=2,PS:MediaPosition=7' '-dIjsUseOutputFD'
>'-sOutputFile=/dev/fd/3'
> '/dev/fd/0' 3>&1 1>&2 C [05/Oct/2007:19:52:50 +0100] [Job 334]
>rangecheck in get d [05/Oct/2007:19:52:50 +0100]
>cupsdAddEvent(event=printer-state-changed,
> dest=0x80a2af0(Photosmart_C7100), job=(nil)(0), text="Printer "%s"
>state changed.", ...) D [05/Oct/2007:19:52:50 +0100] Discarding unused
>printer-state-changed event... D [05/Oct/2007:19:52:50 +0100] [Job 334]
>Operand stack:
> D [05/Oct/2007:19:52:50 +0100] [Job 334] Alphabet_of_Children.pfb 0
> D [05/Oct/2007:19:52:50 +0100] [Job 334] renderer return value: 255 D
>[05/Oct/2007:19:52:50 +0100] [Job 334] renderer received signal: 255 D
>[05/Oct/2007:19:52:50 +0100] [Job 334] Process dying with "The renderer
>command line returned an unrecognized error code 255.", exit stat: 1 D
>[05/Oct/2007:19:52:50 +0100] [Job 334] error: Illegal seek (29) D
>[05/Oct/2007:19:52:50 +0100] [Job 334] The renderer command line
>returned an unrecognized error code 255. D [05/Oct/2007:19:52:50
>+0100] [Job 334] tail process done writing data to STDOUT D
>[05/Oct/2007:19:52:50 +0100] [Job 334] KID4 finished D
>[05/Oct/2007:19:52:50 +0100] [Job 334] KID3 exited with status 1 D
>[05/Oct/2007:19:52:50 +0100] [Job 334] Renderer exit stat: 1 D
>[05/Oct/2007:19:52:50 +0100] [Job 334] Renderer process finished D
>[05/Oct/2007:19:52:50 +0100] [Job 334] Killing process 30484 (KID3) D
>[05/Oct/2007:19:52:50 +0100] [Job 334] Process dying with "Error
>closing renderer", exit stat: 1 D [05/Oct/2007:19:52:50 +0100] [Job 334] error:
> Illegal seek (29)
> D [05/Oct/2007:19:52:50 +0100] [Job 334] Error closing renderer
>
>
> It looks like the GS renderer is dying. When your update occurred did
> you update ghostscript at all. I'll be hitting the engineers to help with this.
>
I don't think so:

rpm -qi ghostscript
Name : ghostscript Relocations: (not relocatable)
Version : 8.15 Vendor: Mandriva
Release : 48mdv2007.1 Build Date: Tue 30 Jan 2007
09:22:55 GMT
Install Date: Sat 16 Jun 2007 18:46:07 BST Build Host: n3.mandriva.com
Group : Publishing Source RPM:
ghostscript-8.15-48mdv2007.1.src.rpm

I'm out of my depth (but more than happy to help) so can you explain the difference between this and printing from the Gimp? From what I see on screen the Gimp is using Ghostscript, and it prints. There must be a difference, but I don't understand it.

Anne

Revision history for this message
John Hosszu (john-hosszu) said :
#24

> Hey Anne
>
> Just talked with an engineer about your system.
>
> >I don't think so:
> >
> >rpm -qi ghostscript
> >Name : ghostscript Relocations: (not relocatable)
> >Version : 8.15 Vendor: Mandriva
> >Release : 48mdv2007.1 Build Date: Tue 30 Jan 2007
> >09:22:55 GMT
> >Install Date: Sat 16 Jun 2007 18:46:07 BST Build Host:
> > n3.mandriva.com Group : Publishing Source RPM:
> >ghostscript-8.15-48mdv2007.1.src.rpm
> >
> >I'm out of my depth (but more than happy to help) so can you explain
> >the
> > >difference between this and printing from the Gimp? From what I
> > >see on screen the Gimp is using Ghostscript, and it prints. There
> > >must be a difference, but I don't understand it.
>
> You're probably correct about it not being GS. But it might be cups itself.
> If you can print via socket then cups is working. If not then cups is
> giving you issues.
>
I'll experiment and see what's possible. The other two boxes, laptop and workstation, both use socket printing, with the 7150 foomatic/hpijs driver.

I tried setting up, with the cups interface, a printer with the same definition, socket + foomatic/hpijs driver. The cups test page 'stopped'.

> For what I was told the only difference between our backend and
> cups/socket is hp uses snmp to communicate with the printer. So if you
> don't need hp-toolbox, then you can stick with cups/socket. If you
> want toolbox then we'll need to get you working with the hp backend.
>
The toolbox would be nice, but I've lived without it for the last 5+ years.
The LCD display warns me when ink is low, and I normally scan from the Gimp.
I can't think of anything where the toolbox would be essential.

> With all the mails I'm left a little hazed. So can you confirm for me
> whether you can print over the cups socket/native backend? I thought
> you couldn't.
>
No, on this box I can't.

rpm -qi cups
Name : cups Relocations: (not relocatable)
Version : 1.2.10 Vendor: Mandriva
Release : 2.1mdv2007.1 Build Date: Fri 03 Aug 2007
19:51:44 BST
Install Date: Fri 17 Aug 2007 13:33:38 BST Build Host:
mercury.mandriva.com
Group : System/Servers Source RPM:
cups-1.2.10-2.1mdv2007.1.src.rpm

That's the same version as on the laptop.

> If you can and if you want the hp backend, then you could try an smtp
> walk command. Reference this page,
> http://hplip.sourceforge.net/troubleshooting/network.html
>
I guess that will have to wait.

> This is probably a lot so lets just go one step at a time and see
> where we end up.
>
> Thanks a bunch for your patience.
>
I hate being beaten, so bug-hunting is a good occupation :-) As long as the show isn't stopped, I'll carry on. If I only had this box I wouldn't be able to, but since I have others, I'll do whatever is necessary.

Do let me know if/when I can do anything else to help. And thanks for your time and patience, too.

I won't post a closing message on the thread yet. I'd like to give something useful, for the archives.

Anne

Revision history for this message
John Hosszu (john-hosszu) said :
#25

On Friday 05 Oct 2007, you wrote:
> > With all the mails I'm left a little hazed. So can you confirm for
> > me whether you can print over the cups socket/native backend? I
> > thought you couldn't.
> >
> >No, on this box I can't.
> >
> > If you can and if you want the hp backend, then you could try an
> > smtp walk command. Reference this page,
> > http://hplip.sourceforge.net/troubleshooting/network.html
> >
> >I guess that will have to wait.
>
> You could try re-moving cups and reinstalling that system. IF it's a
> corrupted cups install, whether from update or our working, it might
> fix the problem.
>
I'll try that tomorrow and let you know what happened.

Thanks again, and good night :-)

Anne

Revision history for this message
John Hosszu (john-hosszu) said :
#26

Update -

I removed

cups-1.2.10-2.1mdv2007.1.i586
cups-common-1.2.10-2.1mdv2007.1.i586
cups-drivers-2007-8mdv2007.1.i586
gutenprint-cups-5.0.0-3mdv2007.1.i586
libcups2-devel-1.2.10-2.1mdv2007.1.i586
task-printing-2007.1-4mdv2007.1.i586

then re-installed them. Removed the print queues from localhost:631. Cleaned out hplip and re-installed. Ran hp-setup.

I'm back to exactly the same place. The two queues (printer and fax C7100) are setup, but the test page stalls.

I've tried a cups install of a new printer, setting it to the socket://192.168.0.3:9100 setting, but that doesn't print either.

It doesn't look as though a corrupted cups was the problem.

Anne

Revision history for this message
John Hosszu (john-hosszu) said :
#27

John - this is the view from the laptop. The top one is the hplip-installed queue. The bottom one is the old one that still prints. On the hplip one, is the Device ipp what you expect?

Anne

Revision history for this message
John Hosszu (john-hosszu) said :
#28

It occurs to me that I never told you that I have a duplexer installed. So -

Removed duplexer
Re-started printer
Removed printer-queues from localhost:631 Re-ran hp-setup Test page stalled

Conclusion, probably not significant.

Anne

Revision history for this message
John Hosszu (john-hosszu) said :
#29

> Actually no. I would have expected something like,
>
> hp:/net/Photosmart_C7100_Series?ip=192.168.0.3
>
>
> hp-setup should have used the hp: backend.

Remember that hplip is not installed on the laptop - the queue is the one setup from this workstation. From here, the queue shows the correct address.

I tried changing the configuration to your suggestion, but it made no difference. The job (from the laptop using the hplip-setup-queue) stalled.
The same job printed correctly from the socket address.

Anne

Revision history for this message
John Hosszu (john-hosszu) said :
#30

> I just read on the mailing list that you're printer is connected via
> wireless to your router, true?
>
Yes. That's right. I thought I had said so early on.

> Can you ping that device from the pc's that 'don't work'.
>
ping 192.168.0.3
PING 192.168.0.3 (192.168.0.3) 56(84) bytes of data.
64 bytes from 192.168.0.3: icmp_seq=1 ttl=255 time=10.2 ms
64 bytes from 192.168.0.3: icmp_seq=2 ttl=255 time=1.74 ms
64 bytes from 192.168.0.3: icmp_seq=3 ttl=255 time=1.88 ms

No problem.

Anne

Revision history for this message
John Hosszu (john-hosszu) said :
#31

> Did you try that smnp walk command before?
>
I think we got sidetracked. Tell me again what you want me to do.

Anne

Revision history for this message
John Hosszu (john-hosszu) said :
#32

> $ snmpwalk -Os -c public -v 1 192.168.0.3 1.3.6.1.4.1.11.2.3.9.1.1.7.0
>
Command not found, and no package named snmpwalk. What package do I need?

Anne

Revision history for this message
John Hosszu (john-hosszu) said :
#33

> On my mandriva instance, in the GUI package manager, I did a search on
> snmp.
>
> You'll want the libnet-snmp and net-snmp. You also want the devel
> files for those. You'll find some large mandriva version numbers after
> those packages.
>
Sorry - It's midnight here, and I'm half-asleep.

snmpwalk -Os -c public -v 1 192.168.0.3 1.3.6.1.4.1.11.2.3.9.1.1.7.0 enterprises.11.2.3.9.1.1.7.0 "MFG:HP;MDL:Photosmart C7100 series;CMD:MLC,PCL,PML,DW-PCL,DESKJET,DYN;1284.4DL:4d,4e,1;CLS:PRINTER;DES:Q8200B;SN:MY72NG70QF04KS;S:038089C4840010210078cb0000041b8004a46b8006447b8006444b8006448b8006445b80036;Z:0102,05000009016a8101324101324101324101324101324"

Anne

Revision history for this message
John Hosszu (john-hosszu) said :
#34

> That is exactly what we want to see. Could you try another print from
> that
> hp-setup/hp: queue?
>
> With snmp installed it might work now.
>
I [10/Oct/2007:08:33:11 +0100] Listening to :::631 (IPv6) I [10/Oct/2007:08:33:11 +0100] Listening to 0.0.0.0:631 (IPv4) I [10/Oct/2007:08:33:11 +0100] Listening to /var/run/cups/cups.sock (Domain) I [10/Oct/2007:08:33:11 +0100] Loaded configuration file "/etc/cups/cupsd.conf"
I [10/Oct/2007:08:33:11 +0100] Using default TempDir of /var/spool/cups/tmp...
I [10/Oct/2007:08:33:11 +0100] Cleaning out old temporary files in "/var/spool/cups/tmp"...
I [10/Oct/2007:08:33:11 +0100] Configured for up to 100 clients.
I [10/Oct/2007:08:33:11 +0100] Allowing up to 100 client connections per host.
I [10/Oct/2007:08:33:11 +0100] Using policy "default" as the default!
I [10/Oct/2007:08:33:11 +0100] Full reload is required.
I [10/Oct/2007:08:33:11 +0100] Loaded MIME database from '/etc/cups': 35 types, 40 filters...
I [10/Oct/2007:08:33:12 +0100] Loading job cache file "/var/cache/cups/job.cache"...
I [10/Oct/2007:08:33:12 +0100] Full reload complete.
I [10/Oct/2007:08:33:12 +0100] Listening to :::631 on fd 2...
I [10/Oct/2007:08:33:12 +0100] Listening to 0.0.0.0:631 on fd 3...
I [10/Oct/2007:08:33:12 +0100] Listening to /var/run/cups/cups.sock on fd 4...
E [10/Oct/2007:08:33:12 +0100] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported I [10/Oct/2007:08:37:53 +0100] Adding start banner page "none" to job 349.
I [10/Oct/2007:08:37:53 +0100] Adding end banner page "none" to job 349.
I [10/Oct/2007:08:37:53 +0100] Job 349 queued on "Photosmart_C7100" by "anne".
I [10/Oct/2007:08:37:53 +0100] Started filter /usr/lib/cups/filter/pstops (PID
5981) for job 349.
I [10/Oct/2007:08:37:53 +0100] Started
filter /usr/lib/cups/filter/foomatic-rip (PID 5982) for job 349.
I [10/Oct/2007:08:37:53 +0100] Started backend /usr/lib/cups/backend/hp (PID
5983) for job 349.
C [10/Oct/2007:08:37:55 +0100] [Job 349] rangecheck in get E [10/Oct/2007:08:37:55 +0100] PID 5982 (/usr/lib/cups/filter/foomatic-rip)
stopped with status 1!
I [10/Oct/2007:08:37:55 +0100] Hint: Try setting the LogLevel to "debug" to find out more.
I [10/Oct/2007:08:38:14 +0100] commptr=""
I [10/Oct/2007:08:38:14 +0100] Started "/usr/lib/cups/cgi-bin/jobs.cgi"
(pid=6038)

It's been there for almost four minutes now. I've just cancelled it, and the cups page shows

Photosmart_C7100 "open device failed; will retry in 30 seconds..."
 Description: Photosmart_C7100
Location: lydgate.net
Make and Model: HP PhotoSmart C7100 Foomatic/hpijs (recommended) Printer State: idle, accepting jobs, published.
Device URI: hp:/net/Photosmart_C7100_Series?ip=192.168.0.3

Anne

Revision history for this message
John Hosszu (john-hosszu) said :
#35

> Can you send me your /var/log/messages and /var/log/cups/error_log files?
>
Attached

Anne

Revision history for this message
John Hosszu (john-hosszu) said :
#36

> Looking at the error and code...it looks like the uri might be wrong.
>
> Can you cut and paste the uri for this queue?
>
Device URI: hp:/net/Photosmart_C7100_Series?ip=192.168.0.3

Anne

Revision history for this message
John Hosszu (john-hosszu) said :
#37

> How about the output to...
>
> $ /usr/lib/cups/backend/hp
>
direct hp "Unknown" "HP Printer (HPLIP)"

Anne

Revision history for this message
John Hosszu (john-hosszu) said :
#38

John, in ~/.hplip/hplip.conf I see the following lines -

[commands]
fax = hp-sendfax -d %FAX_URI%
cpy = hp-makecopies -d %DEVICE_URI%
scan = xsane -V %SANE_URI%
prnt = hp-print -p%PRINTER%

Should there not be a space after '-p'?

I did try it, but I wasn't sure what I needed to re-start to test it properly.
As it was, it made no difference.

Anne

Revision history for this message
John Hosszu (john-hosszu) said :
#39

I tried to safe an email as a pdf, and got this message:

gs -q -dSAFER -dPARANOIDSAFER -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=$out{/home/anne/Desktop/printjob.pdf
(visible error stops after 'pr')

execution failed with message:

CRIT: rangechec in get Operand stack: Alphabet_of_Children.pf

Alphabet_of_Children is one of four fonts that I installed from an OOo disk, using Mandriva Control Center. I'd uninstall it, but MCC doesn't allow the uninstall of single fonts. If you think its significant I'll try to see how to remove it.

The printing problems did start just after these fonts were installed. It may be coincidence, but.....

Anne

Revision history for this message
John Hosszu (john-hosszu) said :
#40

> Is this you're default font?
>
Definitely not.

> I wouldn't think that to be an issue but at this point its worth a try.
>
OK - I'll let you know how it goes.

Anne

Revision history for this message
John Hosszu (john-hosszu) said :
#41

> Is this you're default font?
>
> I wouldn't think that to be an issue but at this point its worth a try.
>
I deleted the font (shift-del), then ran 'fc-cache -f'. Konqueror thinks it's gone. I re-started cups. Still, attempting to save to a pdf has 'CRIT:
rangechec in get Operand stack: Alphabet_of_Children.pf'

Crazy. What have I missed?

Anne

Revision history for this message
John Hosszu (john-hosszu) said :
#42

> Same PDF as before? Does it use the same font still in the document?
>
Not the same one as before. This was just a dotfile from my home directory - a simple test. Monospace, Serif and Sansserif are the default fonts.

Anne

Revision history for this message
John Hosszu (john-hosszu) said :
#43

> Ok...
>
> Let me make sure I'm still with you ;).
>
>
> You have...
>
> 1. Laptop - Mandriva 2007.1 - Prints to socket:/IP of your C7100.
> 2. One PC - Mandriva 2007.1 - Prints to socket:/IP of your C7100.
> 3. One Workstation - Mandriva 2007.1 - Does NOT print to socket or hp
> backends. This is the one we've been trying to resolve. You can scan
> from GIMP.
>
Yes.

> You're printer, a C7150 or C7100 series printer. Like this one here,
>http://h10025.www1.hp.com/ewfrf/wc/product?product=1153751&lc=en&cc=us&
>dlc=
>en&lang=en&cc=us
>
Very similar, but it's a C7180 with duplexer

> installed on the local network, 192.168.0.3 via wireless to a
> router/access point. We can ping and snmpwalk to the device.
>
> Running HPLIP 2.7.9, CUPS 1.2.10.
>
> You were working and then just stopped. You had some updates to
> possibly hplip, cups, and fonts.
>
>
> Correct me anywhere.
>
Nothing more to correct.

Anne

Revision history for this message
John Hosszu (john-hosszu) said :
#44

> > You were working and then just stopped. You had some updates to
> > possibly hplip, cups, and fonts.
>
> Do you remember all the things that updated, installed or changed at
> or around the time of the socket outage.
>
> :)

No :-) On the 28th September I wrote to Mandriva Expert list "Yesterday I used the Mandriva font installer to add a few fonts from the Linux Format OOo Special disk. Since then I've had problems with printing."
so I've been searching for info around that time. I can find nothing installed or updated on the 27th (though I may be looking in the wrong place). rpm -qa --last shows kdegraphics-kuickshow on the 19th, then nothing until the 29th. I assume, though, that if I have reinstalled packages this wouldn't be relevant.

Attached is the only log that I can find that is relevant, and I can't spot anything there. The entries on the 29th show my attempt to get hplip working again, I presume.

Anywhere else I should look?

Anne

Revision history for this message
John Hosszu (john-hosszu) said :
#45

On Thursday 11 Oct 2007, you wrote:
> > installed on the local network, 192.168.0.3 via wireless to a
> > router/access point. We can ping and snmpwalk to the device.
>
> Is this printer close to the router? Can it be plugged in via Ethernet
> (RJ45) for testing purposes?
>
It's in the same room, though some distance away. I could run a temporary trailing lead, though. What changes would have to be made to setup? I presume that the wireless link will have to be disabled?

I'm out this evening, but should be back for an hour or more before bedtime, so I'd like to get done as much as we can before the weekend :-)

Anne

Revision history for this message
John Hosszu (john-hosszu) said :
#46

Hi, John. I'm back, and will be around for another couple of hours, unless I fall asleep :-)

On Friday 12 Oct 2007, you wrote:
> Let's just start this process over. Maybe I missed something before.
>
> Can you send me the output from these commands.
>
> 1. 'hp-check -t'

hp-check -t

HP Linux Imaging and Printing System (ver. 2.7.9) Dependency/Version Check Utility ver. 12.0

Copyright (c) 2001-7 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.

Saving output in log file: hp-check.log

Initializing. Please wait...

---------------
| SYSTEM INFO |
---------------

Basic system information:
Linux david.lydgate.net 2.6.17-14mdv #1 SMP Wed May 9 21:11:43 MDT 2007 i686 AMD Hammer Family processor - Model Unknown GNU/Linux

Distribution:
mandriva 2007.1

HPOJ running?
No, HPOJ is not running (OK).

Checking Python version...
OK, version 2.5.0 installed

Checking PyQt version...
OK, version 3.17 installed.

Checking SIP version...
OK, Version 4.6 installed

Checking for CUPS...
Status: scheduler is running
Version: 1.2.10

----------------
| DEPENDENCIES |
----------------

Checking for dependency: cups - Common Unix Printing System...
OK, found.

Checking for dependency: cups-devel- Common Unix Printing System development files...
OK, found.

Checking for dependency: gcc - GNU Project C and C++ Compiler...
OK, found.

Checking for dependency: GhostScript - PostScript and PDF language interpreter and previewer...
OK, found.

Checking for dependency: libcrypto - OpenSSL cryptographic library...
OK, found.

Checking for dependency: libjpeg - JPEG library...
OK, found.

Checking for dependency: libnetsnmp-devel - SNMP networking library development files...
OK, found.

Checking for dependency: libpthread - POSIX threads library...
OK, found.

Checking for dependency: libtool - Library building support services...
OK, found.

Checking for dependency: libusb - USB library...
OK, found.

Checking for dependency: make - GNU make utility to maintain groups of programs...
OK, found.

Checking for dependency: PIL - Python Imaging Library (required for commandline scanning with hp-scan)...
OK, found.

Checking for dependency: ppdev - Parallel port support kernel module....
error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP.
To install this dependency, execute this command:
su -c "modprobe ppdev"

Checking for dependency: PyQt - Qt interface for Python...
OK, found.

Checking for dependency: python-devel - Python development files...
OK, found.

Checking for dependency: Python 2.3 or greater - Required for fax functionality...
OK, found.

Checking for dependency: Python 2.2 or greater - Python programming language...
OK, found.

Checking for dependency: Reportlab - PDF library for Python...
OK, found.

Checking for dependency: SANE - Scanning library...
OK, found.

Checking for dependency: SANE - Scanning library development files...
OK, found.

Checking for dependency: scanimage - Shell scanning program...
OK, found.

Checking for dependency: xsane - Graphical scanner frontend for SANE...
OK, found.

----------------------
| HPLIP INSTALLATION |
----------------------

Currently installed HPLIP version...
HPLIP 2.7.9 currently installed in '/usr/share/hplip'.

Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf. Generated from hplip.conf.in by configure.

[hpssd]
# Note: hpssd does not support dynamic ports # Port 2207 is the IANA assigned port for hpssd
port=2207

[hplip]
version=2.7.9

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/HP
ppdbase=/usr/share/ppd
doc=/usr/share/doc/hplip-2.7.9
icon=/usr/share/applications
cupsbackend=/usr/lib/cups/backend
foomatic=/usr/share/foomatic

# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
pp-build=no
gui-build=yes
scanner-build=yes
fax-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
foomatic-xml-install=yes
foomatic-ppd-install=no
internal-tag=2.7.9.13

----------------------
| INSTALLED PRINTERS |
----------------------

Photosmart_C7100
----------------
Type: Printer
Installed in HPLIP?: Yes, using the hp: CUPS backend.
Device URI: hp:/net/Photosmart_C7100_series?ip=192.168.0.3
PPD: /etc/cups/ppd/Photosmart_C7100.ppd
PPD Description: HP PhotoSmart C7100 Foomatic/hpijs (recommended) Printer status: printer Photosmart_C7100 is idle. enabled since Fri 12 Oct
2007 16:19:0ready to print
Photosmart_C7100_fax
--------------------
Type: Fax
Installed in HPLIP?: Yes, using the hpfax: CUPS backend.
Device URI: hpfax:/net/Photosmart_C7100_series?ip=192.168.0.3
PPD: /etc/cups/ppd/Photosmart_C7100_fax.ppd
PPD Description: HP Fax
Printer status: printer Photosmart_C7100_fax is idle. enabled since Thu 11 Oct 2007 13:25:55 BST Photosmart_C7180
----------------
Type: Unknown
Installed in HPLIP?: No, not using the hp: or hpfax: CUPS backend.
Device URI: socket://192.168.0.3:9100
PPD: /etc/cups/ppd/Photosmart_C7180.ppd
PPD Description: HP PhotoSmart C7100 Foomatic/hpijs (recommended) Printer status: printer Photosmart_C7180 is idle. enabled since Fri 12 Oct
2007 16:18:1Ready to print.
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax:
CUPS backend to function in HPLIP.

----------------------
| SANE CONFIGURATION |
----------------------

'hpaio' in '/etc/sane.d/dll.conf'...
OK, found. SANE backend 'hpaio' is properly set up.

Checking output of 'scanimage -L'...
device `hpaio:/net/Photosmart_C7100_series?ip=192.168.0.3' is a Hewlett-Packard Photosmart_C7100_series all-in-one device `v4l:/dev/video0' is a Noname DC10plus[0] virtual device

---------------------
| PYTHON EXTENSIONS |
---------------------

Checking 'cupsext' CUPS extension...
OK, found.

Checking 'pcardext' Photocard extension...
OK, found.

Checking 'hpmudext' I/O extension...
OK, found.

Checking 'scanext' SANE scanning extension...
OK, found.

-----------------
| USB I/O SETUP |
-----------------

Checking for permissions of USB attached printers...

-----------
| SUMMARY |
-----------

error: 2 errors and/or warnings.

Summary of needed commands to run to satisfy missing dependencies:
su -c "modprobe ppdev"

Please refer to the installation instructions at:
http://hplip.sourceforge.net/install/index.html

I think I did modprobe ppdev when we did this before. Should I do it now?

> 2. 'lpstat -s'
>
 lpstat -s
system default destination: Photosmart_C7100
device for Photosmart_C7100: hp:/net/Photosmart_C7100_series?ip=192.168.0.3
device for Photosmart_C7100_fax:
hpfax:/net/Photosmart_C7100_series?ip=192.168.0.3
device for Photosmart_C7180: socket://192.168.0.3:9100

Anne

Revision history for this message
John Hosszu (john-hosszu) said :
#47

> Good...
>
> All of that appears fine. Now, lets try a test page again to the
>
> Photosmart_C7100
> ----------------
> Type: Printer
> Installed in HPLIP?: Yes, using the hp: CUPS backend.
> Device URI: hp:/net/Photosmart_C7100_series?ip=192.168.0.3
> PPD: /etc/cups/ppd/Photosmart_C7100.ppd
> PPD Description: HP PhotoSmart C7100 Foomatic/hpijs (recommended)
> Printer status: printer Photosmart_C7100 is idle. enabled since Fri
> 12 Oct
> 2007 16:19:0ready to print
>
Stopped as before.
>
>
> If that fails, lets enable debug mode in cups.
> Edit /etc/cups/cupsd.conf
> LogLevel debug
> Restart CUPS

service cups restart
Stopping CUPS printing system: [ OK ]
Starting HPLIP daemons ...
error reading information about service hplip: No such file or directory Cannot find hplip service
Usage: service -[Rfshv] SERVICE ARGUMENTS
        -f|--full-restart: Do a fullrestart of the service.
        -R|--full-restart-all: Do a fullrestart of all services currently running.
        -s|--status-all: Print a status of all services.
        -d|--debug: Launch with debug.
        -h|--help: This help.
Starting CUPS printing system: [ OK ]
Re-enabling disabled print queues:

> Purge and jobs pending

Done

> New Test Page
> Send me /var/log/messages
> Send me /var/log/cups/error_log
>
Attached (both severely pruned for size limit :-) )

Anne

Revision history for this message
John Hosszu (john-hosszu) said :
#48

> Good Day Anne
>
> I did get your email, its been rather busy here so I'm on other tasks
> at the moment. I have not forgotten. :)
>
That's fine. I just didn't want to think that you were waiting for the logs and thinking that I'd lost interest.

It's a side-issue, really, but you'll be interested to know that the main workstation that can't print to the C7180, but can scan in Gimp, can also print from Gimp. This laptop, that prints most things via socket, can't print correctly from Gimp. It prints the top third of the image then ejects
the paper. I wouldn't have expected it to scan, as there is no hplip on
here, but I did expect printing from Gimp if the other printing works :-) All very odd!

Anne

Revision history for this message
John Hosszu (john-hosszu) said :
#49

> HPLIP 2.7.10 - This release has the following changes:
>
I've installed this, but still have the problem. One thing I have noticed, though. The localhost:631 page shows

Device URI: hp:/net/Photosmart_C7100_series?ip=192.168.0.3

whereas the HP toolbox printer information page shows

ipp://localhost:631/printers/Photosmart_C7100

Is this what you would expect?

Anne

Revision history for this message
Anne Wilson (cannewilson) said :
#50

A short summary:

The MFP in question is a Photosmart C7180, attached by wifi to the family LAN at address 192.168.0.3. Accessing it are two workstations and one laptop. The main workstation has the latest version of hplip installed. At one point I removed CUPS and re-installed it, in case there was corruption there.

When first set up every feature worked perfectly from the main workstation. A few weeks later I suddenly found that I could no longer print from the workstation. I then discovered that I could both scan and print from GIMP, but nowhere else.

The second workstation and the laptop were set up to print with socket://192.168.0.3:9100 and the foomatic/hpijs driver. Both can still do normal print jobs. They don't see the scanner, presumably because they do not have an hplip setup - and I daren't give them one, in case my problem occurs there as well. In the GIMP, an image starts to print, but after about 1/3 of the output the paper is ejected.

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#51

Hey Anne,

After looking for what's been going on I think what we may want to do is completely remove hplip and cups again. Also do an updatedb and locate hplip and remove any hplip directories/files you find. Running 'rm -rf /usr/share/hplip' should take care of the lot of it. And then reinstall cups and hplip. It really seems like there is a version conflict with what mandriva installed and what was manually installed. If possible also use urpmi to remove hplip completely as well and hopefully this will resolve the conflict. I'm pretty sure that should move us towards working again.

Hope this helps!

A

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#52

Changing state to needs info.

A

Revision history for this message
Anne Wilson (cannewilson) said :
#53

Steps taken:
Uninstalled 2.7.10
Removed cups via package manager
updatedb
re-checked for remaining hplip
installed cups-1.2.10-2.2mdv2007.1
cups-drivers-2007-9mdv2007.1
gutenprint-cups-5.0.0-3mdv2007.`
php-cups-1.2.10-2.2mdv2007.1

ran hp-setup
Result:
Photosmart_C7100_2 "ready to print"
    Description:
 Location: lydgate.net
 Make and Model: HP PhotoSmart C7100 Foomatic/hpijs (recommended)
 Printer State: idle, accepting jobs, published.
Device URI: hp:/net/Photosmart_C7100_series?ip=192.168.0.3
Photosmart_C7100_2-378 tmpIMT5yx root 1403k Unknown stopped Reprint Job Cancel Job Move Job

(I had forgotten to remove earlier printer queue. Result is identical to previous attempts.)

Revision history for this message
Anne Wilson (cannewilson) said :
#54

hplip freshly installed after replacing cups packages.

Revision history for this message
OL (annorr) said :
#55

I can not get my hp psc 1610 printer scanner to ork. The printer worked after i updated to 6.0 linspire but the scanner i cannot get going again. i downloaded the file hplip-2.7.10run. But in the Konsole window nothing works. Please help. OL

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#56

OL: Please submit a separate question for your problem.

Setting this question to Answered, after speaking with Anne we reinstalled GS and it seems to be working. She will provide additional updates as needed.

Aaron

Revision history for this message
OL (annorr) said :
#57

how to type in commands in Konsole window correctly?

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#58

OL: again please submit a seperate/different question--please see below that says "Got a question of your own? For best results, ask your own questions seperately". There is a link for asking your own question.

From Anne,

Hi, Aaron. Just updating you. I think that we can say that all issues are
now resolved.

The GIMP was apparently trying to send to a stale printer queue. I checked
the driver settings, Photosmart 7150, and set the queue to the one we created
last night. Printing now works.

I've also checked scanning under the GIMP, and that too is working.

Changing status to resolved.

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#59

Solved per user.

Revision history for this message
Anne Wilson (cannewilson) said :
#60

Although the hplip installation on the original box continues to be satisfactory, I have only a partial success with using it on the laptop. Printing is satisfactory, but I can't scan. XSane appears not to see the scanner. What can I check now? Thanks

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#61

Hey Anne,

sorry are you still having a problem with this? If so please open a new ticket for better tracking.

Thanks!

A

Revision history for this message
Anne Wilson (cannewilson) said :
#62

On Friday 30 November 2007 00:10:49 Aaron Albright wrote:
> Question #16782 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/16782
>
> Aaron Albright posted a new comment:
> Hey Anne,
>
> sorry are you still having a problem with this? If so please open a new
> ticket for better tracking.
>
Thanks for the response. I shan't need to now. I've been away for the
weekend, come back refreshed, and found missing sane-related packages. All
appears to be well now.

Thanks again

Anne
--
Registered Linux User No.293302 (http://counter.li.org/)