Bug 479808
Summary: | Error in HP P1005 printing | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | antonio montagnani <antonio.montagnani> | ||||||
Component: | foomatic | Assignee: | Tim Waugh <twaugh> | ||||||
Status: | CLOSED CANTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | low | ||||||||
Version: | 10 | CC: | epicoponte, twaugh | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | All | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2009-01-13 15:19:12 UTC | Type: | --- | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
antonio montagnani
2009-01-13 09:30:51 UTC
I forgot to mention that printer is on a Windows Vista PC. Somehow the error_log has been truncated before we were able to fetch it. Please run '/sbin/service cups restartlog' first, and then try the troubleshooter again. Created attachment 328851 [details]
Troubleshooting file
after service cups restartlog
Please attach /var/log/cups/error_log in full. For some reason it doesn't all seem to be getting captured. Sorry. Created attachment 328855 [details]
Cups error log
The problem seems to be that hpijs is segfaulting. $ gs '-dBATCH' '-dPARANOIDSAFER' '-dNOPAUSE' '-sDEVICE=ijs' \ '-sIjsServer=hpijs' '-dDEVICEWIDTHPOINTS=595' \ '-dDEVICEHEIGHTPOINTS=842' '-sDeviceManufacturer=HEWLETT-PACKARD' \ '-sDeviceModel=HP LaserJet 1018' '-r600' \ '-sIjsParams=Quality:Quality=0,Quality:ColorMode=0 ,Quality:PenSet=0Plain,PS:MediaPosition=7' GPL Ghostscript 8.63 (2008-08-01) Copyright (C) 2008 Artifex Software, Inc. All rights reserved. This software comes with NO WARRANTY: see the file PUBLIC for details. unable to set key=OutputFile, value= **** Unable to open the initial device, quitting. $ file core.23638 core.23638: ELF 64-bit LSB core file x86-64, version 1 (SYSV), SVR4-style, from 'hpijs' Oh, this just seems to be due to DEVICE_URI and PRINTER environment variables not being set. Will fix that. However, the main problem is this: $ gs '-dBATCH' '-dPARANOIDSAFER' '-dNOPAUSE' '-sQUIET' \ '-sDEVICE=ijs' '-sIjsServer=hpijs' '-dDEVICEWIDTHPOINTS=595' \ '-dDEVICEHEIGHTPOINTS=842' '-sDeviceManufacturer=HEWLETT-PACKARD' \ '-sDeviceModel=HP LaserJet 1018' '-r600' \ '-sIjsParams=Quality:Quality=0,Quality:ColorMode=0 ,Quality:PenSet=0Plain,PS:MediaPosition=7' unable to set key=OutputFile, value=/dev/stdout unable to set device=HP LaserJet 1018, err=48 unable to set device=HP LaserJet 1018, err=48 **** Unable to open the initial device, quitting. unable to read client data err=-2 This error number, 48, means that there is a missing required (proprietary) plug-in for this device. Nothing we can do about that I'm afraid. (You could try 'hp-setup'.) Shall I assume that I will have same problem in F11??? see my other bug Yes: basically you can't use hpijs with that printer. However, looking at the OpenPrinting database it looks like there's another one you can use: http://openprinting.org/show_printer.cgi?recnum=HP-LaserJet_P1005 I confirm that it works with alternative driver. So bug can be closed Had same problem trying to install an HP Laserjet 1000, network printer in Windows OS, using Fedora 11. Error messages: unable to set device=HP LaserJet 1018, err=48 unable to set device=HP LaserJet 1018, err=48 **** Unable to open the initial device, quitting. unable to read client data err=-2 Had previously installed it from repos that come with Fedora 11, as a Samba Network Printer. Did not work, got the above error messages. Used driver in Openprinting.org, following instructions. Installed quickly and worked at first try. Lost many hours for not reading the error logs when they first came out. Web addresses used were: http://www.openprinting.org/show_printer.cgi?recnum=HP-LaserJet_1000 http://www.openprinting.org/show_driver.cgi?driver=foo2zjs&fromprinter=HP-LaserJet_1000 http://foo2zjs.rkkda.com/ http://foo2zjs.rkkda.com/fedora/hp1020.html Hope this may be useful. |