I had not realised there was a debug option in the hp-sendfax command - I pasted the output below, does the error code give any indications as to what the problem might be?
Thanks John $ hp-sendfax -f3440722 -ldebug test.jpg warning: GUI mode disabled in build. Reverting to non-interactive mode. hp-sendfax[1485]: debug: fab.db: /home/dsl/.hplip/fab.db hp-sendfax[1485]: debug: Faxnum list = ['3440722'] hp-sendfax[1485]: debug: Unique list=['3440722'] hp-sendfax[1485]: debug: Group list = [] hp-sendfax[1485]: debug: Unique list=[] hp-sendfax[1485]: debug: Recipient list = [] hp-sendfax[1485]: debug: Unique list=[] hp-sendfax[1485]: debug: Name=Unknown Number=3440722 hp-sendfax[1485]: debug: Phone num list = [<fax.fax.AddressBookEntry object at 0x4083638c>] hp-sendfax[1485]: debug: /ramdisk/home/dsl/test.jpg hp-sendfax[1485]: debug: image/jpeg hp-sendfax[1485]: debug: [<cupsext.Printer object at 0x403a61b0>, <cupsext.Printer object at 0x403a6020>] Using printer OfficeJetK80Fax (hpfax:/usb/OfficeJet_K80?serial=ES0911401VOH) hp-sendfax[1485]: debug: Startup: Trying to connect to hpssd on localhost:2207 hp-sendfax[1485]: debug: Connected to hpssd on localhost:2207 hp-sendfax[1485]: debug: /ramdisk/home/dsl/test.jpg hp-sendfax[1485]: debug: Printer state = 3 hp-sendfax[1485]: debug: Printer name = OfficeJetK80Fax file = /ramdisk/home/dsl/test.jpg Rendering file '/ramdisk/home/dsl/test.jpg' (job 6)... hp-sendfax[1485]: debug: Job ID=6 hp-sendfax[1485]: debug: Waiting for fax... hp-sendfax[1485]: debug: (xmit) Sending data on channel (6) hp-sendfax[1485]: debug: 'msg=faxcheck\nusername=dsl\n' hp-sendfax[1485]: debug: (xmit) Reading data on channel (6) hp-sendfax[1485]: debug: 'msg=faxcheckresult\nresult-code=22\n' hp-sendfax[1485]: debug: Waiting for fax... hp-sendfax[1485]: debug: (xmit) Sending data on channel (6) hp-sendfax[1485]: debug: 'msg=faxcheck\nusername=dsl\n' hp-sendfax[1485]: debug: (xmit) Reading data on channel (6) hp-sendfax[1485]: debug: 'msg=faxcheckresult\nresult-code=22\n' hp-sendfax[1485]: debug: Waiting for fax... ...etc, etc <ctrl-c> Traceback (most recent call last): File "/opt/hplip/bin/hp-sendfax", line 617, in ? time.sleep(1) KeyboardInterrupt ---------------------- At 17:46 02-09-07, you wrote: >I made some more progress on this. It looks like part of the problem >was that I had not created a directory /home/user/.hplip and thus >hplip could not write the fab.db file. This being said, I still >cannot send a fax - am I using the wrong syntax? Is this a symptom of >the issue with faxing and the OfficeJet K80 mentioned previously? >Printing and scanning work without problems. > >$ hp-sendfax -dhpfax:/usb/OfficeJet_K80?serial=ES0911401VOH >-f3440722 -n Events > >HP Linux Imaging and Printing System (ver. 2.7.6) >PC Sendfax Utility ver. 6.3 > >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. > >Using printer OfficeJetK80Fax >(hpfax:/usb/OfficeJet_K80?seonenrial=ES0911401VOH) > >Rendering file '/ramdisk/home/dsl/Events' (job 1)... >error: Timeout waiting for rendering. Canceling job #1... > >As before, cups shows the error ../cups/backend/hpfax failed and >error-log shows the same errors. > >Note that the contents of fab.db after issuing the command above were: > >000000|000000|recno:int|name:str|title:str|firstname:str|lastname:str|fax:str|groups:str|notes:str > > > > >Note also: > >$ /opt/hplip/lib/cups/backend/hpfax >direct hpfax:/usb/OfficeJet_K80?serial=ES0911401VOH "HP Fax" >"OfficeJet K80 HP Fax HPLIP" "MFG:HP;MDL:Fax;DES:HP Fax;" > >Regards >John >--------------------------------- >At 08:03 02-09-07, John Frankish wrote: > >Hi John, > > > >If by "driver" you mean the fax ppd file, I copied it over to > >/usr/share/cups/model and "hp-setup -i" found it and installed it. > >The backend/hpfax failed error came after setting up the fax printer. > > > >DSLinux has some similarities with Knoppix and Debian - see > >http://www.damnsmalllinux.org/ if you're interested - most things > >work on it. I believe the backend/hpfax failed error is probably a > >minor issue, but the error log doesn't give too many pointers. > > > >Thanks > >John > >------------------------------------------ > >At 22:11 01-09-07, you wrote: > > >Is there a specific reason you cannot install the driver to the > > >/usr/share area? > > > > > >We don't use DSLinux in the lab at all. > > > > > > > > >thanks > > > > > >jh > > > > > >John Frankish wrote: > > > > Hi John, > > > > > > > > The output from hp-check is posted below - note that I have added a > > > > few comments in square brackets [comments]. For example, hp-check > > > > says the sane libraries are missing, yet they are present in > > > > /opt/hplip/lib and I can scan using scanimage... > > > > > > > > Regards > > > > John > > > > > > > > : > > > > :--------------- > > > > :| SYSTEM INFO | > > > > :--------------- > > > > : > > > > :Basic system information: > > > > :Linux box 2.4.26 #1 SMP Sa Apr 17 19:33:42 CEST 2004 i686 GNU/Linux > > > > : > > > > :Distribution: > > > > :unknown 0.0 [actually damnsmalllinux 3.4] > > > > : > > > > HPOJ running? > > > > :No, HPOJ is not running (OK). > > > > : > > > > :Checking Python version... > > > > :OK, version 2.3.6 installed > > > > : > > > > :Checking PyQt version... > > > > hp-check[1513]: error: :Not found! > > > > : > > > > :Checking SIP version... > > > > hp-check[1513]: error: :SIP not installed or version not found. > > > > : > > > > :Checking for CUPS... > > > > :Status: scheduler is running > > > > :Version: 1.2.11 > > > > : > > > > :---------------- > > > > :| DEPENDENCIES | > > > > :---------------- > > > > : > > > > : > > > > :Checking for dependency cups - Common Unix Printing System... > > > > :OK, found. > > > > : > > > > :Checking for dependency cups-devel- Common Unix Printing System > > > > development files... > > > > hp-check[1513]: error: :NOT FOUND! This is a REQUIRED dependency. > > > > Please make sure that this dependency is installed before installing > > > > or running HPLIP. > > > > : > > > > :Checking for dependency gcc - GNU Project C and C++ Compiler... > > > > hp-check[1513]: error: :NOT FOUND! This is a REQUIRED dependency. > > > > Please make sure that this dependency is installed before installing > > > > or running HPLIP. > > > > : > > > > :Checking for dependency GhostScript - PostScript and PDF language > > > > interpreter and previewer... > > > > :OK, found. > > > > : > > > > :Checking for dependency libcrypto - OpenSSL cryptographic library... > > > > [actually in /opt/hplip/lib] > > > > hp-check[1513]: error: :NOT FOUND! This is a REQUIRED dependency. > > > > Please make sure that this dependency is installed before installing > > > > or running HPLIP. > > > > : > > > > :Checking for dependency libjpeg - JPEG library... [actually in > > > /opt/hplip/lib] > > > > hp-check[1513]: error: :NOT FOUND! This is a REQUIRED dependency. > > > > Please make sure that this dependency is installed before installing > > > > or running HPLIP. > > > > : > > > > :Checking for dependency libnetsnmp-devel - SNMP networking library > > > > development files... > > > > hp-check[1513]: error: :NOT FOUND! This is a REQUIRED dependency. > > > > Please make sure that this dependency is installed before installing > > > > or running HPLIP. > > > > : > > > > :Checking for dependency libpthread - POSIX threads library... > > > > hp-check[1513]: error: :NOT FOUND! This is a REQUIRED dependency. > > > > Please make sure that this dependency is installed before installing > > > > or running HPLIP. > > > > : > > > > :Checking for dependency libusb - USB library... [actually in > > > /opt/hplip/lib] > > > > hp-check[1513]: error: :NOT FOUND! This is a REQUIRED dependency. > > > > Please make sure that this dependency is installed before installing > > > > or running HPLIP. > > > > : > > > > :Checking for dependency make - GNU make utility to maintain groups > > > > of programs... > > > > hp-check[1513]: error: :NOT FOUND! This is a REQUIRED dependency. > > > > Please make sure that this dependency is installed before installing > > > > or running HPLIP. > > > > : > > > > :Checking for dependency ppdev - Parallel port support kernel > module.... > > > > :OK, found. > > > > : > > > > :Checking for dependency PyQt - Qt interface for Python... > > > > hp-check[1513]: error: :NOT FOUND! This is a REQUIRED dependency. > > > > Please make sure that this dependency is installed before installing > > > > or running HPLIP. > > > > : > > > > :Checking for dependency python-devel - Python development files... > > > > hp-check[1513]: error: :NOT FOUND! This is a REQUIRED dependency. > > > > Please make sure that this dependency is installed before installing > > > > or running HPLIP. > > > > : > > > > :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... > > > > hp-check[1513]: warn: :NOT FOUND! This is an OPTIONAL dependency. > > > > Some HPLIP functionality may not function properly. > > > > : > > > > :Checking for dependency sane - Scanning library... [actually in > > > > /opt/hplip/lib] > > > > hp-check[1513]: error: :NOT FOUND! This is a REQUIRED dependency. > > > > Please make sure that this dependency is installed before installing > > > > or running HPLIP. > > > > : > > > > :Checking for dependency sane-devel - Scanning library > > development files... > > > > hp-check[1513]: error: :NOT FOUND! This is a REQUIRED dependency. > > > > Please make sure that this dependency is installed before installing > > > > or running HPLIP. > > > > : > > > > :Checking for dependency scanimage - Shell scanning program... > > > > :OK, found. > > > > : > > > > :Checking for dependency xsane - Graphical scanner frontend for SANE... > > > > hp-check[1513]: warn: :NOT FOUND! This is an OPTIONAL dependency. > > > > Some HPLIP functionality may not function properly. > > > > : > > > > : > > > > :---------------------- > > > > :| HPLIP INSTALLATION | > > > > :---------------------- > > > > : > > > > : > > > > :Currently installed HPLIP version... > > > > :HPLIP 2.7.6 currently installed in '/opt/hplip/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.6 > > > > > > > > [dirs] > > > > home=/opt/hplip/share/hplip > > > > run=/var/run > > > > ppd=/opt/ppd/HP > > > > ppdbase=/opt/ppd > > > > doc=/opt/hplip/share/doc/hplip-2.7.6 > > > > icon=/opt/hplip/share/applications > > > > cupsbackend=/opt/hplip/lib/cups/backend > > > > foomatic=/opt/hplip/share/foomatic > > > > > > > > # Following values are determined at configure time and cannot > > be changed. > > > > [configure] > > > > network-build=yes > > > > pp-build=yes > > > > gui-build=no > > > > scanner-build=yes > > > > fax-build=yes > > > > cups11-build=no > > > > doc-build=no > > > > shadow-build=no > > > > foomatic-xml-install=no > > > > foomatic-ppd-install=yes > > > > internal-tag=2.7.6.13 > > > > > > > > : > > > > :---------------------- > > > > :| INSTALLED PRINTERS | > > > > :---------------------- > > > > : > > > > : > > > > :OfficeJetK80 > > > > :------------ > > > > :Type: Printer > > > > :Installed in HPLIP?: Yes, using the hp: CUPS backend. > > > > :Device URI: hp:/usb/OfficeJet_K80?serial=ES0911401VOH > > > > :PPD: /etc/cups/ppd/OfficeJetK80.ppd > > > > :PPD Description: HP OfficeJet K80 Foomatic/hpijs (recommended) > > > > :Printer status: printer OfficeJetK80 is idle. enabled since Mon Aug > > > > 27 13:27:26 2007 > > > > : > > > > :OfficeJetK80Fax > > > > :--------------- > > > > :Type: Fax > > > > :Installed in HPLIP?: Yes, using the hpfax: CUPS backend. > > > > :Device URI: hpfax:/usb/OfficeJet_K80?serial=ES0911401VOH > > > > :PPD: /etc/cups/ppd/OfficeJetK80Fax.ppd > > > > :PPD Description: HP Fax > > > > :Printer status: printer OfficeJetK80Fax disabled since Thu Aug 30 > > > > 10:34:17 2007 - > > > > /opt/hplip/lib/cups/backend/hpfax failed > > > > : > > > > : > > > > :---------------------- > > > > :| 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:/usb/OfficeJet_K80?serial=ES0911401VOH' is a > > > > Hewlett-Packard OfficeJet_K80 all-in-one > > > > : > > > > :--------------------- > > > > :| 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 proper HPLIP I/O setup (USB I/O only)... > > > > : > > > > :Checking for permissions of USB attached printers... > > > > : > > > > :Is user 'dsl' a member of the 'lp' group? > > > > hp-check[1513]: warn: :NO (HPLIP USB I/O users must be member of > > > 'lp' group) > > > > hp-check[1513]: note: :This may not be a problem if this user will > > > > not be printing using HPLIP USB I/O. > > > > : > > > > : > > > > :----------- > > > > :| SUMMARY | > > > > :----------- > > > > : > > > > hp-check[1513]: error: :17 errors and/or warnings. > > > > : > > > > :Please refer to the installation instructions at: > > > > :http://hplip.sourceforge.net/install/index.html > > > > > > > > > > > > > > > > > > > > At 22:02 31-08-07, you wrote: > > > >> Hey John... > > > >> > > > >> I'm picking up your issue. I've read through the past threads but just > > > >> for sanity sake would you...post the output of 'hp-check -t' > > > >> > > > >> > > > >> thanks > > > >> > > > >> jh > > > >> > > > >> > > > >> John Frankish wrote: > > > >>> Hi, > > > >>> > > > >>> After adding my OfficeJet K80 fax as a cups printer I get the error > > > >>> message "/opt/hplip/lib/cups/backend/hpfax failed" when I try to fax > > > >>> a test page. > > > >>> > > > >>> In a previous thread the following was stated: > > > >>> > > > >>>>> 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. > > > >>> Is this anything to do with the problem? Is there a work-around > > > available? > > > >>> > > > >>> Regards > > > >>> John > > > >>> > > > >>> The cups error_log gives the following output (with log level set > > > >> to debug): > > > >>> D [30/Aug/2007:10:34:16 -0400] [Job 1] > > > >>> envp[18]="PPD=/opt/hplip/etc/cups/ppd/OfficeJetK80Fax.ppd" > > > >>> D [30/Aug/2007:10:34:16 -0400] [Job 1] envp[19]="RIP_MAX_CACHE=8m" > > > >>> D [30/Aug/2007:10:34:16 -0400] [Job 1] > > > >>> envp[20]="CONTENT_TYPE=application/postscript" > > > >>> D [30/Aug/2007:10:34:16 -0400] [Job 1] > > > >>> envp[21]="DEVICE_URI=hpfax:/usb/OfficeJet_K80?serial=ES0911401VOH" > > > >>> D [30/Aug/2007:10:34:16 -0400] [Job 1] > > envp[22]="PRINTER=OfficeJetK80Fax" > > > >>> D [30/Aug/2007:10:34:16 -0400] [Job 1] > > > >>> envp[23]="FINAL_CONTENT_TYPE=printer/OfficeJetK80Fax" > > > >>> I [30/Aug/2007:10:34:16 -0400] Started filter > > > >>> /opt/hplip/lib/cups/filter/pstops (PID 1389) for job 1. > > > >>> I [30/Aug/2007:10:34:16 -0400] Started filter > > > >>> /opt/hplip/lib/cups/filter/foomatic-rip (PID 1390) for job 1. > > > >>> I [30/Aug/2007:10:34:16 -0400] Started backend > > > >>> /opt/hplip/lib/cups/backend/hpfax (PID 1391) for job 1. > > > >>> D [30/Aug/2007:10:34:16 -0400] Discarding unused job-state event... > > > >>> D [30/Aug/2007:10:34:16 -0400] cupsdProcessIPPRequest: 10 > > > >>> status_code=0 (successful-ok) > > > >>> E [30/Aug/2007:10:34:16 -0400] PID 1391 > > > >>> (/opt/hplip/lib/cups/backend/hpfax) stopped with status 127! > > > >>> > > > >>> > > > >>> D [30/Aug/2007:10:34:17 -0400] [Job 1] Found: %%EOF > > > >>> D [30/Aug/2007:10:34:17 -0400] [Job 1] --> Continue DSC parsing now. > > > >>> D [30/Aug/2007:10:34:17 -0400] [Job 1] > > > >>> D [30/Aug/2007:10:34:17 -0400] [Job 1] > > > >>> D [30/Aug/2007:10:34:17 -0400] [Job 1] Closing renderer > > > >>> D [30/Aug/2007:10:34:17 -0400] Discarding unused > job-progress event... > > > >>> D [30/Aug/2007:10:34:17 -0400] [Job 1] Process dying with "error > > > >>> closing *main::STDOUT", exit stat: 9 > > > >>> D [30/Aug/2007:10:34:17 -0400] [Job 1] error: Broken pipe (32) > > > >>> D [30/Aug/2007:10:34:17 -0400] [Job 1] error closing *main::STDOUT > > > >>> D [30/Aug/2007:10:34:17 -0400] [Job 1] KID3 finished > > > >>> D [30/Aug/2007:10:34:17 -0400] [Job 1] KID3 exited with status 0 > > > >>> D [30/Aug/2007:10:34:17 -0400] [Job 1] KID4 exited with status 9 > > > >>> D [30/Aug/2007:10:34:17 -0400] [Job 1] Renderer exit stat: 9 > > > >>> D [30/Aug/2007:10:34:17 -0400] [Job 1] Renderer process finished > > > >>> D [30/Aug/2007:10:34:17 -0400] [Job 1] Killing process 1395 (KID3) > > > >>> D [30/Aug/2007:10:34:17 -0400] [Job 1] Process dying with "Error > > > >>> closing renderer", exit stat: 9 > > > >>> D [30/Aug/2007:10:34:17 -0400] [Job 1] error: Illegal seek (29) > > > >>> D [30/Aug/2007:10:34:17 -0400] [Job 1] Error closing renderer > > > >>> E [30/Aug/2007:10:34:17 -0400] PID 1390 > > > >>> (/opt/hplip/lib/cups/filter/foomatic-rip) stopped with status 9! > > > >>> D [30/Aug/2007:10:34:17 -0400] [Job 1] File 0 is complete. > > > >>> I [30/Aug/2007:10:34:17 -0400] [Job 1] Backend returned status > > > >> 127 (unknown) > > > >>> > > > >>> > > > >>> > > ------------------------------------------------------------------------- > > > >>> 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/ > > > >> > > > >> > > ------------------------------------------------------------------------- > > > >> 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 > > > > > > > > > > > > > ------------------------------------------------------------------------- > > > > 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/ > > > > > > > > >------------------------------------------------------------------------- > > >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 > > > > > >------------------------------------------------------------------------- > >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 > > >------------------------------------------------------------------------- >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 ------------------------------------------------------------------------- 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