How to print?

Asked by Alex

The title says it all. As for the technical stuff, I have...

Linux Distro: [Canonical] Ubuntu Hardy [LTS] 8.04.1
Printer: [HP] Photosmart C7280 [All-in-One]
Results of "hp-check -t":

HP Linux Imaging and Printing System (ver. 2.8.2)
Dependency/Version Check Utility ver. 13.0

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.

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 lillian 2.6.24-19-generic #1 SMP Wed Aug 20 22:56:21 UTC 2008 i686 GNU/Linux

Distribution:
ubuntu 8.04

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

Checking Python version...
OK, version 2.5.2 installed

Checking PyQt version...

Checking SIP version...

Checking for CUPS...
Status: scheduler is running

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

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

Checking for dependency: cups-ddk - CUPS driver development kit...
OK, found.

Checking for dependency: cups-devel- Common Unix Printing System development files...
To install this dependency, execute this command:
sudo apt-get install --yes --force-yes libcupsys2-dev cupsys-bsd

Checking for dependency: gcc - GNU Project C and C++ Compiler...
To install this dependency, execute this command:
sudo apt-get install --yes --force-yes build-essential

Checking for dependency: GhostScript - PostScript and PDF language interpreter and previewer...
OK, found.

Checking for dependency: libcrypto - OpenSSL cryptographic library...
To install this dependency, execute this command:
sudo apt-get install --yes --force-yes openssl

Checking for dependency: libjpeg - JPEG library...
To install this dependency, execute this command:
sudo apt-get install --yes --force-yes libjpeg62-dev

Checking for dependency: libnetsnmp-devel - SNMP networking library development files...
To install this dependency, execute this command:
sudo apt-get install --yes --force-yes libsnmp-dev

Checking for dependency: libpthread - POSIX threads library...
To install this dependency, execute this command:
sudo apt-get install --yes --force-yes build-essential

Checking for dependency: libtool - Library building support services...
To install this dependency, execute this command:
sudo apt-get install --yes --force-yes libtool

Checking for dependency: libusb - USB library...
To install this dependency, execute this command:
sudo apt-get install --yes --force-yes libusb-dev

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)...
OK, found.

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

Checking for dependency: PyQt - Qt interface for Python...
To install this dependency, execute this command:
sudo apt-get install --yes --force-yes python-qt3

Checking for dependency: python-devel - Python development files...
To install this dependency, execute this command:
sudo apt-get install --yes --force-yes python2.5-dev

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...
To install this dependency, execute this command:
sudo apt-get install --yes --force-yes python-reportlab

Checking for dependency: SANE - Scanning library...
OK, found.

Checking for dependency: SANE - Scanning library development files...
To install this dependency, execute this command:
sudo apt-get install --yes --force-yes libsane-dev

Checking for dependency: scanimage - Shell scanning program...
To install this dependency, execute this command:
sudo apt-get install --yes --force-yes sane-utils

Checking for dependency: xsane - Graphical scanner frontend for SANE...
OK, found.

----------------------
| HPLIP INSTALLATION |
----------------------

Currently installed HPLIP version...
HPLIP 2.8.2 currently installed in '/usr/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.8.2

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/hpijs/HP
ppdbase=/usr/share/ppd/hpijs
doc=/usr/share/doc/hplip-doc/HTML
icon=no
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv

# 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
cups11-build=no
doc-build=yes
shadow-build=no
foomatic-drv-install=yes
foomatic-ppd-install=no
foomatic-rip-hplip-install=no
internal-tag=2.8.2.10

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

No devices found.

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

No devices found.

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

PDF
---
Type: Unknown
Installed in HPLIP?: No, not using the hp: or hpfax: CUPS backend.
Device URI: cups-pdf:/
PPD: /etc/cups/ppd/PDF.ppd
PPD Description: Generic PDF file generator
Printer status: printer PDF is idle. enabled since Wed 02 Jul 2008 06:22:03 AM EDT

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

'hpaio' in '/etc/sane.d/dll.conf'...

Checking output of 'scanimage -L'...

---------------------
| 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...

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

Summary of needed commands to run to satisfy missing dependencies:
sudo apt-get install --yes --force-yes libcupsys2-dev cupsys-bsd
sudo apt-get install --yes --force-yes build-essential
sudo apt-get install --yes --force-yes openssl
sudo apt-get install --yes --force-yes libjpeg62-dev
sudo apt-get install --yes --force-yes libsnmp-dev
sudo apt-get install --yes --force-yes build-essential
sudo apt-get install --yes --force-yes libtool
sudo apt-get install --yes --force-yes libusb-dev
sudo apt-get install --yes --force-yes python-qt3
sudo apt-get install --yes --force-yes python2.5-dev
sudo apt-get install --yes --force-yes python-reportlab
sudo apt-get install --yes --force-yes libsane-dev
sudo apt-get install --yes --force-yes sane-utils

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

Question information

Language:
English Edit question
Status:
Solved
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Solved by:
Alex
Solved:
Last query:
Last reply:
Revision history for this message
Alex (hello71) said :
#1

Also, if this affects anything, the printer is connected via wireless.

Revision history for this message
dwelch91 (dwelch91) said :
#2

Have you run the installer? You have a lot of missing dependencies.

On Thu, Oct 30, 2008 at 5:47 PM, Alex
<email address hidden>wrote:

> Question #49566 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/49566
>
> Alex gave more information on the question:
> Also, if this affects anything, the printer is connected via wireless.
>
> --
> You received this question notification because you are a member of HP
> Linux Imaging and Printing, which is an answer contact for HPLIP.
>

Revision history for this message
Alex (hello71) said :
#3

No, actually. I think Ubuntu has it preinstalled. Actually, that's what I was thinking. Resolve all the missing dependencies. Should I manually fill them in, run the installer, or reinstall the package through Synaptic (Ubuntu's package manager, in case you don't know)?

Revision history for this message
dwelch91 (dwelch91) said :
#4

It is (probably) pre-installed, but...

1. You are missing dependencies which will not allow HPLIP to work (esp. for
network/wireless case: SNMP, OpenSSL, etc),
2. You may need a newer version to support the printer you are using (sorry,
didn't notice what you had).

The easiest way to handle this is to run the installer for the latest HPLIP
(2.8.10 will be out tomorrow if all goes well).

On Thu, Oct 30, 2008 at 6:14 PM, Alex
<email address hidden>wrote:

> Question #49566 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/49566
>
> Status: Answered => Open
>
> Alex is still having a problem:
> No, actually. I think Ubuntu has it preinstalled. Actually, that's what
> I was thinking. Resolve all the missing dependencies. Should I manually
> fill them in, run the installer, or reinstall the package through
> Synaptic (Ubuntu's package manager, in case you don't know)?
>
> --
> You received this question notification because you are a member of HP
> Linux Imaging and Printing, which is an answer contact for HPLIP.
>

Revision history for this message
Alex (hello71) said :
#5

Will the installer add a package, or actually install the files? Because I want to have HPLIP installed via package, not installer. (Now I'm thinking about whether it will update to 2.8.10 automatically)

Revision history for this message
Alex (hello71) said :
#6

Also, why does HPLIP need OpenSSL?

Revision history for this message
dwelch91 (dwelch91) said :
#7

There are only packages available for certain HPLIP versions, namely the
versions that were avail. when each distro first created the packages for
their release. In between, there is only a tarball install (optionally
using the HPLIP installer). HPLIP 2.8.10 will not, most likely, be
available in package format on your distro. So, you can either stick with
what you have (whatever version came in your distro), or upgrade to 2.8.10
using the non-package version. If you have a printer that requires a newer
version of HPLIP than what was packaged in your distro, you will need to
use the tarball releas to gain that support.

OpenSSL, NetSNMP, etc support is required for network I/O to HP printers.

On Oct 30, 2008 6:24pm, Alex <email address hidden> wrote:
> Question #49566 on HPLIP changed:
>
> https://answers.launchpad.net/hplip/+question/49566
>
>
>
> Alex gave more information on the question:
>
> Also, why does HPLIP need OpenSSL?
>
>
>
> --
>
> You received this question notification because you are a member of HP
>
> Linux Imaging and Printing, which is an answer contact for HPLIP.
>

Revision history for this message
Alex (hello71) said :
#8

No, it's not [available on my distro]. Also, are you sure 2.8.2 doesn't support my printer?

Revision history for this message
Mark Crawford (mark-crawford-deactivatedaccount) said :
#9

Alex,

Your Photosmart C7280 is indeed supported with HPLIP 2.8.2

See:

http://hplipopensource.com/hplip-web/models/photosmart/photosmart_c7200_series.html

for more info.

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#10

Alex,

openssl is availble for Ubuntu Hardy.

As well Ubuntu Hardy comes with HPLIP 2.8.2.

Run:

sudo apt-get install python-qt3

and then

sudo hp-setup

Hope this helps.

Aaron

Revision history for this message
Alex (hello71) said :
#11

So wait, are you saying I don't have to solve all those missing dependencies, just python-qt3?

Revision history for this message
Alex (hello71) said :
#12