Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Printing from HP-UX to SCO

Status
Not open for further replies.

cborivant

Technical User
May 13, 2005
18
FR
Hello,

I'm trying to print from a HP-UX server to a serial line printer on a SCO server.

/usr/lib/lpd is running on the SCO server
I can send my print request from HP-UX and I can see files in /usr/spool/lpd/serie1 on my SCO server.
But the files stays here for ever and never gets printed.

I'm new to SCO and need help to make it work.
Thanks in advance ...
 
I don't know HP-UX.
Has it a rlpstat command ?

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Do you have an entry for the HP-UX system in /etc/hosts.lpd on the SCO box? I think you'd have a different symptom if the problem was permissions, but it sounds like you've already checked most items.

You should also have a "status" file in your /usr/spool/lpd/serie1 directory.

Another approach (if you have user equivalency between the servers) is to try a remote lp command from the HP-UX system:

$ cat filename|remsh scobox lp -dserie1
( I think HP's remote command is "remsh", but it might be "rsh.)

 
rlpstat result from HP-UX:
# rlpstat -d serie1

printer queue for serie1
no entries

SRV-RP74: serie1: ready and waiting
#

There is no status file in /usr/spool/lpd/serie1

remsh gives me a permission denied error.
 
Yes, no problem, I can print from the sco system.
 
sorry, i missed your earlier response saying that you could print it locally....can you do this as a user other than root?

is the hp system listed in /etc/hosts.lpd?
does the hp system use /etc/printcap? if so what does the entry look like for this printer?

 
I can print locally on SCO as a user other than root.

The HP system is listed in /etc/hosts.lpd
The HP system do not use /etc/printcap.

The problem seems to be on the SCO box because, the request are correctly sent to the spool.
ls -l /var/spool/lpd/serie1
total 398
-rw-rw---- 1 root sys 87 May 13 18:44 cA2707SRV-RP74
-rw-rw---- 1 root sys 199970 May 13 18:44 dA2707SRV-RP74
-rw-r--r-- 1 root root 4 May 16 16:39 lock

But the spool seems not to be managed by the SCO. I can't find the jobs in the print job manager
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top