Computing.Net > Forums > Linux > How to install a printer on RH7.3

How to install a printer on RH7.3

Reply to Message Icon

Original Message
Name: Stephen Liu
Date: August 9, 2002 at 17:08:06 Pacific
Subject: How to install a printer on RH7.3
Comment:

Hi All Folks,

I am looking for some other way to install HPDeskJet 690C.

I encountered difficulty in setting up the same using following procedure and don't know where to find all dependencies necessary for intallation :

I downloaded hpijs-1.2.tar.gz from

http://sourceforge.net/project/showfiles.php?group_id=16846

untar it to a folder and then

./configure

it required
.......
checking how to run the C preprocessor... gcc -E
checking for c++... no
checking for g++... no
checking for gcc... gcc
checking whether the C++ compiler (gcc ) works... no
configure: error: installation or configuration problem: C++ compiler cannot create executables.

I tried many packages (endless chain-request for dependency, one after another) and could not solve the problem.

Particularly rpm -Uvh gcc-c++-2.96-110.i386.rpm
error: failed dependencies:
libstdc++-devel = 2.96 is needed by gcc-c++-2.96-110

rpm -Uvh libstdc++-devel-2.96-85.i386.rpm
libstdc++-devel-2.96-85.i386.rpm: read manifest failed:
I was held here

Unfortunately "apt-get install" does not work on tarball

Could some folks on the board pleae shed me some light or advising me how to find all libraries and dependencies.

Thanks in advance

Stephen Liu


Report Offensive Message For Removal


Response Number 1
Name: Lawrence
Date: August 9, 2002 at 18:01:02 Pacific
Reply: (edit)

You don't have gcc install on your system
so either install it again from your CD or
download the latest version from gcc.gnu.org.

Lawrence


Report Offensive Follow Up For Removal

Response Number 2
Name: Stephen Liu
Date: August 9, 2002 at 21:50:31 Pacific
Reply: (edit)

Hi Lawrence,

Thanks for your response.

I already have gcc-2.96-110.i386.rpm on 2nd CD of RH7.3 installed. It still requested for further dependencies. I tried to install gcc-c++-2.96-110.i386.rpm (also in the same CD) but met with frustration becuase further dependencies required (libstdc++-devel = 2.96 is needed by gcc-c++-2.96-110). I could not find/install the latter successfully. It looked to me that when I tried to install a package a further dependence (s) is/are required. I don't know when it shall stop.

Anyway I will try to download the newest gcc from its website to have another go.

Thanks

Stephen


Report Offensive Follow Up For Removal

Response Number 3
Name: dfx
Date: August 10, 2002 at 02:01:12 Pacific
Reply: (edit)

"Read manifest failed" sounds like a corrupted file. Try redownloading that rpm.

Don't install a custom gcc build unless you know what you're doing. Use the rpms for your distrib (and the right version) whenever possible.


Report Offensive Follow Up For Removal

Response Number 4
Name: Stephen Liu
Date: August 11, 2002 at 09:01:10 Pacific
Reply: (edit)

Hi all folks

STILL FAILED
===========+

Upgrade RH7.3 to install all packages under development

Upgrade "ghostscript"
(URL : http://hpinkjet.sourceforge.net/install.php )

# rpm -Uvh /root/Download/Printer/ghostscript-7.05-2.i386.rpm

# gs -h

GNU Ghostscript 7.05 (2002-04-22)
Copyright (C) 2002 artofcode LLC, Benicia, CA. All rights reserved.
Usage: gs [switches] [file1.ps file2.ps ...]
Most frequently used switches: (you can use # in place of =)
-dNOPAUSE no pause after page | -q `quiet', fewer messages
-gx page size in pixels | -r pixels/inch resolution
-sDEVICE= select device | -dBATCH exit after last file
-sOutputFile= select output file: - for stdout, |command for pipe,
embed %d or %ld for page #
Input formats: PostScript PostScriptLevel1 PostScriptLevel2 PDF
Available devices:
display x11 x11alpha x11cmyk x11gray2 x11gray4 x11mono bmpmono bmpgray
bmpsep1 bmpsep8 bmp16 bmp256 bmp16m bmp32b deskjet djet500 laserjet
ljetplus ljet2p ljet3 ljet3d ljet4 ljet4d lj5mono lj5gray cdeskjet
cdjcolor cdjmono cdj550 pj pjxl pjxl300 uniprint ijs stp bj10e bj200
bjc600 bjc800 faxg3 faxg32d faxg4 pcxmono pcxgray pcx16 pcx256 pcx24b
pcxcmyk pbm pbmraw pgm pgmraw pgnm pgnmraw pnm pnmraw ppm ppmraw pkm
pkmraw pksm pksmraw tiffcrle tiffg3 tiffg32d tiffg4 tifflzw tiffpack
tiff12nc tiff24nc psmono psgray psrgb bit bitrgb bitcmyk png16m pnggray
pngmono png256 png16 jpeg jpeggray pdfwrite pswrite epswrite pxlmono
pxlcolor x11cmyk2 x11cmyk4 x11cmyk8 x11rg16x x11rg32x atx23 atx24 atx38
fs600 lp2563 oce9050 bmpamono bmpasep1 bmpasep8 bmpa16 bmpa256 bmpa16m
bmpa32b cgmmono cgm8 cgm24 miff24 pcx2up plan9bm pnga appledmp iwhi iwlo
iwlq ccr cdj500 declj250 dnj650c lj4dith escp djet500c cljet5pr lj3100sw
coslw2p coslwxl cp50 epson eps9mid eps9high ibmpro epsonc ap3250 st800
stcolor DJ630 DJ6xx DJ6xxP DJ8xx DJ9xx DJ9xxVIP AP21xx cdj850 cdj670
cdj890 cdj1600 cdj880 cdj970 lj250 paintjet pjetxl hl7x0 imagen jetp3852
lbp8 lips3 lp8000 m8510 necp6 lq850 lxm5700m oki182 okiibm photoex r4081
sj48 t4693d2 t4693d4 t4693d8 tek4696 cfax dfaxlow dfaxhigh cif inferno
mgrmono mgrgray2 mgrgray4 mgrgray8 mgr4 mgr8 sgirgb cljet5 cljet5c
nullpage
Search path:
. : /root/.kde/share/fonts : /usr/share/ghostscript/lib :
/usr/share/ghostscript/fonts : /usr/share/fonts/Type1
For more information, see /usr/share/doc/ghostscript-7.05/Use.htm.
Report bugs to bug-gs@ghostscript.com, using the form in Bug-form.htm.

ijs IS NOT HIGHLIGHTED
====================

Download another package ¡§ghostscript-7.05-16.i386.rpm¡¨

# rpm -Uvh /root/Download/Printer/ghostscript-7.05-16.i386.rpm
error: failed dependencies:
Omni >= 0.6.1 is needed by ghostscript-7.05-16
libpng12.so.0 is needed by ghostscript-7.05-16
libstdc++.so.5 is needed by ghostscript-7.05-16


AGAIN :- Download another package ¡§ghostscript-7.05-17.alpha.rpm¡¨

# rpm -Uvh /root/Download/Printer/Ghostscript/ghostscript-7.05-17.alpha.rpm
error: failed dependencies:
Omni >= 0.6.1 is needed by ghostscript-7.05-17
libc.so.6.1 is needed by ghostscript-7.05-17
libc.so.6.1(GLIBC_2.0) is needed by ghostscript-7.05-17
libc.so.6.1(GLIBC_2.1) is needed by ghostscript-7.05-17
libc.so.6.1(GLIBC_2.1.3) is needed by ghostscript-7.05-17
libc.so.6.1(GLIBC_2.2) is needed by ghostscript-7.05-17
libdl.so.2.1 is needed by ghostscript-7.05-17
libm.so.6.1 is needed by ghostscript-7.05-17
libm.so.6.1(GLIBC_2.0) is needed by ghostscript-7.05-17
libpng12.so.0 is needed by ghostscript-7.05-17
libstdc++.so.5 is needed by ghostscript-7.05-17

From KDE (ADD Printer in Graphic Mode)
================================

K_Start -> System -> Printer Configuration
to start "printconf-gui"

click "New" to start "Add a New Print Queue"
Click "Next" to start "Set the Print Queue Name and Type"
Add "H" under "Queue Name" and select "Local Printer"
Click "Next" to popup "Configure a Local Printer" window
Device /dev/lp0
Model HP DeskJet 694C
(Remark: This is the default model. According to its Note : The drivers should cover HP Deskjet 690C-694C)

Tried all drivers of this model with NO RESULT

TEST:
====
From "Test" dropdown list select "US Letter Postscript TestPage" and the click "OK"
No Printout

From "Test" dropdown list select "A4 Postscript TestPage" and the click "OK"
No Printout

From "Test" dropdown list select "ASCII Test TestPage" and the click "OK"
No Printout

Changed the model to HP DeskJet 690C and conducted another TEST but still NO RESULT

(Remark : I am not allowed to make change to this model¡¨)

I think the problem comes from ¡§ghostscript-7.05-2.i386.rpm¡¨. This version is not suitable. However I have no idea to find out the packages for generating the dependencies for the installation of

ghostscript-7.05-16.i386.rpm

and

ghostscript-7.05-17.alpha.rpm

Which is the correct mailing list of "www.linuxprint.org" for posting "HELP"


Stephen


Report Offensive Follow Up For Removal

Response Number 5
Name: dfx
Date: August 11, 2002 at 11:21:45 Pacific
Reply: (edit)

Excuse me, but the output of gs you pasted reads:

... uniprint ijs stp ...

That's ijs there, no? So what is the problem?

Also, *.alpha.rpm packages are for the alpha cpu architecture. You have an i386 type cpu, so use that.

And last but not least, always check your system logs.


Report Offensive Follow Up For Removal


Response Number 6
Name: Stephen Liu
Date: August 11, 2002 at 17:20:54 Pacific
Reply: (edit)

Hi dfx,

According to the installation manual

ijs should be HIGHLIGHTED but it is not

Before I upgraded ghostscript to
"ghostscript-7.05-2.i386.rpm " On the default version of "ghostscript-6.xx" when I issue "gs -h" as root

ijs was also there but not HIGHLIGHTED

However my problem is "I can't print"

>> Also, *.alpha.rpm packages are for the alpha cpu architecture. You have an i386 type cpu, so use that<<

Sorry, which version of ghostscript should I use

Thanks

Stephen


Report Offensive Follow Up For Removal

Response Number 7
Name: Stephen Liu
Date: August 11, 2002 at 21:42:38 Pacific
Reply: (edit)

Hi folks

!!! PROBLEM SOLVED !!!!

New Printer installed. It is not necessary to update "ghostscript". Procedure as follows:

On KDE

K_Start -> System -> CUPS Printer Configuration

to start "Common UNIX Printing System - Konqueror window" and then click "Manage Printers"

- click "ADD Printer" -> "Add New Ptinter"
- Fill_in
Name DJ690C (Name_of_your_printer you expect to display)
Location /dev/lp0 (zero, not capital 'o')
Description HP DeskJet 690C (Description_of_your_printer)

- Continue -> Continue
-Select
Device Paraport #1 for DJ690C

- Continue
- Select
Make HP

- Continue
- Select
Model HP DeskJet 690C Foomatic+hpijs(en)
^^^^^
(It is important to find out the applicable printer driver from HP website)

- Continue
Printer DJ690C has been added successfully

- Click "Printers on ESP bar
- Click "Print Test Page"

That is all, printer installation finished.

Hoping that other folks on the list can read this message understanding the step-by-step procedure to install a new printer on KDE environment.

Thanks

Stephen


Report Offensive Follow Up For Removal

Response Number 8
Name: dfx
Date: August 12, 2002 at 04:36:29 Pacific
Reply: (edit)

Just to clarify, the "ijs" isn't supposed to be highlighted. The install guide has it highlighted so you know what to look for.


Report Offensive Follow Up For Removal

Response Number 9
Name: Stephen Liu
Date: August 12, 2002 at 07:31:10 Pacific
Reply: (edit)

Hi dfx,

Noted

ghostscript-7.05-2 is not for RH7.3. Later I discover it. The original version ghostscript-6.5.xxx coming with RH7.3 is ready for use. Upgrade is not necessary. I learnt the hard way to find it out and I have to remove it.

Anyway lot of thanks for your advice.

Stephen


Report Offensive Follow Up For Removal






Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: How to install a printer on RH7.3

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software




Have you ever used OpenOffice?

Yes, as my main suite.
Yes, occationally.
Yes, but only once.
No, never.


View Results

Poll Finishes In 3 Days.
Discuss in The Lounge