LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-07-2004, 02:40 PM   #1
ivanscheers
LQ Newbie
 
Registered: Sep 2003
Location: Belgium
Posts: 8

Rep: Reputation: 0
Unhappy Can't print to print server (RH8 + LPRng)


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:/
 
Old 10-08-2004, 06:37 AM   #2
ivanscheers
LQ Newbie
 
Registered: Sep 2003
Location: Belgium
Posts: 8

Original Poster
Rep: Reputation: 0
Can this error message help to point me where I must look to solve the problem ?

error 'NONZERO RFC1179 ERROR CODE FROM SERVER' with ack 'ACK_STOP_Q'

Last edited by ivanscheers; 10-08-2004 at 06:47 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Xandros: Print Server: Print is not clear alacritous Linux - Software 5 12-30-2004 06:33 PM
How to route print jobs with LPRng? marisi Linux - Newbie 3 08-21-2004 10:39 PM
Cannot print multiple pages with LPRNG arubin Slackware 0 07-11-2004 04:49 AM
Can't print to remote printer using LPRng Earl Parker II Linux - Networking 1 07-05-2004 10:07 AM
LPRng - Disappearing Print Jobs Gedwimor Slackware 1 09-28-2003 10:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration