I made some more progress on this but still did not manage to add my OfficeJetK80 fax to the cups printer queue - I had not realised that python-2.3.6 does not compile the readline extension by default and also the configure option --enable-readline no longer works.
Prior to adding the readline.so extension to python, I get this: $ hp-setup -i Traceback (most recent call last): File "/opt/hplip/bin/hp-setup", line 31, in ? import readline, gzip ImportError: No module named readline After adding readline, I get this: $ hp-setup -i HP Linux Imaging and Printing System (ver. 2.7.6) Printer/Fax Setup Utility ver. 4.5 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. error: You must be root to run this utility. $ sudo hp-setup -i /usr/bin/env: python: No such file or directory It appears that hp-set up does not like python running from /opt/python-2.3/bin (which is in the path) when used as root, so: $ sudo ln -s /opt/python-2.3/bin/python /usr/bin $ sudo hp-setup -i --type=fax --fax=OfficeJetK80Fax HP Linux Imaging and Printing System (ver. 2.7.6) Printer/Fax Setup Utility ver. 4.5 ... Using device: hp:/usb/OfficeJet_K80?serial=ES0911401VOH Setting up device: hp:/usb/OfficeJet_K80?serial=ES0911401VOH (Note: Defaults for each question are maked with a '*'. Press <enter> to accept the default.) Traceback (most recent call last): File "/opt/hplip/bin/hp-setup", line 328, in ? ppds = cups.getSystemPPDs() File "/ramdisk/opt/hplip/share/hplip/prnt/cups.py", line 231, in getSystemPPDs path = os.path.join(cups_ppd_path, ppd) File "/opt/python-2.3/lib/python2.3/posixpath.py", line 62, in join elif path == '' or path.endswith('/'): AttributeError: 'NoneType' object has no attribute 'endswith' Note that HP-Fax-hplip.ppd.gz is in /opt/hplip/share/cups/model, the fax uri is hpfax:/usb/OfficeJet_K80?serial=ES0911401VOH and cups and hplip are compiled in /opt/hplip. 1. Where does hp-setup expect to find the fax ppd? Is it possible to tell hp-setup where to find the fax ppd? 2. Ref the drop down box in the cups 'add printer" dialogue - since it does not list the fax uri as one of the possible options, is it possible to insert the fax uri in whatever temporary file/conf file cups uses to force the issue? Thanks for the help so far John ----------------------------------------------------- At 14:36 27-08-07, you wrote: >Sorry for the delay in replying but I did not receive an e-mail with >your reply to the original query. > >I tried "hp-setup -i" but got a traceback/readline error. > >hp-info shows that the uri for print, fax and scan are all present >for my OfficeJet K80, but the uri for fax (or scan) does not show up >in the drop down list the the cups printer setup. > >----------------------------------------------------- > >If possible please try and configure the printer using hp-setup. > >hp-setup -i (if you don't have the gui installed) > >However there may be a problem with the K80 series currently. I've been >able to reproduce a problem. The engineer that works on fax is unavailable >and I'll need to work with him on a solution. > >Sorry for the delay. > >A >------------------------------------------------------ >On 7/31/07, John Frankish <[EMAIL PROTECTED]> wrote: > > > > I have hplip-2.7.6 installed without gui with cups-1.2.11, > > espgs-8.15, python-2.3.6 and sane-1.0.18 on damnsmalllinux 3.4 and am > > using OfficeJetG85 and OfficeJetK80 printers. > > > > Printing does not seem to be a problem, but I am unable to add the > > K80 fax to cups as a printer - I understand fax is not supported by > > hplip on the G85. hp-info gives the uri for the printer, fax and > > scanner on the K80 and executing ../cups/backend/hpfax brings up > > details of the K80 fax. > > > > If I try to add the K80 fax as a printer in cups (as per the > > instructions on the hplip sourceforge site) the fax uri does not come > > up as one of the choices in the drop-down menu in cups admin. > > > > Is there some trick to adding the K80 fax as a printer in cups? ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ HPLIP-Help mailing list HPLIP-Help@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hplip-help