LPD on AIX 4.3.1 rejects LPR from Windows NT 4.0
ITEM: RTA000152199
Origin item: 06026,998,724
Topic thread:
Printer Systems (PRINT - NA/ATS)
PSF/AIX
PRINT XPSF6000
We try to print from Windows NT 4.0 with LPR command to LPD on AIX 4.3.1
lpr -S 192.168.250.210 -P IP20 filename
Error: The print server rejects print request. Request abended.
We studied APARs IX77946 and IX78857. Then we installed the NT patch
article Q150154 on Windows NT...didn't help. Then we looked at IBM
printers web page and downloaded/installed the PTFs necessary for AIX
4.3.1...didn't help. Then we checked the prerequisite PTFs for AIX
4.3.0, they are in. Then we opened PMR 57561. We delivered IP trace.
Not analyzed, yet.
Can you help?
A:
In order to print from any remote client to an AIX LPD, there are a
couple of steps you must take:
1) Check that LPD is started on the AIX system (lssrc -s lpd). If not,
start it (startsrc -s lpd or through smit (smitty lpd).
2) The AIX Systems Administrator must authorize the remote client host
for remote print access by adding it to either /etc/hosts.lpd or
/etc/hosts/equiv. You can also access the smit panels to add the
remote client to /etc/hosts.lpd through the smitty lpd fastpath
command.
3) The remote client hostname must be known to the AIX system (you
may have to put it explicitly in /etc/hosts; I'm not sure if DNS is
sufficient -- I'm moving and my AIX Print books are already packedą)
The APAR IX78857 you mentioned above a known AIX problem, and there
is a PTF available. One error message that I'm aware of what would
would indicate the need for this APAR would be:
0781-398: received data of unspecified length or control file before
data file
(By the way, you could see this printing either from Windows 95 or
Windows NT to AIX 4.3.0 or later.)
The lpd protocol defined in RFC 1179 was changed to incorporate
streaming lpd. This new version of the protocol was implemented in
AIX 4.3.0. Unfortunately, with the change in protocol, AIX 4.3 broke
compatibility with previous versions of AIX. When data is sent from
a Windows NT system using the RCF (receive control file) command first
instead of RCFF (receive control file first), AIX 4.3's lpd rejects the
transfer because it does not expect to see RCF as the first command.
AIX used to be able to accept either order before 4.3.0 but the new lpd
protocol imposes a strict ordering. The impact on the customer will be
that they will not be able to print from Windows NT or Windows 95 to an
AIX 4.3 system without applying a PTF to AIX or a patch from Microsoft.
We recommend the AIX PTF as we have heard of some cases where the
Microsoft patch did not work (large files).
AIX APAR IX78857/PTF U456083: lpd is fixed so printing can be
done from Windows NT or 95.
If none of the above suggestions help, then the best way to work the
problem is to open a PMR with the AIX print group as you've done and
and submit the iptrace.
Looking at the PMR, the folks at Level 2 in Austin have now analyzed
the trace, and (though they don't speak German) believe that the trace
shows that your remote client is not authorized (the /etc/hosts.lpd
authorization I mentioned.) If you authorize the remote client and still
can't print, then they're asking for a new iptrace, and instructions
are given in the PMR.
Closing this item so the problem can be pursued through the PMR.
| Updated to reflect that the iptrace showed that the client had
| not been authorized to print to the RS/6000 (/etc/hosts.lpd or
| /etc/hosts.equiv. Once the client was authorized, printing was
| successful.
(Reviewed 01 Oct 1998)
S e a r c h - k e y w o r d s:
psf/6000 psf/aix infoprint psf aix windows nt 95 winnt win95 lpd
iptrace 0781-202 host line printer access 4.3.0 4.3 4.3.1
hosts.lpd authorized
WWQA: ITEM: RTA000152199 ITEM: RTA000152199
Dated: 10/1998 Category: XPSF6000
This HTML file was generated 99/06/24~12:43:40
Comments or suggestions?
Contact us