Need help printer setup on Redhat Linux

  • Thread starter Thread starter RC
  • Start date Start date
R

RC

My OS is rhel-3 update 4
My printer is HP LaserJet 8000N

I set up my print by lpadmin command
(I don't have X window install, so
I can't used the GUI to set up).

I typed

lpadmin -pmy_printer_name -v/dev/lp0 -claserjet -mps
lpadmin -dmy_printer_name
accept my_printer_name
enable my_printer_name

lpstat -s

everything is good

lp a_test_file

The print job is queue, never sent to printer

cd /var/log/cups
tail -50 error_log

E [31/May/2005:15:05:39 -0400] print_job: No file!?!
I [31/May/2005:15:18:52 -0400] Job 7 queued on 'HPLaserJet8000N' by 'hads'.
E [31/May/2005:15:18:52 -0400] print_job: No file!?!
I [01/Jun/2005:06:30:26 -0400] Job 8 queued on 'HPLaserJet8000N' by 'hads'.
E [01/Jun/2005:06:30:26 -0400] print_job: No file!?!
I [01/Jun/2005:07:40:56 -0400] Job 9 queued on 'HPLaserJet8000N' by 'hads'.

Well, what is the print_job: No file!?! Mean?

In lpadmin command how do I find out the correct model name
and interface name when I use the -i and -m options?

Thank Q very much in advance!
 
["Followup-To:" header set to comp.unix.admin.]
My OS is rhel-3 update 4
My printer is HP LaserJet 8000N

I set up my print by lpadmin command
(I don't have X window install, so
I can't used the GUI to set up).
You can still use a text mode browser such as lynx or elinks to browse
http://localhost:631
 
RC said:
My OS is rhel-3 update 4
My printer is HP LaserJet 8000N

I set up my print by lpadmin command
(I don't have X window install, so
I can't used the GUI to set up).

I typed

lpadmin -pmy_printer_name -v/dev/lp0 -claserjet -mps
Should there be a space between the -v and the /dev
Do you need to mount /dev/lp0 before use?
I presume you are using the parallel cable as this is lp0 have you tried
setting it up as a network printer instead, I presume the N of 8000N
implies network that way you might be able to just send postscript files
to that ethernet address.
Is there a linux howto for printer setup?
 
[ Followup-To -> comp.os.linux.setup seems best match ]

In comp.os.linux.setup RC said:
My OS is rhel-3 update 4
My printer is HP LaserJet 8000N
I set up my print by lpadmin command
(I don't have X window install, so
I can't used the GUI to set up).

Sure you can, there's no need for any xserver on the system just
to run some xapplication. X is full network aware. Best idea to
use it through ssh, install the small XFree86-xauth package and
request X11 Forwarding via 'ssh -C -X remotebox'.

On the other hand cups can be setup through its web interface,
again you can use ssh to forward the connection from your GUI
browser to the remote system. Or reconfigure cups to be
accessible from your desktop, IIRC default is localhost only.

Good luck
 
Back
Top