Urgent: "lpc stat" and "lpc stat lj02" gives different result

Urgent: "lpc stat" and "lpc stat lj02" gives different result

Post by Jasper » Sat, 05 Jul 2003 15:03:20



Hi All,

"lpc stat" gives the following:

HPLJ4100|lj02:
        printer is on remote host aaa.bbb.ccc.ddd with name text
        queuing is enabled
        printing is enabled
        no entries
        no daemon present

"lpc stat lj02" gives the following:

lj02:
        printer is on device '/dev/lp' speed -1
        queuing is enabled
        printing is enabled
        no entries
        no daemon present

I copied the printcap over from another Alpha on the same network. I can
ping the "ccc" network.
Printing on the other Alpha works fine, and both have the same Tru64 V4.0f.

Any idea please!
Thanks.

--

 
 
 

Urgent: "lpc stat" and "lpc stat lj02" gives different result

Post by Udo Grabowsk » Sat, 05 Jul 2003 16:00:45


Maybe hostname aaa.bbb.ccc.ddd is not in /etc/hosts or resolvable
via DNS ?

 
 
 

Urgent: "lpc stat" and "lpc stat lj02" gives different result

Post by Jasper » Sat, 05 Jul 2003 16:33:41


DNS is not set up on this machine.
"aaa.bbb.ccc.ddd" only refers to the IPaddress of the printer. I do not
refer to the printer's host ID.


Quote:> Maybe hostname aaa.bbb.ccc.ddd is not in /etc/hosts or resolvable
> via DNS ?

 
 
 

Urgent: "lpc stat" and "lpc stat lj02" gives different result

Post by Jasper » Sat, 05 Jul 2003 17:33:11


My problem was solved.....thanks !!
I replaced the IP address with a hostname, and put an entry in hosts file.
I do not know why it did not recognize IP.

Thanks all.


Quote:> Hi All,

> "lpc stat" gives the following:

> HPLJ4100|lj02:
>         printer is on remote host aaa.bbb.ccc.ddd with name text
>         queuing is enabled
>         printing is enabled
>         no entries
>         no daemon present

> "lpc stat lj02" gives the following:

> lj02:
>         printer is on device '/dev/lp' speed -1
>         queuing is enabled
>         printing is enabled
>         no entries
>         no daemon present

> I copied the printcap over from another Alpha on the same network. I can
> ping the "ccc" network.
> Printing on the other Alpha works fine, and both have the same Tru64
V4.0f.

> Any idea please!
> Thanks.

> --