Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Raw Postscript output using CUPS and HP 7310 - SOLVED
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
crog62
n00b
n00b


Joined: 22 Nov 2003
Posts: 6

PostPosted: Thu Dec 25, 2008 8:10 pm    Post subject: Raw Postscript output using CUPS and HP 7310 - SOLVED Reply with quote

Installed hp-2.8.12 on my Gentoo 2.6.24-gentoo-r7 box for a network attached Officejet 7310 . Took package directly from HPLIP website as the current package available via Gentoo doesn't appear to support network device discovery.

Printing works via printing test page in CUPS webpage but the output appears to be raw postscript:

"%!PS-Adobe-3.0 %%Bounding box... "

and is printed as text on the printer.

Occurs when printing CUPS text page and from Open Office 3.0.

1. Your Linux Distribution and version. - Gentoo 2.6.24-gentoo-r7
2. Your printer make/model. - HP Officejet 7310 - network attached

hp-check -t output:

hp-check[20185]: info: :
Initializing. Please wait...
scheduler is running


1.3.9


Linux gencrog 2.6.24-gentoo-r7 #1 SMP Thu Jul 3 18:36:20 UTC 2008 x86_64 AMD Athlon(tm) 64 Processor 3200+ AuthenticAMD GNU/Linux


warning: Invalid ppd_dir value: None
hp-check[20185]: info: :
hp-check[20185]: info: :---------------
hp-check[20185]: info: :| SYSTEM INFO |
hp-check[20185]: info: :---------------
hp-check[20185]: info: :
hp-check[20185]: info: :Basic system information:
hp-check[20185]: info: :Linux gencrog 2.6.24-gentoo-r7 #1 SMP Thu Jul 3 18:36:20 UTC 2008 x86_64 AMD Athlon(tm) 64 Processor 3200+ AuthenticAMD GNU/Linux

hp-check[20185]: info: :
hp-check[20185]: info: :Distribution:
hp-check[20185]: info: :unknown 0.0
hp-check[20185]: info: :
HPOJ running?
hp-check[20185]: info: :No, HPOJ is not running (OK).
hp-check[20185]: info: :
hp-check[20185]: info: :Checking Python version...
hp-check[20185]: info: :OK, version 2.5.2 installed
hp-check[20185]: info: :
hp-check[20185]: info: :Checking PyQt 3.x version...
hp-check[20185]: info: :OK, version 3.17 installed.
hp-check[20185]: info: :
hp-check[20185]: info: :Checking PyQt 4.x version...
hp-check[20185]: info: :
hp-check[20185]: info: :Checking for CUPS...
hp-check[20185]: info: :Status: scheduler is running
hp-check[20185]: info: :Version: 1.3.9
hp-check[20185]: info: :error_log is set to level: debug
hp-check[20185]: info: :
hp-check[20185]: info: :Checking for dbus/python-dbus...
hp-check[20185]: info: :dbus daemon is running.
hp-check[20185]: info: :python-dbus version: 0.82.4
hp-check[20185]: info: :
hp-check[20185]: info: :
hp-check[20185]: info: :------------------------------------
hp-check[20185]: info: :| COMPILE AND RUNTIME DEPENDENCIES |
hp-check[20185]: info: :------------------------------------
hp-check[20185]: info: :
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).
hp-check[20185]: info: :
hp-check[20185]: info: :Checking for dependency: cups - Common Unix Printing System...
hp-check[20185]: info: :OK, found.
hp-check[20185]: info: :
hp-check[20185]: info: :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.
hp-check[20185]: info: :
hp-check[20185]: info: :Checking for dependency: cups-devel- Common Unix Printing System development files...
hp-check[20185]: info: :OK, found.
hp-check[20185]: info: :
hp-check[20185]: info: :Checking for dependency: dbus - Message bus system...
hp-check[20185]: info: :OK, found.
hp-check[20185]: info: :
hp-check[20185]: info: :Checking for dependency: gcc - GNU Project C and C++ Compiler...
hp-check[20185]: info: :OK, found.
hp-check[20185]: info: :
hp-check[20185]: info: :Checking for dependency: GhostScript - PostScript and PDF language interpreter and previewer...
hp-check[20185]: info: :OK, found.
hp-check[20185]: info: :
hp-check[20185]: info: :Checking for dependency: libcrypto - OpenSSL cryptographic library...
hp-check[20185]: info: :OK, found.
hp-check[20185]: info: :
hp-check[20185]: info: :Checking for dependency: libjpeg - JPEG library...
hp-check[20185]: info: :OK, found.
hp-check[20185]: info: :
hp-check[20185]: info: :Checking for dependency: libnetsnmp-devel - SNMP networking library development files...
hp-check[20185]: info: :OK, found.
hp-check[20185]: info: :
hp-check[20185]: info: :Checking for dependency: libpthread - POSIX threads library...
hp-check[20185]: info: :OK, found.
hp-check[20185]: info: :
hp-check[20185]: info: :Checking for dependency: libtool - Library building support services...
hp-check[20185]: info: :OK, found.
hp-check[20185]: info: :
hp-check[20185]: info: :Checking for dependency: libusb - USB library...
hp-check[20185]: info: :OK, found.
hp-check[20185]: info: :
hp-check[20185]: info: :Checking for dependency: make - GNU make utility to maintain groups of programs...
hp-check[20185]: info: :OK, found.
hp-check[20185]: info: :
hp-check[20185]: info: :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.
hp-check[20185]: info: :
hp-check[20185]: info: :Checking for dependency: ppdev - Parallel port support kernel module....
error: NOT FOUND! This is a REQUIRED/RUNTIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.
hp-check[20185]: info: :
hp-check[20185]: info: :Checking for dependency: PyQt 3- Qt interface for Python (for Qt version 3.x)...
hp-check[20185]: info: :OK, found.
hp-check[20185]: info: :
hp-check[20185]: info: :Checking for dependency: PyQt 4- Qt interface for Python (for Qt version 4.x)...
hp-check[20185]: info: :OK, found.
hp-check[20185]: info: :
hp-check[20185]: info: :Checking for dependency: python-ctypes - A foreign function library for Python...
hp-check[20185]: info: :OK, found.
hp-check[20185]: info: :
hp-check[20185]: info: :Checking for dependency: python-dbus - Python bindings for dbus...
hp-check[20185]: info: :OK, found.
hp-check[20185]: info: :
hp-check[20185]: info: :Checking for dependency: python-devel - Python development files...
hp-check[20185]: info: :OK, found.
hp-check[20185]: info: :
hp-check[20185]: info: :Checking for dependency: Python XML libraries...
hp-check[20185]: info: :OK, found.
hp-check[20185]: info: :
hp-check[20185]: info: :Checking for dependency: Python 2.3 or greater - Required for fax functionality...
hp-check[20185]: info: :OK, found.
hp-check[20185]: info: :
hp-check[20185]: info: :Checking for dependency: Python 2.2 or greater - Python programming language...
hp-check[20185]: info: :OK, found.
hp-check[20185]: info: :
hp-check[20185]: info: :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.
hp-check[20185]: info: :
hp-check[20185]: info: :Checking for dependency: SANE - Scanning library...
hp-check[20185]: info: :OK, found.
hp-check[20185]: info: :
hp-check[20185]: info: :Checking for dependency: SANE - Scanning library development files...
hp-check[20185]: info: :OK, found.
hp-check[20185]: info: :
hp-check[20185]: info: :Checking for dependency: scanimage - Shell scanning program...
hp-check[20185]: info: :OK, found.
hp-check[20185]: info: :
hp-check[20185]: info: :Checking for dependency: xsane - Graphical scanner frontend for SANE...
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.
hp-check[20185]: info: :
hp-check[20185]: info: :
hp-check[20185]: info: :----------------------
hp-check[20185]: info: :| HPLIP INSTALLATION |
hp-check[20185]: info: :----------------------
hp-check[20185]: info: :
hp-check[20185]: info: :
hp-check[20185]: info: :Currently installed HPLIP version...
hp-check[20185]: info: :HPLIP 2.8.12 currently installed in '/usr/share/hplip'.
hp-check[20185]: info: :
hp-check[20185]: info: :Current contents of '/etc/hp/hplip.conf' file:
hp-check[20185]: info: :[dirs]
run = /var/run
cupsbackend = /usr/lib/cups/backend
ppd = /usr/share/ppd/HP
doc = /usr/share/doc/hplip-2.8.12
drv = /usr/share/cups/drv/hp
ppdbase = /usr/share/ppd
home = /usr/share/hplip
icon = /usr/share/applications
cupsfilter = /usr/lib/cups/filter

[last_used]
device_uri = hp:/net/Officejet_7300_series?ip=192.168.1.18

[hplip]
version = 2.8.12
plugin = 1

[installation]
version = 2.8.12.26
date_time = 12/25/08 13:05:56

[configure]
foomatic-rip-hplip-install = yes
qt4 = no
doc-build = yes
qt3 = yes
cups11-build = no
gui-build = yes
internal-tag = 2.8.12.26
foomatic-ppd-install = yes
network-build = yes
ui-toolkit = qt3
pp-build = no
fax-build = yes
scanner-build = yes
restricted-build = no
dbus-build = yes
shadow-build = no
foomatic-drv-install = no


hp-check[20185]: info: :
hp-check[20185]: info: :Current contents of '~/.hplip/hplip.conf' file:
hp-check[20185]: info: :
hp-check[20185]: info: :
hp-check[20185]: info: :--------------------------
hp-check[20185]: info: :| DISCOVERED USB DEVICES |
hp-check[20185]: info: :--------------------------
hp-check[20185]: info: :
hp-check[20185]: info: :No devices found.
hp-check[20185]: info: :
hp-check[20185]: info: :---------------------------------
hp-check[20185]: info: :| INSTALLED CUPS PRINTER QUEUES |
hp-check[20185]: info: :---------------------------------
hp-check[20185]: info: :
hp-check[20185]: info: :
hp-check[20185]: info: :HP7310
hp-check[20185]: info: :------
hp-check[20185]: info: :Type: Unknown
hp-check[20185]: info: :Installed in HPLIP?: No, not using the hp: or hpfax: CUPS backend.
hp-check[20185]: info: :Device URI: socket://192.168.1.18
hp-check[20185]: info: :Officejet_7300_fax
hp-check[20185]: info: :------------------
hp-check[20185]: info: :Type: Unknown
hp-check[20185]: info: :Installed in HPLIP?: No, not using the hp: or hpfax: CUPS backend.
hp-check[20185]: info: :Device URI: /dev/null
hp-check[20185]: info: :
hp-check[20185]: info: :----------------------
hp-check[20185]: info: :| SANE CONFIGURATION |
hp-check[20185]: info: :----------------------
hp-check[20185]: info: :
hp-check[20185]: info: :'hpaio' in '/etc/sane.d/dll.conf'...
hp-check[20185]: info: :OK, found. SANE backend 'hpaio' is properly set up.
hp-check[20185]: info: :
hp-check[20185]: info: :Checking output of 'scanimage -L'...
hp-check[20185]: info: :

No scanners were identified. If you were expecting something different,

check that the scanner is plugged in, turned on and detected by the

sane-find-scanner tool (if appropriate). Please read the documentation

which came with this software (README, FAQ, manpages).


hp-check[20185]: info: :
hp-check[20185]: info: :---------------------
hp-check[20185]: info: :| PYTHON EXTENSIONS |
hp-check[20185]: info: :---------------------
hp-check[20185]: info: :
hp-check[20185]: info: :Checking 'cupsext' CUPS extension...
hp-check[20185]: info: :OK, found.
hp-check[20185]: info: :
hp-check[20185]: info: :Checking 'pcardext' Photocard extension...
hp-check[20185]: info: :OK, found.
hp-check[20185]: info: :
hp-check[20185]: info: :Checking 'hpmudext' I/O extension...
hp-check[20185]: info: :OK, found.
hp-check[20185]: info: :
hp-check[20185]: info: :Checking 'scanext' SANE scanning extension...
hp-check[20185]: info: :OK, found.
hp-check[20185]: info: :
hp-check[20185]: info: :
hp-check[20185]: info: :-----------------
hp-check[20185]: info: :| USB I/O SETUP |
hp-check[20185]: info: :-----------------
hp-check[20185]: info: :
hp-check[20185]: info: :
hp-check[20185]: info: :Checking for permissions of USB attached printers...
hp-check[20185]: info: :
hp-check[20185]: info: :-----------
hp-check[20185]: info: :| SUMMARY |
hp-check[20185]: info: :-----------
hp-check[20185]: info: :
error: 5 errors and/or warnings.
hp-check[20185]: info: :
hp-check[20185]: info: :Please refer to the installation instructions at:
hp-check[20185]: info: :http://hplip.sourceforge.net/install/index.html

hp-check[20185]: info: :
hp-check[20185]: info: :Done.


Last edited by crog62 on Sun Jan 04, 2009 9:22 pm; edited 1 time in total
Back to top
View user's profile Send private message
crog62
n00b
n00b


Joined: 22 Nov 2003
Posts: 6

PostPosted: Sun Jan 04, 2009 9:21 pm    Post subject: Reply with quote

Got it to work

* The hplip in the portage (2.8.6b) does not discover network attached printers but the one on the HP site does. I downloaded and installed this version (2.8.12) which will discover network printers.
* Installed CUPS and the foomatic drivers.
* I could not get the 2.8.12 version of hp-setup to work but was able to configure using CUPS if I selected the HPLIP interface, used the hp:\\ printer interface (the makeuri utility will help with this) and selected the correct PPD.
All works.
Craig!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum