1834804 Members
2343 Online
110070 Solutions
New Discussion

Re: Remote Printing

 
Thanasis_3
Advisor

Remote Printing

Hello everyone,

I have 2 PCs (windows2000 Professional) which are print servers (I 've installed an LPD software) and I want to print from an HP-UX server. The printer names are lp4 and lp5. I also have an application from which I'm printing some documents. Everything works fine but sometimes, when I want to print to lp4 my printing goes to lp5. The fence priority of both printers is set to "0".

Can you explain me the reason of this event?

Thanasis
11 REPLIES 11
A. Clay Stephenson
Acclaimed Contributor

Re: Remote Printing

The only way the situation you describe could happen is that if printers lp4 and lp5 are members of the same class and you are printing to the name ofd the class.
If it ain't broke, I can fix that.
Thanasis_3
Advisor

Re: Remote Printing

ok, so how can I see if the printers are members of the same class?
The fact that they are (if they are) in the same class means that if lp4 is busy, then the printing goes to lp5 or not?

Thank you in advance.
Thanasis
A. Clay Stephenson
Acclaimed Contributor

Re: Remote Printing

Yes, that is how a printer class works. You can see if these are memebers of a class by issueing an lpstat -c command. That will list classes and their associated printers.
If it ain't broke, I can fix that.
Thanasis_3
Advisor

Re: Remote Printing

These are the results:

# lpstat -c lp4 lp5

printer queue for lp4
lp4:
No jobs queued

hpunix: lp4: ready and waiting
no entries

printer queue for lp5
lp5:
No jobs queued

hpunix: lp5: ready and waiting
no entries

...so, is it the same class or not? :)
Thanasis
DGH_2
Valued Contributor

Re: Remote Printing

hi
set the printer you want to default printer.
lpstat -d lp4

Dory
Thanasis_3
Advisor

Re: Remote Printing

Ok, I'll define it as default. But, what if there are many printers installed? I have also 3 serial printers, connected to HP via a MUX. Am I gonna gave problems with printing?
Thanasis
DGH_2
Valued Contributor

Re: Remote Printing

you should define the default printer for the software.
if the software print on the default printer, your problem is solved.
when you want to print on another printer for example lp5 do,
#plstat -dlp5 filename

Dory
Thanasis_3
Advisor

Re: Remote Printing

Well.. I have an application from which I can send printings to different printers (lp1, lp2, lp3, lp4 and lp5). When I want to print something to lp4 then the printing goes to lp5 (when the lp4 is busy). I don't want my printing to go to a different printer.
If I define the lp4 default, will I have problems with the other printings?

P.S. lp1,lp2 and lp3 are serial printers connected to the HP. lp4 and lp5 are remote printers.


Thank you
Thanasis
DGH_2
Valued Contributor

Re: Remote Printing

you will not have problems with other printers.

Dory
Thanasis_3
Advisor

Re: Remote Printing

Even if lp1,lp2,lp3 are in the same class with lp4 and lp5?
What will happen if I send the printing to lp5 and he is busy?
The "default printing" is being choosed from sam?

Excuse me for all these questions but I have to be sure that it will work..

Thanks
Thanasis
Bob_Vance
Esteemed Contributor

Re: Remote Printing

We can see from your 'lpstat -t' output that it's not an hpux printer class problem -- you can't name a class the same as a printer nor a printer the same as a class, anyway.

I suppose it's possible that there may be something similar to the class concept in the application, itself.


bv
"The lyf so short, the craft so long to lerne." - Chaucer