Unix administration - Need help printer setup on Redhat Linux

This is Interesting: Free IT Magazines  
Home > Archive > Unix administration > June 2005 > Need help printer setup on Redhat Linux





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Need help printer setup on Redhat Linux
RC

2005-06-01, 7:49 am

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!
Bill Marcum

2005-06-01, 5:54 pm

["Followup-To:" header set to comp.unix.admin.]
On Wed, 01 Jun 2005 08:29:27 -0400, RC
<raymond.chui@nospam.noaa.gov> wrote:
> 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


--
Depend on the rabbit's foot if you will, but remember, it didn't help
the rabbit.
-- R.E. Shay
me@privacy.net

2005-06-02, 7:49 am

In message <429DAA27.2090106@nospam.noaa.gov>, RC
<raymond.chui@nospam.noaa.gov> writes
>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?


--
Timothy
jpd

2005-06-02, 7:49 am

[fup-to set, no need for all those froups]
Begin <T0n6aIEWcvnCFw6v@town-village.demon.co.uk>
On 2005-06-02, me@privacy.net <me@Privacy.Net> wrote:
> In message <429DAA27.2090106@nospam.noaa.gov>, RC
><raymond.chui@nospam.noaa.gov> writes

I think OP pays RH for answering this kind of stuff, right?

[vbcol=seagreen]
[snip!][vbcol=seagreen]
> Should there be a space between the -v and the /dev
> Do you need to mount /dev/lp0 before use?


Mount a printer? Not that I'm aware of.


> 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


In which case you don't need a lp0 at all.


> that way you might be able to just send postscript files
> to that ethernet address.


Uhm. Better assign an IP address (BOOTP/DHCP/static) to the printer and
use that instead. But if that is the case then one does not need cups
and all that, just a small printcap entry for lpd. Then, I do not know
how linux, or more specifically rh enterprise, prefers to support this.


> Is there a linux howto for printer setup?


LDP, and redhat probably has its share of their own branded explanations.


--
j p d (at) d s b (dot) t u d e l f t (dot) n l .
Michael Heiming

2005-06-02, 5:54 pm

[ Followup-To -> comp.os.linux.setup seems best match ]

In comp.os.linux.setup RC <raymond.chui@nospam.noaa.gov>:
> 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

--
Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94)
mail: echo zvpunry@urvzvat.qr | PERL -pe 'y/a-z/n-za-m/'
#bofh excuse 66: bit bucket overflow
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com