Operating System - Linux
1829107 Members
2237 Online
109986 Solutions
New Discussion

printing problem with HP Deskjet

 
SOLVED
Go to solution
Yong Shiuh Rong
Frequent Advisor

printing problem with HP Deskjet

I try to setup a HP Deskjet network printer to print in Redhat Linux 9.0. after typing the IP address, I try to print a document, the document was not printed but it print out a line: " %!<>setpagedevice%!PS-Adobe-3.0[{%%Code for writting CUP", follow by a nonstop loading of paper into the printer, nothing was printed.

I am using HP Deskjet 990cxi printer attached to HP Jetdirect 300X with Redhat Linux 9.0.

13 REPLIES 13
Mark Grant
Honored Contributor
Solution

Re: printing problem with HP Deskjet

All that rubbish you are printing is raw postscript. My guess is you have the wrong printer driver for your printer. Whihc print system are you using? Is it "CUPS". DO you have the "gimp-print" drivers (still the best :))?
Never preceed any demonstration with anything more predictive than "watch this"
Yong Shiuh Rong
Frequent Advisor

Re: printing problem with HP Deskjet

how to set the gimp-print drivers driver? how to chesk if I have it install?
Mark Grant
Honored Contributor

Re: printing problem with HP Deskjet

If you are using cups, get a web browser and point it at "localhost:631". You will get a nice page from which you can check out your printers and their drivers. If you have gimp-print, it will tell you in the printer config. If you don't have it, you'll need to download and install gimp-print. I imagine red hat has it somewhere on there site but if not, you can get it here http://sourceforge.net/projects/gimp-print/
You may need to re-install (I mean build) cups after this but maybe not.

If you are not using CUPS then please tell us which printing system you use.
Never preceed any demonstration with anything more predictive than "watch this"
Martin P.J. Zinser
Honored Contributor

Re: printing problem with HP Deskjet

Hello,

I agree what you see is Postscript and your printer most probably does not understand this. Make sure the Deskjet 990cxi is supported by CUPS. I do have an older Deskjet and still use LPRng as my printing system since it does have drivers for it, which I did not find for CUPS.

Greetings, Martin
Yong Shiuh Rong
Frequent Advisor

Re: printing problem with HP Deskjet

Martin where should i check whether the printer is supported by CUPS? How to set lpr in Redhat 9.0?
Mark Grant
Honored Contributor

Re: printing problem with HP Deskjet

Cups does support this printer. It is listed (and known to work) if you use the Deskjet 900 series with gimp-print.
Never preceed any demonstration with anything more predictive than "watch this"
Yong Shiuh Rong
Frequent Advisor

Re: printing problem with HP Deskjet

gimp print is already installed in my machine, how can I make use of it?
Mark Grant
Honored Contributor

Re: printing problem with HP Deskjet

Try cerqating a new printer with cups and when you get to the bit about drivers, most of them on the list will say "+gimp-print".

However, I'm not sure what happens with Red HAt if you have been using "lp" and suddenly start using cups because cups replaces all the "lp" cpmmands when it installs. Fo rthat reason, I'd be tempted to remove cups and then re-install it.
Never preceed any demonstration with anything more predictive than "watch this"
Yong Shiuh Rong
Frequent Advisor

Re: printing problem with HP Deskjet

Actually this is the first time I setup printer in Linux. I have heard about CUPS and LPRng but have never try to use it until today.

Martin P.J. Zinser
Honored Contributor

Re: printing problem with HP Deskjet

Hello Yong,

all things CUPS at www.cups.org
Gimp-print http://gimp-print.sourceforge.net/

esp, http://gimp-print.sourceforge.net/p_Supported_Printers.php3

which lists the DeskJet 900 series as operational, i.e. it should work with your printer.

Greetings, Martin
Yong Shiuh Rong
Frequent Advisor

Re: printing problem with HP Deskjet

Mark, after installing the printer with CUPS, I do not see any gimp-print in the CUPS page.
Mark Grant
Honored Contributor

Re: printing problem with HP Deskjet

In situations like this, I tend to de-install cups, de-install gimp-print and then build from source gimp-print and cups in that order. CUPS need to see the gimp print drivers in there. You MIGHT get away with just re-building gimp-print.

The problem is that cups needs to find the gimp-print stuff on disk
Never preceed any demonstration with anything more predictive than "watch this"
Yong Shiuh Rong
Frequent Advisor

Re: printing problem with HP Deskjet

After a series of trying and testing, I manage to connect the printer with ipp mode. thanks :)