Click to See Complete Forum and Search --> : Please help me with printing.


-chaos-
01-27-2002, 12:04 AM
Hello, I really need to get my printer working. here are the infos: RedHat 7.2, KDE 2.2, Trying to config a Hp Deskjet 842c.

Heres a screen shot of the print sceen in K word and Mozilla.
http://www.members.shaw.ca/confined/print.png

And here is the result after I press print:
http://www.members.shaw.ca/confined/print1.png

In Mozilla I didn't get any errors cept it didn;t print anything. In the RedHat printer configuration the "queue" is Hp_Deskjet.Its a local printer on /dev/lp0. Am I doing anything wrong? I tried different drivers too.

bdl
01-27-2002, 12:38 AM
Well, the obvious thing to do would be to look for 'rlpr' and put it in your PATH.

-chaos-
01-27-2002, 12:48 AM
I don't understand, what do you mean? What path do I put this in and in what format?

bdl
01-27-2002, 12:56 AM
The error code there indicates that 'rlpr' is not in your PATH. This means that out of all the directories available to you to run binaries, rlpr is not in one of them. This is similar to the C:\WINDOWS concept; in Windows, your PATH is something like C:\WINDOWS;C:\WINDOWS\COMMAND, where all the executable files to use the system live. Very similar with UNIX, you have a 'PATH' that your shell (more than likely BASH) sets up with the appropriate directories. You can alter this by editing your /home/username/.profile or /home/username/.bash_profile and add a line as given below. You'll need to locate the rlpr binary and then go from there. This assumes of course, that rlpr exists on your system in the first place, and that you've set your printer up with 'printtool' prior to doing any of this.

prompt$ locate rlpr

prompt$ vi ~/.bash_profile



export PATH="$PATH:/path/to/rlpr:/path/to/something"

-chaos-
01-27-2002, 03:24 AM
I still don't understand how to do that, and wasn't able to get it working. Are there any guides I can read about it? In the printtool gui I can print test pages fine.