Aaron,

A further update.  If I manually modify the <model
name="HP_LaserJet_3330"> entry in
/usr/share/hplip/data/xml/HPLIP-0_9_5.xml and restart the hplip
daemons, I can now successfully setup and use fax on this device via a
Jetdirect :-)

So it would appear there is either an error in the
/usr/share/hplip/data/xml/HPLIP-0_9_5.xml file, or something is
causing HPLIP to select the wrong entry in this file as there appears
to be two different Laserjet 3330 references - one supporting fax and
one not.

Here is a diff of a workaround to <model name="HP_LaserJet_3330"> in
this file that worked for me:

--- HPLIP-0_9_5.xml.orig        2006-10-17 18:55:46.000000000 +1000
+++ HPLIP-0_9_5.xml     2006-11-17 11:43:08.000000000 +1100
@@ -4664,7 +4664,7 @@
     <color-cal type="0"/>
     <status type="3" battery-check="0" dynamic-counters="0"/>
     <scan type="2" style="2"/>
-    <fax type="0"/>
+    <fax type="1"/>
     <pcard type="0"/>
     <copy type="1"/>
     <tech class="LJMono" type="3"/>

Whether this is the "correct" fix depends on the root cause of this
problem and I don't know enough about the internals of HPLIP to figure
that one out for myself !

Regards James

---------- Forwarded message ----------
From: James Kelly <[EMAIL PROTECTED]>
Date: 17-Nov-2006 12:08
Subject: Re: [Hplip-help] Is faxing via a Jetdirect attached LJ3330
MFP supported ?
To: Aaron J Albright <[EMAIL PROTECTED]>
Cc: hplip-help@lists.sourceforge.net


Aaron,

Below is the output of hp-setup (with debug enabled) and hp-check.
hp-setup seems to be saying the Laserjet 3330 MFP device doesn't
support faxes and therefore hp-setup doesn't create a fax queue in
CUPS.  hp-sendfax displays a dialog box saying "No devices found".

Digging further I find In /usr/share/hplip/data/xml/HPLIP-0_9_5.xml
there appears to be TWO different entries that reference the Laserjet
3330.  One refers to "Laserjet 3330mfp" the other to "Laserjet 3330".
The entry for "Laserjet 3330" has faxtype=0 (which I assume means
none), whereas the entry for "Laserjet 3330mfp" has faxtype=1.
Interestingly the entries for Laserjet 3330mfp is the same entry for
the Laserjet 3300, 3310, 3320, none of which have faxes, despite the
entry suggesting they do.  Perhaps these two entries have been mixed
around the wrong way ?

The manuals for my device claim it is a Laserjet 3330mfp and I use it
to send faxes manually quite often so it definitely has a fax feature
... something strange is going on here.

--- START hp-setup OUTPUT

c400:~ # hp-setup -i -bnet -g

HP Linux Imaging and Printing System (ver. 1.6.10)
Printer/Fax Setup Utility ver. 3.1

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.

0
hp-setup[17474]: debug: (xmit) Sending data on channel (5)
hp-setup[17474]: debug:
'msg=probedevicesfiltered\nfilter=none\nbus=net\nformat=cups\ntimeout=5\nttl=4\n'
hp-setup[17474]: debug: (xmit) Reading data on channel (5)
hp-setup[17474]: debug:
'msg=probedevicesfilteredresult\nresult-code=0\nnum-devices=1\nencoding=none\nlength=84\ndata:\nhp:/net/HP_LaserJet_3330?ip=10.1.1.3
"HP_LaserJet_3330" "HP_LaserJet_3330" "lj3330"\n'
hp-setup[17474]: debug: ['hp:/net/HP_LaserJet_3330?ip=10.1.1.3']
hp-setup[17474]: debug: []
Using device: hp:/net/HP_LaserJet_3330?ip=10.1.1.3

Setting up device: hp:/net/HP_LaserJet_3330?ip=10.1.1.3

(Note: Defaults for each question are maked with a '*'. Press <enter>
to accept the default.)

hp-setup[17474]: debug: Model=HP_LaserJet_3330
hp-setup[17474]: debug: (xmit) Sending data on channel (4)
hp-setup[17474]: debug:
'msg=querymodel\ndevice-uri=hp:/net/HP_LaserJet_3330?ip=10.1.1.3\n'
hp-setup[17474]: debug: (xmit) Reading data on channel (4)
hp-setup[17474]: debug:
'msg=querymodelresult\ncopy-type=1\nscan-type=2\nfax-type=0\ntech-type=3\nio-support=2\nscan-style=2\nio-mode=3\nio-scan-port=0\nr0-agent1-sku=C7115A/C7115X\ncase-model-model1=LaserJet
3330\ncolor-cal-type=0\npanel-check-type=1\ntech-class=LJMono\nstatus-dynamic-counters=0\npq-diag-type=0\nclean-type=0\nr0-agent1-type=1\nresult-code=0\nalign-type=0\nicon=HP_LaserJet_3300_3310_3320.png\nstatus-battery-check=0\nsupport-type=2\npcard-type=0\nlinefeed-cal-type=0\nstatus-type=3\nio-mfp-mode=3\nembedded-server-type=1\nio-control=0\nr0-agent1-kind=4\n'
warning: Cannot setup fax - device does not have fax feature.
hp-setup[17474]: debug: Searching for PPDs in:
/usr/share/cups/model/manufacturer-PPDs/hplip
hp-setup[17474]: debug: {}

PRINT QUEUE SETUP

Please enter a name for this print queue (m=use model
name:'HP_LaserJet_3330'*, q=quit) ?m
Using queue name: HP_LaserJet_3330
hp-setup[17474]: debug: 1st stage edit distance match
hp-setup[17474]: debug: Min. dist = 1
hp-setup[17474]: debug:
['/usr/share/cups/model/manufacturer-PPDs/hplip/HP_LaserJet_3390.ppd.gz',
'/usr/share/cups/model/manufacturer-PPDs/hplip/hp_LaserJet_3380.ppd.gz',
'/usr/share/cups/model/manufacturer-PPDs/hplip/HP_LaserJet_3300_Series.ppd.gz',
'/usr/share/cups/model/manufacturer-PPDs/hplip/HP-LaserJet_3030-hpijs.ppd.gz',
'/usr/share/cups/model/manufacturer-PPDs/hplip/HP-LaserJet_3380-hpijs.ppd.gz',
'/usr/share/cups/model/manufacturer-PPDs/hplip/HP-LaserJet_3390-hpijs.ppd.gz']
hp-setup[17474]: debug: 2nd stage matching with model number
hp-setup[17474]: debug:
['/usr/share/cups/model/manufacturer-PPDs/hplip/HP_LaserJet_3390.ppd.gz',
'/usr/share/cups/model/manufacturer-PPDs/hplip/hp_LaserJet_3380.ppd.gz',
'/usr/share/cups/model/manufacturer-PPDs/hplip/HP_LaserJet_3300_Series.ppd.gz',
'/usr/share/cups/model/manufacturer-PPDs/hplip/HP-LaserJet_3030-hpijs.ppd.gz',
'/usr/share/cups/model/manufacturer-PPDs/hplip/HP-LaserJet_3380-hpijs.ppd.gz',
'/usr/share/cups/model/manufacturer-PPDs/hplip/HP-LaserJet_3390-hpijs.ppd.gz']
hp-setup[17474]: debug: model_number=3330
hp-setup[17474]: debug: Factor = 1
hp-setup[17474]: debug: mins_model_number= 3390
hp-setup[17474]: debug: mins_adj_model_number=3390
hp-setup[17474]: debug: adj_model_number=3330
hp-setup[17474]: debug: ***
hp-setup[17474]: debug: mins_model_number= 3380
hp-setup[17474]: debug: mins_adj_model_number=3380
hp-setup[17474]: debug: adj_model_number=3330
hp-setup[17474]: debug: ***
hp-setup[17474]: debug: mins_model_number= 3300
hp-setup[17474]: debug: mins_adj_model_number=3300
hp-setup[17474]: debug: adj_model_number=3330
hp-setup[17474]: debug: ***
hp-setup[17474]: debug: mins_model_number= 3030
hp-setup[17474]: debug: mins_adj_model_number=3030
hp-setup[17474]: debug: adj_model_number=3330
hp-setup[17474]: debug: ***
hp-setup[17474]: debug: mins_model_number= 3380
hp-setup[17474]: debug: mins_adj_model_number=3380
hp-setup[17474]: debug: adj_model_number=3330
hp-setup[17474]: debug: ***
hp-setup[17474]: debug: mins_model_number= 3390
hp-setup[17474]: debug: mins_adj_model_number=3390
hp-setup[17474]: debug: adj_model_number=3330
hp-setup[17474]: debug: ***
hp-setup[17474]: debug: Factor = 10
hp-setup[17474]: debug: mins_model_number= 3390
hp-setup[17474]: debug: mins_adj_model_number=3390
hp-setup[17474]: debug: adj_model_number=3330
hp-setup[17474]: debug: ***
hp-setup[17474]: debug: mins_model_number= 3380
hp-setup[17474]: debug: mins_adj_model_number=3380
hp-setup[17474]: debug: adj_model_number=3330
hp-setup[17474]: debug: ***
hp-setup[17474]: debug: mins_model_number= 3300
hp-setup[17474]: debug: mins_adj_model_number=3300
hp-setup[17474]: debug: adj_model_number=3330
hp-setup[17474]: debug: ***
hp-setup[17474]: debug: mins_model_number= 3030
hp-setup[17474]: debug: mins_adj_model_number=3030
hp-setup[17474]: debug: adj_model_number=3330
hp-setup[17474]: debug: ***
hp-setup[17474]: debug: mins_model_number= 3380
hp-setup[17474]: debug: mins_adj_model_number=3380
hp-setup[17474]: debug: adj_model_number=3330
hp-setup[17474]: debug: ***
hp-setup[17474]: debug: mins_model_number= 3390
hp-setup[17474]: debug: mins_adj_model_number=3390
hp-setup[17474]: debug: adj_model_number=3330
hp-setup[17474]: debug: ***
hp-setup[17474]: debug: Factor = 100
hp-setup[17474]: debug: mins_model_number= 3390
hp-setup[17474]: debug: mins_adj_model_number=3300
hp-setup[17474]: debug: adj_model_number=3300
hp-setup[17474]: debug: match
hp-setup[17474]: debug:
['/usr/share/cups/model/manufacturer-PPDs/hplip/HP_LaserJet_3390.ppd.gz']
hp-setup[17474]: debug: ***
hp-setup[17474]: debug: mins_model_number= 3380
hp-setup[17474]: debug: mins_adj_model_number=3300
hp-setup[17474]: debug: adj_model_number=3300
hp-setup[17474]: debug: match
hp-setup[17474]: debug:
['/usr/share/cups/model/manufacturer-PPDs/hplip/HP_LaserJet_3390.ppd.gz',
'/usr/share/cups/model/manufacturer-PPDs/hplip/hp_LaserJet_3380.ppd.gz']
hp-setup[17474]: debug: ***
hp-setup[17474]: debug: mins_model_number= 3300
hp-setup[17474]: debug: mins_adj_model_number=3300
hp-setup[17474]: debug: adj_model_number=3300
hp-setup[17474]: debug: match
hp-setup[17474]: debug:
['/usr/share/cups/model/manufacturer-PPDs/hplip/HP_LaserJet_3390.ppd.gz',
'/usr/share/cups/model/manufacturer-PPDs/hplip/hp_LaserJet_3380.ppd.gz',
'/usr/share/cups/model/manufacturer-PPDs/hplip/HP_LaserJet_3300_Series.ppd.gz']
hp-setup[17474]: debug: ***
hp-setup[17474]: debug: mins_model_number= 3030
hp-setup[17474]: debug: mins_adj_model_number=3000
hp-setup[17474]: debug: adj_model_number=3300
hp-setup[17474]: debug: ***
hp-setup[17474]: debug: mins_model_number= 3380
hp-setup[17474]: debug: mins_adj_model_number=3300
hp-setup[17474]: debug: adj_model_number=3300
hp-setup[17474]: debug: match
hp-setup[17474]: debug:
['/usr/share/cups/model/manufacturer-PPDs/hplip/HP_LaserJet_3390.ppd.gz',
'/usr/share/cups/model/manufacturer-PPDs/hplip/hp_LaserJet_3380.ppd.gz',
'/usr/share/cups/model/manufacturer-PPDs/hplip/HP_LaserJet_3300_Series.ppd.gz',
'/usr/share/cups/model/manufacturer-PPDs/hplip/HP-LaserJet_3380-hpijs.ppd.gz']
hp-setup[17474]: debug: ***
hp-setup[17474]: debug: mins_model_number= 3390
hp-setup[17474]: debug: mins_adj_model_number=3300
hp-setup[17474]: debug: adj_model_number=3300
hp-setup[17474]: debug: match
hp-setup[17474]: debug:
['/usr/share/cups/model/manufacturer-PPDs/hplip/HP_LaserJet_3390.ppd.gz',
'/usr/share/cups/model/manufacturer-PPDs/hplip/hp_LaserJet_3380.ppd.gz',
'/usr/share/cups/model/manufacturer-PPDs/hplip/HP_LaserJet_3300_Series.ppd.gz',
'/usr/share/cups/model/manufacturer-PPDs/hplip/HP-LaserJet_3380-hpijs.ppd.gz',
'/usr/share/cups/model/manufacturer-PPDs/hplip/HP-LaserJet_3390-hpijs.ppd.gz']
hp-setup[17474]: debug: ***

warning: Found multiple possible PPD files

Choose a PPD file that most closely matches your device:
(Note: The model number may vary slightly from the actual model number
on the device.)

Num.  PPD Filename
             Description
----  
----------------------------------------------------------------------------
 ----------------------------------------
0     /usr/share/cups/model/manufacturer-PPDs/hplip/HP_LaserJet_3390.ppd.gz
        HP LaserJet 3390 Postscript

             (recommended)
1     /usr/share/cups/model/manufacturer-PPDs/hplip/hp_LaserJet_3380.ppd.gz
        HP LaserJet 3380 Postscript

             (recommended)
2     
/usr/share/cups/model/manufacturer-PPDs/hplip/HP_LaserJet_3300_Series.ppd.gz
 HP LaserJet 3300 Series Postscript

             (recommended)
3     
/usr/share/cups/model/manufacturer-PPDs/hplip/HP-LaserJet_3380-hpijs.ppd.gz
  HP LaserJet 3380 Foomatic/hpijs
4     
/usr/share/cups/model/manufacturer-PPDs/hplip/HP-LaserJet_3390-hpijs.ppd.gz
  HP LaserJet 3390 Foomatic/hpijs
5     (None of the above match)

Enter number 0...5 for PPD file (q=quit) ?2
Enter a location description for this printer (q=quit) ?
Enter additonal information or notes for this printer (q=quit) ?

Adding print queue to CUPS:
Device URI: hp:/net/HP_LaserJet_3330?ip=10.1.1.3
Queue name: HP_LaserJet_3330
PPD file: 
/usr/share/cups/model/manufacturer-PPDs/hplip/HP_LaserJet_3300_Series.ppd.gz
Location:
Information:
hp-setup[17474]: debug: {'hp:/net/HP_LaserJet_3330?ip=10.1.1.3':
['HP_LaserJet_3330']}
hp-setup[17474]: debug: Sending data on channel (4)
hp-setup[17474]: debug:
'msg=event\nevent-code=9000\nusername=root\ndevice-uri=hp:/net/HP_LaserJet_3330?ip=10.1.1.3\nevent-type=event\njob-id=0\nretry-timeout=0\n'

Would you like to print a test page (y=yes*, n=no, q=quit) ?n
Done.

--- END hp-setup OUTPUT

--- START hp-check OUTPUT

HP Linux Imaging and Printing System (ver. 1.6.10)
Dependency/Version Check Utility ver. 4.0

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.

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

Basic system info (uname -a):
  --> Linux c400 2.6.16.21-0.25-default #1 Tue Sep 19 07:26:15 UTC
2006 i686 i686 i386 GNU/Linux

Detected distro (/etc/issue):
--> suse 10.1

Detected distro (lsb_release):
 --> SUSE LINUX 10.1 (n/a)

Currently installed version...
--> OK, HPLIP 1.6.10 currently installed in '/usr/share/hplip'.

Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf

[hpiod]
# port=0 (dynamic IP port)
port=2208 (IANA IP port)
[hpssd]
# port=0 (dynamic IP port)
port=2207 (IANA IP port)

[hplip]
version=1.6.10
jdprobe=0

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/cups/model/manufacturer-PPDs/hplip
doc=/usr/share/doc/packages/hplip

# Following values are determined at configure time and cannot be changed.
[configure]
network-build=1
pp-build=1
gui-build=1
scanner-build=1
fax-build=1
internal-tag=1.6.10.11


HPLIP running?
 --> Yes, HPLIP is running (OK).

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

Checking Python version...
--> OK, version 2.4.2 installed

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


Checking for dependency 'libcrypto (libcrypto - OpenSSL cryptographic
library)'...
--> OK, found.

Checking for dependency 'gcc (gcc - GNU Project C and C++ Compiler)'...
 --> OK, found.

Checking for dependency 'sane (SANE - Scanning library)'...
--> OK, found.

Checking for dependency 'gs (GhostScript - PostScript and PDF language
interpreter and previewer)'...
 --> OK, found.

Checking for dependency 'libjpeg (libjpeg - JPEG library)'...
--> OK, found.

Checking for dependency 'libpthread (libpthread - POSIX threads library)'...
--> OK, found.

Checking for dependency 'make (make - GNU make utility to maintain
groups of programs)'...
 --> OK, found.

Checking for dependency 'python-devel (python-devel - Python
development files)'...
--> OK, found.

Checking for dependency 'reportlab (Reportlab - PDF library for Python)'...
error: Not found!
This is an OPTIONAL dependency.

Checking for dependency 'pyqt (PyQt - Qt interface for Python)'...
--> OK, found.

Checking for dependency 'cups-devel (cups-devel- Common Unix Printing
System development files)'...
--> OK, found.

Checking for dependency 'ppdev (ppdev - Parallel port support kernel
module.)'...
 --> OK, found.

Checking for dependency 'libusb (libusb - USB library)'...
 --> OK, found.

Checking for dependency 'scanimage (scanimage - Shell scanning program)'...
 --> OK, found.

Checking for dependency 'libnetsnmp-devel (libnetsnmp-devel - SNMP
networking library development files)'...
--> OK, found.

Checking for dependency 'python2x (Python 2.2 or greater - Python
programming language)'...
--> OK, found.

Checking for dependency 'lsb (LSB - Linux Standard Base support)'...
--> OK, found.

Checking for dependency 'xsane (xsane - Graphical scanner frontend for SANE)'...
 --> OK, found.

Checking for dependency 'cups (cups - Common Unix Printing System)'...
 --> OK, found.

Checking for dependency 'python23 (Python 2.3 or greater - Required
for fax functionality)'...
--> OK, found.


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


HP_LaserJet_3330
----------------
Device URI: hp:/net/HP_LaserJet_3330?ip=10.1.1.3
Installed in HPLIP? Yes
PPD: /etc/cups/ppd/HP_LaserJet_3330.ppd
PPD Description: HP LaserJet 3300 Series Postscript (recommended)

Printer status:
printer HP_LaserJet_3330 is idle.  enabled since Jan 01 00:00



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

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

Checking output of 'scanimage -L'...
 device `hpaio:/net/HP_LaserJet_3330?ip=10.1.1.3' is a hp
HP_LaserJet_3330 multi-function peripheral


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

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

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


%d errors were detected.
Please refer to the installation instructions at:
http://hplip.sourceforge.net/install/index.html

When I run hp-setup with debug (or hp-makeurl) it claims the device
doesn't support faxes.
For example, here is the output from hp-setup:

--- END hp-check OUTPUT

Regards James

On 17/11/06, Aaron J Albright <[EMAIL PROTECTED]> wrote:
> Fax over network should work correctly.  I've verified that it's still
> functioning with a LJ3380.
>
> Can you run hp-check and post the output?  If you used hp-setup to
> configure the printer the fax queue should already be there.  What
> happens if you run hp-sendfax?
>
> Aaron
>
> James Kelly wrote:
> > Hi,
> >
> > I have a LaserJet 3330 MFP attached via a Jetdirect 310X to a SuSE
> > 10.1 system with HPLIP 1.6.10.  It works fine for printing and works
> > most of the time for scanning (some SANE applications seem to have a
> > few problems, but xsane works ok).
> >
> > The supported devices list suggests faxing on the LJ 3330 MFP is
> > supported through HPLIP so I thought I would give it a try.
> >
> > However, when I try to create a fax URI with hp-makeuri -f <Jetdirect
> > ip address> it says the device does not support fax.
> >
> > So is faxing via a Jetdirect to this device supported ?
> >
> > Regards James
> >
> > -------------------------------------------------------------------------
> > Take Surveys. Earn Cash. Influence the Future of IT
> > Join SourceForge.net's Techsay panel and you'll get the chance to share your
> > opinions on IT & business topics through brief surveys - and earn cash
> > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > _______________________________________________
> > HPLIP-Help mailing list
> > HPLIP-Help@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/hplip-help
> >
>
>
>

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
HPLIP-Help mailing list
HPLIP-Help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hplip-help

Reply via email to