Operating System - HP-UX
1849271 Members
6063 Online
104042 Solutions
New Discussion

lpstat: "lp" not a request id or a destination

 
Bjarne Dein
Advisor

lpstat: "lp" not a request id or a destination

Hi

When trying to print on an existing remote printer (works from other sites) from a HP-UX 11i machine, I get the above answere - what can be wrong.

PS I've had a look at DocId: UPRTKBRC00008900, which explains exactly how I see it, but the directory /var/opt/pd/pdcclientd does not exist.

The exact command I,m trying with is: echo Test | lp -dcphvfw01.net.sas.dk:cphprt0240.

Regards

Bjarne Dein
Scandinavian IT
Knowlegde is not to know something, but how to get to...
11 REPLIES 11
Helen French
Honored Contributor

Re: lpstat: "lp" not a request id or a destination

Did you configure the remote printer to your system? While doing this, you can specify the printer location/destination there (remote_hostname:printer_name). Then you can specify the printer_name directly with the lp command and -d:
# lp -dprinter_name file_name
Life is a promise, fulfill it!
Bjarne Dein
Advisor

Re: lpstat: "lp" not a request id or a destination

No - and this is about the case - I don't want to add any, I only want to print direct remote on an existing one, like I do on other systems.
But thanks for the advice!

Regards

Bjarne
Knowlegde is not to know something, but how to get to...
harry d brown jr
Honored Contributor

Re: lpstat: "lp" not a request id or a destination

Did you apply the patch: PHCO_23876 ?? Which has a Warning associated with it, so it's suggested to install patch: PHCO_25902





live free or die
harry

Live Free or Die
harry d brown jr
Honored Contributor

Re: lpstat: "lp" not a request id or a destination


When you say "print like other systems", what kind of "other" systems??

live free or die
harry
Live Free or Die
Bjarne Dein
Advisor

Re: lpstat: "lp" not a request id or a destination

No - I've not added that one, but I'll look into that right away - thank - I'll be back!

Regards

Bjarne
Knowlegde is not to know something, but how to get to...
Helen French
Honored Contributor

Re: lpstat: "lp" not a request id or a destination

Another important thing is to check and correct the bug in the /usr/sam/lbin/lpmgr file:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xa72718276953d61190040090279cd0f9,00.html

This bug can give you errors while doing remote prints.
Life is a promise, fulfill it!
Bjarne Dein
Advisor

Re: lpstat: "lp" not a request id or a destination

Other HP, SUN, SCO and etc., that we have.

Regards

Bjarne
Knowlegde is not to know something, but how to get to...
Bjarne Dein
Advisor

Re: lpstat: "lp" not a request id or a destination

Hi Shiju

I don't want to add the remote printer physical, I just want to print directly to it!

Bjarne;-)
Knowlegde is not to know something, but how to get to...
John Poff
Honored Contributor

Re: lpstat: "lp" not a request id or a destination

Hi,

I don't think you can print to that printer using the method you are trying. The way that the lp machinery knows about the remote printer is by setting up that printer as a remote printer on the HP box. You might be able to redirect something to a particular port on the printer, but why bother with all that when 'lp' takes care of all that for you?

It's pretty simple to setup the remote printer. Even just for a temporary job it only takes a minute or two to get going, and you can delete it when you are done if you don't want it permanently.

JP
Bjarne Dein
Advisor

Re: lpstat: "lp" not a request id or a destination

Hi Harry

No - I did not add any of these patches: PHCO_23876 PHCO_25902, they are not for 11i (11.11).

Regards

Bjarne
Knowlegde is not to know something, but how to get to...
Bjarne Dein
Advisor

Re: lpstat: "lp" not a request id or a destination

Hi John

I know how to set up a remote printer locally, but why should I do that, when I have an automated distribution of a script, that will alway point to our "default" printer, which can change form time to time?

Regards

Bjarne
Knowlegde is not to know something, but how to get to...