Hi,
I just can't get printing over the network working. I did several searches here and on Google, tried the HOWTO but ....
One curious thing (which might be a hint of what's wrong) is that on the machine with the printer attached, I can print with just the printer name, but not if I do printername@IP-address. As far as I can see /etc/hosts /etc/printcap /etc/hosts.lpd all have the correct lines.
-1- printing on the print server box with just the printer name
[root@potiau work]# lpr -V -P lp0 epltest.prn
LPRng-3.8.9, Kerberos5, Copyright 1988-2002 Patrick Powell, <papowell@lprng.com>
sending job 'root@potiau+53' to lp0@localhost
connecting to 'localhost', attempt 1
connected to 'localhost'
requesting printer lp0@localhost
sending control file 'cfA053potiau.main' to lp0@localhost
completed sending 'cfA053potiau.main' to lp0@localhost
sending data file 'dfA053potiau.main' to lp0@localhost
completed sending 'dfA053potiau.main' to lp0@localhost
done job 'root@potiau+53' transfer to lp0@localhost
-2- printing on print server box with printer@IP-address-of-that-box
[root@potiau work]# lpr -V -P lp0@122.0.22.1 epltest.prn
LPRng-3.8.9, Kerberos5, Copyright 1988-2002 Patrick Powell, <papowell@lprng.com>
sending job 'root@potiau+73' to lp0@122.0.22.1
connecting to '122.0.22.1', attempt 1
connected to '122.0.22.1'
requesting printer lp0@122.0.22.1
job 'root@potiau+73' transfer to lp0@122.0.22.1 failed
error 'NONZERO RFC1179 ERROR CODE FROM SERVER' with ack 'ACK_STOP_Q'
sending str '^Blp0' to lp0@122.0.22.1
error msg: 'no connect permissions'
job failed - error 'NONZERO RFC1179 ERROR CODE FROM SERVER' with ack 'ACK_STOP_Q
'
sending str '^Blp0' to lp0@122.0.22.1
Why the 'no connect permission', while I'm root on that same 122.0.22.1 machine ? No wonder it doesn't work from another machine... and that's just what this is about.
Hope someone can help... I'm slowly losing my sanity over this:/