PDA

View Full Version : print problem



finsh
9th May 2006, 11:14 AM
I have printer hp on my pc when i print geting this message There was a problem sending CUPS test page
to 'printer' queue:

lpr: error - unable to print file: client-error-not-found

how can i Reform this


thanks

MAnix
9th May 2006, 11:42 AM
have you updated your kernal since installing hplip??

wow maybe im getting ahead of myself. u need to put hplip on for driver support for HP printers. i did and then it works, but if u yum update your system then it doesnt work again. you should check your printer compatability via here:
http://www.linuxprinting.org/

if it is supported, being a HP it will need HPLIP:

hplip can be found here:
http://hplip.sourceforge.net/

i had this trouble and went to my local LUG for help, and i fixed it with some help. here is my message to them when i had got it working, it may have some relevance:


Hey,

Right. Worked on this problem for a while this morning and have got it owrking. at first the /var/log/cups/error_log was empty. I found i needed to set the Loglevel to "debug" to record almost every piece of data. I found no errors. I did notice on my messing around the code of various cups files and folders that the version installed was an updated version. i had run a yum update on my system recently and this replced my working version of HPLIP with a higher version. i removed this and reinstalled HPLIP, no joy. I deleted all printers as admin and cleared the already empty error_log (just in case!!) and tried to set up a new printer using an older driver which was available. Then i test printed and it stuttered but worked. I have been printing stuff for a bit now and all looks great. I will try a reboot of my box and all going well thats printer error fixed. The net yeilded little for my problem but i believe this was because of my original drivers being updated and it didnt like them. I restored them to original, and works like a charm.

thanks for help,

MAniX


Post if this doesnt work, oh mine was a DeskJet 5550, with similar problems, running FC5

MAniX

finsh
9th May 2006, 12:30 PM
I did Download hplip-0.9.10 but look error

[root@mainserver ~]# ls
anaconda-ks.cfg hplip-0.9.10 install.log
Desktop hplip-0.9.10.tar.gz install.log.syslog
[root@mainserver ~]# cd hplip-0.9.10
[root@mainserver hplip-0.9.10]# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... i686-redhat-linux-gnu
checking host system type... i686-redhat-linux-gnu
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether g77 accepts -g... yes
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for g77 option to produce PIC... -fPIC
checking if g77 PIC flag -fPIC works... yes
checking if g77 supports -c -o file.o... yes
checking whether the g77 linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) gcc3
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking for a Python interpreter with version >= 2.2... python
checking for python... /usr/bin/python
checking for python version... 2.4
checking for python platform... linux2
checking for python script directory... ${prefix}/lib/python2.4/site-packages
checking for python extension module directory... ${exec_prefix}/lib/python2.4/site-packages
checking for chkconfig... /sbin/chkconfig
checking for install_initd... /usr/lib/lsb/install_initd
checking for pthread_create in -lpthread... yes
checking for CRYPTO_free in -lcrypto... yes
checking for snmp_timeout in -lnetsnmp... yes
checking for usb_init in -lusb... no
configure: error: cannot find libusb support )))))))))))))) here problem
[root@mainserver hplip-0.9.10]#

MAnix
9th May 2006, 03:14 PM
download lib usb. use yum install libusb...

if that fail download it from sorceforge where it is hosted. it happens sometimes...sounds like it will work when u compile it though...

u will only need libusb and it isnt hard to get so u should be set then

finsh
9th May 2006, 04:26 PM
Mr. manix Thank you very much

Accepts greetings

MAnix
9th May 2006, 08:59 PM
youre welcome. hope all goes well with linux experience...