LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 02-17-2010, 06:15 AM   #1
danielldaniell
Member
 
Registered: Apr 2009
Location: Hungary
Distribution: Slackware, OpenBSD
Posts: 42

Rep: Reputation: 15
HP DeskJet F2100 printer doesn't print


When I plug in my printer this shows up in my dmesg:

usb 6-2: new full speed USB device using ohci_hcd and address 9
usb 6-2: New USB device found, idVendor=03f0, idProduct=7d04
usb 6-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 6-2: Product: Deskjet F2100 series
usb 6-2: Manufacturer: HP
usb 6-2: SerialNumber: CN79J4Q56204TK
usb 6-2: configuration #1 chosen from 1 choice
usblp0: USB Bidirectional printer dev 9 if 1 alt 0 proto 2 vid 0x03F0 pid 0x7D04


Instantly after I try to print a test page with CUPS or with hp-tool, I get this in dmesg:
usblp0: removed


With the hp-tool, I can see every status of the printer, eg.: cartridge, printer status, spool status, and the hp-check runs The only thing not working is printing.
The hp-setup tool installs the printer, and the process seems to be correct; only one warning is issued during the installation:
/error: No PPD found for model deskjet_f2100_series. Trying old algorithm...
So it selects the /usr/share/cups/model/HP/hp-laserjet_2100-ps.ppd.gz file by default. I can't do much about it, because there is no ppd file for this type of printer as far as I know, because it supposedly is supported by the hplip package.

Also, the CUPS frontend (http://localhost:631) seems to be in sync with the hp-setup application, because the installed printer shows up in each with the same properties and options.

Also I can tell the printer functions properly (it can print), because I can copy (scan+print) with the button on it (it is an "all-in-one" scanner/printer).

I am in the 'lp' group, but printing doesn't work for root either.

Any suggestion/help would be appreciated!

Little information from CUPS:

Description: HP DJ F2100
Location: daniell
Printer Driver: HP LaserJet 2100 Series Postscript (recommended)
Printer State: idle, accepting jobs, published.
Device URI: hp:/usb/Deskjet_F2100_series?serial=CN79J4Q56204TK


And here is the rather long output of hp-check:

HP Linux Imaging and Printing System (ver. 3.9.4b)
Dependency/Version Check Utility ver. 14.3

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

Note: hp-check can be run in three modes:
1. Compile-time check mode (-c or --compile): Use this mode before compiling the HPLIP supplied tarball (.tar.gz or .run) to determine if the proper
dependencies are installed to successfully compile HPLIP.
2. Run-time check mode (-r or --run): Use this mode to determine if a distro supplied package (.deb, .rpm, etc) or an already built HPLIP supplied tarball has
the proper dependencies installed to successfully run.
3. Both compile- and run-time check mode (-b or --both) (Default): This mode will check both of the above cases (both compile- and run-time dependencies).

Saving output in log file: hp-check.log

Initializing. Please wait...
---------------
| SYSTEM INFO |
---------------

Basic system information:
Linux serenity 2.6.32.7-smp #2 SMP Fri Jan 29 22:27:55 CST 2010 i686 AMD Phenom(tm) II X2 550 Processor AuthenticAMD GNU/Linux


Distribution:
unknown 0.0

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

Checking Python version...
OK, version 2.6.4 installed

Checking PyQt 4.x version...
OK, version 4.6.2 installed.

Checking for CUPS...
Status: scheduler is running
Version: 1.3.11
error_log is set to level: info

Checking for dbus/python-dbus...
dbus daemon is running.
python-dbus version: 0.83.0


------------------------------------
| COMPILE AND RUNTIME DEPENDENCIES |
------------------------------------

note: To check for compile-time only dependencies, re-run hp-check with the -c parameter (ie, hp-check -c).
note: To check for run-time only dependencies, re-run hp-check with the -r parameter (ie, hp-check -r).

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

Checking for dependency: CUPS DDK - CUPS driver development kit...
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.

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

Checking for dependency: CUPS image - CUPS image development files...
OK, found.

Checking for dependency: DBus - Message bus system...
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)...
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.

Checking for dependency: PolicyKit - Administrative policy framework...
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.

Checking for dependency: ppdev - Parallel port support kernel module....
OK, found.

Checking for dependency: PyQt 4 DBus - DBus Support for PyQt4...
OK, found.

Checking for dependency: Python ctypes - A foreign function library for Python...
OK, found.

Checking for dependency: Python DBus - Python bindings for DBus...
OK, found.

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

Checking for dependency: Python XML libraries...
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...
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.

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 3.9.4b currently installed in '/usr/share/hplip'.

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

[hplip]
version=3.9.4b

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/cups/model/HP
ppdbase=/usr/share/cups/model
doc=/usr/doc/hplip-3.9.4b
icon=/usr/share/applications
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv/hp

# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
pp-build=yes
gui-build=yes
scanner-build=yes
fax-build=yes
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=yes
foomatic-drv-install=yes
foomatic-ppd-install=no
foomatic-rip-hplip-install=yes
cups-ppd-install=no
cups-drv-install=no
internal-tag=3.9.4b.10
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=no


Current contents of '/var/lib/hp/hplip.state' file:
# hplip.state - HPLIP runtime persistent variables.

[plugin]
installed=0
eula=0



Current contents of '~/.hplip/hplip.conf' file:
[last_used]
printer_name = Deskjet_F2100
working_dir = .
device_uri = "hp:/usb/Deskjet_F2100_series?serial=CN79J4Q56204TK"

[commands]
scan = "/usr/bin/xscanimage "

[installation]
version = 3.9.4b.10
date_time = 02/17/10 13:07:37

[settings]
systray_messages = 0
systray_visible = 0

[fax]
email_address =
voice_phone =

[refresh]
rate = 30
enable = true
type = 2

[polling]
enable = false
device_list =
interval = 5



-------------------------------
| DISCOVERED PARALLEL DEVICES |
-------------------------------

No devices found.

--------------------------
| DISCOVERED USB DEVICES |
--------------------------

Device URI Model
-------------------------------------------------- -------------------------------
hp:/usb/Deskjet_F2100_series?serial=CN79J4Q56204TK HP Deskjet F2100 series

---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------

Deskjet_F2100
-------------
Type: Printer
Device URI: hp:/usb/Deskjet_F2100_series?serial=CN79J4Q56204TK
PPD: /etc/cups/ppd/Deskjet_F2100.ppd
PPD Description: HP LaserJet 2100 Series Postscript (recommended)
Printer status: printer Deskjet_F2100 is idle. enabled since 2010. febr. 17., szerda, 12.56.38 CET

Communication status: Good


----------------------
| 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/Deskjet_F2100_series?serial=CN79J4Q56204TK' is a Hewlett-Packard Deskjet_F2100_series 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 for permissions of USB attached printers...

HP Device 0x7d04 at 006:009:
Device URI: hp:/usb/Deskjet_F2100_series?serial=CN79J4Q56204TK
Device node: /dev/bus/usb/006/009
Mode: 0660
getfacl: Removing leading '/' from absolute path names

# file: dev/bus/usb/006/009

# owner: root

# group: lp

user::rw-

group::rw-

other::---





---------------
| USER GROUPS |
---------------

users lp floppy audio video cdrom plugdev power netdev scanner



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

error: 4 errors and/or warnings.

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


Done.
 
Old 02-17-2010, 06:27 AM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
Please do not post so much detail---I don't know very many people with the patience to read all of that.

My system has drivers for that printer (I'm using CUPS 1.4.2 with HPLIP installed) It offers 2 hpijs drivers, and one hpcups. Curiously, a search of /usr/share shows up something in foomatic, but that does not appear in the options when installing the printer.
 
Old 02-17-2010, 06:40 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,678

Rep: Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547
/usr/share/ppd/HP/hp-laserjet_2100-ps.ppd.gz

.. is actually from package ' hplip-hpijs-ppds-3.9.xx '
or similar.

Have you looked in /etc/cups/ppd/
for the file hp-laserjet_2100-ps.ppd ?
.....

Last edited by knudfl; 02-17-2010 at 06:41 AM.
 
Old 02-17-2010, 06:56 AM   #4
danielldaniell
Member
 
Registered: Apr 2009
Location: Hungary
Distribution: Slackware, OpenBSD
Posts: 42

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by knudfl View Post
/usr/share/ppd/HP/hp-laserjet_2100-ps.ppd.gz

.. is actually from package ' hplip-hpijs-ppds-3.9.xx '
or similar.

Have you looked in /etc/cups/ppd/
for the file hp-laserjet_2100-ps.ppd ?
.....
I have that laserjet 2100 ppd file too and I'm now using it, but I can not print anything. However, I'm not really sure that I need a LaserJet 2100 driver for a DeskJet F2100 scanner/printer model...
 
Old 02-17-2010, 06:59 AM   #5
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
I would not expect you to be able to use the LaserJet 2100 driver for a DeskJet F2100!!!

What about the drivers I found? Are they on your system?
 
Old 02-17-2010, 07:01 AM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,678

Rep: Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547
Sorry, I should have seen that ..

HP DeskJet F2100

http://www.linuxprinting.org/show_pr...-DeskJet_F2100

Color inkjet printer, max. 1200x600 dpi, works Mostly !

.....

Last edited by knudfl; 02-17-2010 at 07:05 AM.
 
Old 02-17-2010, 07:03 AM   #7
danielldaniell
Member
 
Registered: Apr 2009
Location: Hungary
Distribution: Slackware, OpenBSD
Posts: 42

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by pixellany View Post
Please do not post so much detail---I don't know very many people with the patience to read all of that.
Who knows, maybe something rings a bell for someone. Besides, if you know what you are looking for (what might be the case, if you have experience with these hp-* tools, otherwise you probably don't want to read those details at all), than you don't have to "read all of that".

Quote:
My system has drivers for that printer (I'm using CUPS 1.4.2 with HPLIP installed) It offers 2 hpijs drivers, and one hpcups. Curiously, a search of /usr/share shows up something in foomatic, but that does not appear in the options when installing the printer.
Would you be so kind, and elaborate these? What do you mean your system "has drivers" for this printer? Where? Are those ppd files? What are their names?
What exactly "shows up" during the search under /usr/share, and what were you searching after?
Yes, I noticed that I don't have the option for a F2100 driver when installing the printer, probably that is what is the problem.
Also, do you mind telling what Slackware version you're using? I'm running -current, and I have cups-1.3.
 
Old 02-17-2010, 07:03 AM   #8
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
Quote:
Originally Posted by knudfl View Post
How is that relevant when the OP has a DeskJet F2100??????????
 
Old 02-17-2010, 07:12 AM   #9
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
Quote:
Would you be so kind, and elaborate these? What do you mean your system "has drivers" for this printer? Where? Are those ppd files? What are their names?
I found 3 options when attempting to install your printer model. This means that CUPS found those 3 drivers.

Quote:
What exactly "shows up" during the search under /usr/share, and what were you searching after?
/usr/share is where drivers are stored. I just search using all or part of a printer model name---in this case, I just used "2100".

Quote:
Yes, I noticed that I don't have the option for a F2100 driver when installing the printer, probably that is what is the problem.
Yep!! Installing the latest CUPS, HPLIP, etc. might help.

Quote:
Also, do you mind telling what Slackware version you're using? I'm running -current, and I have cups-1.3.
I don't use Slackware. I use Arch and I have CUPS 1.4.2, HPLIP 3.9.12, foomatic 4.0.3, gutenprint 5.2.4 (I use gutenprint for my Epson inkjets, but it did not show an option for the DeskJet F2100.

And---did you try getting a PPD file from the HP website?
__________________
 
Old 02-17-2010, 10:33 AM   #10
danielldaniell
Member
 
Registered: Apr 2009
Location: Hungary
Distribution: Slackware, OpenBSD
Posts: 42

Original Poster
Rep: Reputation: 15
slackware's (-current) hplip is incomplete

Slackware's hplip 3.9.4b contains only 180 ppd files, whereas the official hplip-3.9.12.tar.gz contains 1398... I don't think that between the two versions there have been more than one thousand printer addons... Maybe we (slackware users) just don't get the full package by default.

Anyway, downloaded the hplip package, and just copied over the ppd.gz/ppd files to /usr/share/cups/model/HP and both CUPS and hp-setup recognized the printer, what is now functions properly.

Thx for the tips and suggestions!

Last edited by danielldaniell; 02-17-2010 at 10:44 AM.
 
Old 02-17-2010, 10:35 AM   #11
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
Glad to see you got it going!! Please mark the thread SOLVED
 
  


Reply

Tags
cups, hp, hplip, printer


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Deskjet 3740 HP won't print temak82 Ubuntu 4 03-21-2008 11:17 AM
PCLinuxos 2007 and HP Deskjet F2100 multifunction silverbirch Linux - Hardware 2 01-22-2008 01:35 PM
Hp DeskJet 3820 will not print. randell6564 Ubuntu 1 04-17-2007 10:48 PM
My HP Deskjet 710c won't print jamsh Suse/Novell 5 10-07-2006 10:11 AM
Can not print from browser to HP deskjet 870cse sirius57 Linux - Hardware 8 02-07-2006 06:47 PM


All times are GMT -5. The time now is 03:45 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration