some of the ppd are missing in 2.8.2 for linux for psc2175(2170 series)
some of the ppd are missing in 2.8.2 for linux for psc2175(2170 series) and might be more
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- HPLIP Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Aaron Albright
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
Please run hp-check -t and post the output.
Aaron
Revision history for this message
|
#2 |
Hi
Ok just so you know with cups its fine BUT even thou some of us might know its under the psc2110 ppd file . Most people when looking at the list will wonder why they can't find the psc2150 70 75 79 etc . even thou cups if you use the admin/Find New Printer and it highlights the psc2110. Just better I think if they are still listed in the hpjs.drv.in
--- hplip-2.
+++ hplip-2.
@@ -1337,6 +1337,16 @@
PCFileName "hp-psc_
Attribute "1284DeviceID" "" "MFG:HP;MDL:psc 2110 series;DES:psc 2110 series;"
}
+ {
+ ModelName "HP PSC 2170 Foomatic/hpijs"
+ PCFileName "hp-psc_
+ Attribute "1284DeviceID" "" "MFG:HP;MDL:hp psc 2170 series;DES:hp psc 2170 series;"
+ }
+ {
+ ModelName "HP PSC 2175 Foomatic/hpijs"
+ PCFileName "hp-psc_
+ Attribute "1284DeviceID" "" "MFG:HP;MDL:hp psc 2175 series;DES:hp psc 2175 series;"
+ }
} // end DJ9xxVIP
//////// DJ9xxVIP but without 1200-dpi mode and without paper type sensor
etc.
But the main think is 1) hp-setup,
error: PPD not file found. An appropriate PPD file could not be found. Please check your HPLIP install, use <i>Select Other...</i>, or download one from linuxprinting.org.
hit ok then Select other; pick the psc2110 ppd
error: Printer queue setup failed. Please restart CUPS and try again.
lpr: The printer or class was not found.
error: Print command failed with exit code 256!
Done.
2)
I have the cups-ddk installed .But as you will see wiht the log from hp-check -t . The drv isn't found. I greped and all I see is that installer/
the lhp-check.log
hp-check[4870]: info: :
Initializing. Please wait...
scheduler is running^M
1.3.6^M
Linux one4all 2.6.24.3 #1 SMP Sat Mar 8 06:28:51 MST 2008 x86_64 Intel(R) Pentium(R) D CPU 2.66GHz Genuin
warning: Invalid ppd_dir value: None
hp-check[4870]: info: :
hp-check[4870]: info: :---------------
hp-check[4870]: info: :| SYSTEM INFO |
hp-check[4870]: info: :---------------
hp-check[4870]: info: :
hp-check[4870]: info: :Basic system information:
hp-check[4870]: info: :Linux one4all 2.6.24.3 #1 SMP Sat Mar 8 06:28:51 MST 2008 x86_64 Intel(R) Pentium(R
hp-check[4870]: info: :
hp-check[4870]: info: :Distribution:
hp-check[4870]: info: :unknown 0.0
hp-check[4870]: info: :
HPOJ running?
hp-check[4870]: info: :No, HPOJ is not running (OK).
hp-check[4870]: info: :
hp-check[4870]: info: :Checking Python version...
hp-check[4870]: info: :OK, version 2.5.2 installed
hp-check[4870]: info: :
hp-check[4870]: info: :Checking PyQt version...
hp-check[4870]: info: :OK, version 3.17 installed.
hp-check[4870]: info: :
hp-check[4870]: info: :Checking SIP version...
hp-check[4870]: info: :OK, Version 4.6 installed
hp-check[4870]: info: :OK, Version 4.6 installed
hp-check[4870]: info: :
hp-check[4870]: info: :Checking for CUPS...
hp-check[4870]: info: :Status: scheduler is running
hp-check[4870]: info: :Version: 1.3.6
hp-check[4870]: info: :
hp-check[4870]: info: :
hp-check[4870]: info: :------
hp-check[4870]: info: :| COMPILE AND RUNTIME DEPENDENCIES |
hp-check[4870]: info: :------
hp-check[4870]: 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[4870]: info: :
hp-check[4870]: info: :Checking for dependency: cups - Common Unix Printing System...
hp-check[4870]: info: :OK, found.
hp-check[4870]: info: :
hp-check[4870]: info: :Checking for dependency: cups-ddk - CUPS driver development kit...
hp-check[4870]: info: :OK, found.
hp-check[4870]: info: :
hp-check[4870]: info: :Checking for dependency: cups-devel- Common Unix Printing System development files.
hp-check[4870]: info: :OK, found.
hp-check[4870]: info: :
hp-check[4870]: info: :Checking for dependency: gcc - GNU Project C and C++ Compiler...
hp-check[4870]: info: :OK, found.
hp-check[4870]: info: :
hp-check[4870]: info: :Checking for dependency: GhostScript - PostScript and PDF language interpreter and
hp-check[4870]: info: :OK, found.
hp-check[4870]: info: :
hp-check[4870]: info: :Checking for dependency: libcrypto - OpenSSL cryptographic library...
hp-hp-check[4870]: info: :
hp-check[4870]: info: :Checking for dependency: libjpeg - JPEG library...
hp-check[4870]: info: :OK, found.
hp-check[4870]: info: :
hp-check[4870]: info: :Checking for dependency: libnetsnmp-devel - SNMP networking library development fil
hp-check[4870]: info: :OK, found.
hp-check[4870]: info: :
hp-check[4870]: info: :Checking for dependency: libpthread - POSIX threads library...
hp-check[4870]: info: :OK, found.
hp-check[4870]: info: :
hp-check[4870]: info: :Checking for dependency: libtool - Library building support services...
hp-check[4870]: info: :OK, found.
hp-check[4870]: info: :
hp-check[4870]: info: :Checking for dependency: libusb - USB library...
hp-check[4870]: info: :OK, found.
hp-check[4870]: info: :
hp-check[4870]: info: :Checking for dependency: make - GNU make utility to maintain groups of programs...
hp-check[4870]: info: :OK, found.
hp-check[4870]: info: :
hp-check[4870]: info: :Checking for dependency: PIL - Python Imaging Library (required for commandline sca
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function
hp-check[4870]: info: :
hp-check[4870]: 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 ins
hp-check[4870]: info: :
hp-check[4870]: info: :Checking for dependency: PyQt - Qt interface for Python...
hp-check[4870]: info: :OK, found.
hp-check[4870]: info: :
hp-check[4870]: info: :Checking for dependency: python-devel - Python development files...
hp-check[4870]: info: :OK, found.check[4870]: info: :OK, found.
hp-check[4870]: info: :
hp-check[4870]: info: :Checking for dependency: Python 2.3 or greater - Required for fax functionality...
hp-check[4870]: info: :OK, found.
hp-check[4870]: info: :
hp-check[4870]: info: :Checking for dependency: Python 2.2 or greater - Python programming language...
hp-check[4870]: info: :OK, found.
hp-check[4870]: info: :
hp-check[4870]: 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
hp-check[4870]: info: :
hp-check[4870]: info: :Checking for dependency: SANE - Scanning library...
hp-check[4870]: info: :OK, found.
hp-check[4870]: info: :
hp-check[4870]: info: :Checking for dependency: SANE - Scanning library development files...
hp-check[4870]: info: :OK, found.
hp-check[4870]: info: :
hp-check[4870]: info: :Checking for dependency: scanimage - Shell scanning program...
hp-check[4870]: info: :OK, found.
hp-check[4870]: info: :
hp-check[4870]: info: :Checking for dependency: xsane - Graphical scanner frontend for SANE...
hp-check[4870]: info: :OK, found.
hp-check[4870]: info: :
hp-check[4870]: info: :
hp-check[4870]: info: :------
hp-check[4870]: info: :| HPLIP INSTALLATION |
hp-check[4870]: info: :------
hp-check[4870]: info: :
hp-check[4870]: info: :
hp-check[4870]: info: :Currently installed HPLIP version...
hp-check[4870]: info: :HPLIP 2.8.2 currently installed in '/usr/share/hplip'.
hp-check[4870]: info: :
hp-check[4870]: info: :Current contents of '/etc/hp/
hp-check[4870]: info: :# 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/
run=/var/run
ppd=/usr/
ppdbase=
doc=/usr/
icon=/usr/
cupsbackend=
cupsfilter=
drv=/usr/
# 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-
foomatic-
foomatic-
internal-
hp-check[4870]: info: :
hp-check[4870]: info: :------
hp-check[4870]: info: :| DISCOVERED PARALLEL DEVICES |
hp-check[4870]: info: :------
hp-check[4870]: info: :
hp-check[4870]: info: :No devices found.
error: 'ppdev' kernel module not loaded.
hp-check[4870]: info: :
hp-check[4870]: info: :------
hp-check[4870]: info: :| DISCOVERED USB DEVICES |
hp-check[4870]: info: :------
hp-check[4870]: info: :
hp-check[4870]: info: :
hp-check[4870]: info: :------
hp-check[4870]: info: :| INSTALLED CUPS PRINTER QUEUES |
hp-check[4870]: info: :------
hp-check[4870]: info: :
hp-check[4870]: info: :
hp-check[4870]: info: :HP_PSC_
hp-check[4870]: info: :------
hp-check[4870]: info: :Type: Printer
hp-check[4870]: info: :Installed in HPLIP?: Yes, using the hp: CUPS backend.
hp-check[4870]: info: :Device URI: hp:/usb/
hp-check[4870]: info: :PPD: /etc/cups/
hp-check[4870]: info: :PPD Description: HP PSC 2110 Foomatic/hpijs, hpijs 2.8.2
hp-check[4870]: info: :Printer status: printer HP_PSC_
hp-check[4870]: info: :Communication status: Good
hp-check[4870]: info: :
hp-check[4870]: info: :
hp-check[4870]: info: :------
hp-check[4870]: info: :| SANE CONFIGURATION |
hp-check[4870]: info: :------
hp-check[4870]: info: :
hp-check[4870]: info: :'hpaio' in '/etc/sane.
hp-check[4870]: info: :OK, found. SANE backend 'hpaio' is properly set up.
hp-check[4870]: info: :
hp-check[4870]: info: :Checking output of 'scanimage -L'...
hp-check[4870]: info: :device `hpaio:
hp-check[4870]: info: :
hp-check[4870]: info: :------
hp-check[4870]: info: :| PYTHON EXTENSIONS |
hp-check[4870]: info: :------
hp-check[4870]: info: :
hp-check[4870]: info: :Checking 'cupsext' CUPS extension...
hp-check[4870]: info: :OK, found.
hp-check[4870]: info: :
hp-check[4870]: info: :Checking 'pcardext' Photocard extension...
hp-check[4870]: info: :OK, found.
hp-check[4870]: info: :
hp-check[4870]: info: :Checking 'hpmudext' I/O extension...
hp-check[4870]: info: :OK, found.
hp-check[4870]: info: :
hp-check[4870]: info: :Checking 'scanext' SANE scanning extension...
hp-check[4870]: info: :OK, found.
hp-check[4870]: info: :
hp-check[4870]: info: :
hp-check[4870]: info: :-----------------
hp-check[4870]: info: :| USB I/O SETUP |
hp-check[4870]: info: :-----------------
hp-check[4870]: info: :
hp-check[4870]: info: :
hp-check[4870]: info: :Checking for permissions of USB attached printers...
hp-check[4870]: info: :
HP Device 0x2b11 at 002:003:
hp-check[4870]: info: : Device URI: hp:/usb/
hp-check[4870]: info: : Device node: /dev/bus/
hp-check[4870]: info: : Mode: 0660
hp-check[4870]: info: :getfacl: Removing leading '/' from absolute path names^M
# file: dev/bus/
# owner: root^M
# group: lp^M
user::rw-^M
group::rw-^M
other::---^M
^M
hp-check[4870]: info: :
hp-check[4870]: info: :-----------
hp-check[4870]: info: :| SUMMARY |
hp-check[4870]: info: :-----------
hp-check[4870]: info: :
error: 3 errors and/or warnings.
hp-check[4870]: info: :
hp-check[4870]: info: :Please refer to the installation instructions at:
hp-check[4870]: info: :http://
my build script:
I've tried a few combos :D this will be with out the .in file patch but is will have the 1 sed line
#!/bin/sh
#
CWD=`pwd`
PACKAGE=
VERSION=
ARCH=${
BUILD=${BUILD:-2}
PKG=/tmp/
SLACKPACKAGE=
SLACKPACKAGE2=
if [ "$ARCH" = "i386" ]; then
SLKCFLAGS="-O2 -march=i386 -mcpu=i686"
elif [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=pentium4"
elif [ "$ARCH" = "s390" ]; then
SLKCFLAGS="-O2"
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -m64 -fPIC"
fi
#rm -rf /etc/init.d
#mkdir /etc/init.d
rm -rf $PKG
mkdir -p $PKG
cd /tmp
rm -rf ${PACKAGE}
#tar xzvf $CWD/${
tar xjvf $CWD/${
cd ${PACKAGE}
#zcat $CWD/configure-
#zcat $CWD/configure-
#zcat $CWD/hplip-
chown -R root.root .
find . -perm 664 -exec chmod 644 {} \;
find . -perm 600 -exec chmod 644 {} \;
find . -perm 444 -exec chmod 644 {} \;
find . -perm 400 -exec chmod 644 {} \;
find . -perm 440 -exec chmod 644 {} \;
find . -perm 777 -exec chmod 755 {} \;
find . -perm 775 -exec chmod 755 {} \;
find . -perm 511 -exec chmod 755 {} \;
find . -perm 711 -exec chmod 755 {} \;
find . -perm 555 -exec chmod 755 {} \;
#hardcoded for /usr/lib and to install there too >:(
sed -i -e "s|/lib/|/lib64/|g" prnt/hpijs/
# Use -O0 to avoid problems.
CFLAGS="$SLKCFLAGS" \
CXXFLAGS=
./configure \
--prefix=/usr \
--libdir=
--sysconfdir=/etc \
--enable-
--localstated
--disable-
--enable-
--enable-
--with-
--enable-
--with-
--with-
--with-
--build=
--host=
make -j4 || exit 1
make install DESTDIR=$PKG || exit 1
( cd $PKG
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /de
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2>
)
sed -i -e 's|SYSFS|ATTR|g' \
-e 's|OWNER=
-e 's|MODE=
#mkdir $PKG/etc/rc.d/
#mkdir -p $PKG/etc/rc.d/
#cp $PKG/etc/
#cp $PKG/usr/
mv $PKG/etc/
#mv $PKG/etc/
#chmod 644 $PKG/etc/
#rm -r $PKG/etc/init.d
rm -rf $PKG/etc/sane.d
cd $PKG
mv $PKG/usr/share/doc $PKG/usr
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/
zcat $CWD/doinst.sh.gz > $PKG/install/
cd $PKG
makepkg -l y -c n $CWD/${
cat $CWD/slack-desc | grep "^${PACKAGE}" > $CWD/${
now these 2 I can remove it is doing fine auto enabling them
--with-
--enable-
--enable-
--disable-pp-build this i doubt would effect it and want to leave it as a distro package option
other than that cups is fine but the tools are broken :( :D
Revision history for this message
|
#3 |
What distro are you using?
Thanks!
A
Revision history for this message
|
#4 |
It my cross compile of Slackware to 64bit .
from 2) (slackware style but my 64bit ) .
still left some of slackware in the build script :D slack-desc SLACKPACKAGE
I've made my script for 32bit slack from way back . to get the scanner to work because slack allway just had the printer only so I went to the page before the hplip came out . First time I used the hplip I had to leave it fro a bit because ti wa allways trying to move the printer head to far tot he left and right .
Anyways hope this helps . I know that the tool is just expecting the old style of the ppd to be there .or that what it seems like. surprised when I pick the 2110series it still doesn't like that ppd file . althou I think the hp-toolbox and hp-setup are supposed to be able to use the cups-ddk if its installed ?
Revision history for this message
|
#5 |
Oh thats what i was trying to find out where its looking for the cups-ddk tool . I think after looking at the installer tool that its looking at hard coded usr/lib . but I did a grep and the only thing I see is that one in the installer/ dir . so is the hp-toolbox and the which uses hp-setup getting the info buy using the line in installer/
I tried changing return check_file('drv', "/usr/lib64/
added to my build script :
#hardcoded for /usr/lib and to install there too >:(
sed -i -e "s|/lib/|/lib64/|g" prnt/hpijs/
hp-check[13479]: info: :Checking for dependency: cups-ddk - CUPS driver development kit...
hp-check[13479]: info: :OK, found.
when I run the hp-check -t . But still the hp-setup)
So just can't figure out what else at compile is needing
hp-setup
HP Linux Imaging and Printing System (ver. 2.8.2)
Printer/Fax Setup Utility ver. 7.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.
error: PPD not file found. An appropriate PPD file could not be found. Please check your HPLIP install, use <i>Select Other...</i>, or download one from linuxprinting.org.
error: Printer queue setup failed. Please restart CUPS and try again.
lpr: The printer or class was not found.
error: Print command failed with exit code 256!
Done.
Revision history for this message
|
#6 |
fcntl(7, F_SETFD, FD_CLOEXEC) = 0
connect(7, {sa_family=AF_FILE, path="/
access(
access(
open("/
sendto(7, "POST / HTTP/1.
sendto(7, "\1\1@\
poll([{fd=7, events=POLLIN, revents=POLLIN}], 1, 1000) = 1
recvfrom(7, "HTTP/1.1 100 Continue\
close(7) = 0
stat("/
stat("/
stat("/
open("/
open("/
open("/
fstat(7, {st_mode=
open("/
fstat(8, {st_mode=
mmap(NULL, 4096, PROT_READ|
read(8, "\263\362\
fstat(8, {st_mode=
read(8, "", 4096) = 0
close(8) = 0
munmap(
close(7) = 0
write(2, "\33[31;01merror: PPD not file foun"..., 183^[[31;01merror: PPD not file found. An appropriate PPD file
write(2, "\n", 1
) = 1
stat("/
But even with cups-ddk installed it not files that either. just looking threw the strace -f hp-check -t 2>&1 | tee logit file I made . To see if it says or even shows it trying to use cups-ddk ;D
Revision history for this message
|
#7 |
With slackware you probably want to do a foomatic-ppd install, not the drv install. We haven't tested slackware however so there may be some steps that need to be completed that we are not aware.
You can look over this document
http://
for how to do a foomatic-ppd only install. This will probably resolve the missing pdd question. With a drv install it is only supported on systems that, well support it. We haven't checked on slackware to know if it's supported, but I know that other users have installed hplip on slackware doing a foomatic only install and that (from what I know) as worked.
Hope this helps!
Aaron
Revision history for this message
|
#8 |
hi
sorry still haven't been able to get back to it.
But the older versions for ppd had hp-psc_
but in the 2.8.2{4} it only has in the 2100 series hp-psc_
Even when I try the one that cups made HP_PSC_
I think witht hat one is becaus of the caps and the USB_MY3AHF81YM73 extra . but I tried renaming it and even tried using the one from hplip-2.7.10 , hp-psc_
Revision history for this message
|
#9 |
hi
sorry still haven't been able to get back to it.
But the older versions for ppd had hp-psc_
but in the 2.8.2{4} it only has in the 2100 series hp-psc_
Even when I try the one that cups made HP_PSC_
I think witht hat one is becaus of the caps and the USB_MY3AHF81YM73 extra . but I tried renaming it and even tried using the one from hplip-2.7.10 , hp-psc_
Revision history for this message
|
#10 |
sorry hit the wrong button there:D
Revision history for this message
|
#11 |
LC_ALL=en.UTF8 had to use this for the hp-tool to work
I tried that the other day nad it never worked . But I can't scroll back to see what I did wrong . I probably cp pasted LC_ALL=$LANG.UTF8 and missed changing the $LANG O.o
so its a bug in the hp-toolbox there
Revision history for this message
|
#12 |
Thanks for the update. We're working on fixing the language problems.
A
Revision history for this message
|
#13 |
Thanks Aaron Albright, that solved my question.