Printer sharing issue

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Printer sharing issue
# 1  
Old 06-25-2012
Printer sharing issue

Hi, This is what I am trying to accomplish: send printing jobs from the system printclient (RHEL 4) to the system printserver (RHEL 5.8) that connects to a network printer. Here are what I did (based on http://www.cups.org/documentation.php/doc-1.6/sharing.html):

Code:
printserver# cupsctl --share-printers
printserver# cupsctl --share-printers --remote-any
printserver# lpadmin -p printername -o printer-is-shared=true
printserver# service cups restart
printserver# service iptables stop

printclient# cat /etc/cups/client.conf
ServerName printserver
printclient# service cups restart
printclient# service iptables status
Firewall is stopped.

It is not working. See these:

Code:
printclient# lp -d printername /etc/group
lp: unable to print file: server-error-service-unavailable

printclient# lpstat -d -p
lpstat: Unable to connect to server: Success

printclient:root# telnet printserver 631
Trying 10.1.1.18...
Connected to printserver
Escape character is '^]'.

Please help! Thank you in advanced! I will give you my Thanks for any helpful info.

---------- Post updated at 04:26 PM ---------- Previous update was at 08:48 AM ----------

Currently only one client is allowed to use the printer server. Here are the new settings that will be manually set in cupsd.conf on the printer server:

Code:
Listen 127.0.0.1:631
Listen printserver:631

<Location />
   Order allow,deny
   Allow localhost
   Allow printclient
</Location>

Browsing On
BrowseProtocols cups
BrowseOrder Deny,Allow
BrowseDeny @LOCAL
BrowseDeny ALL
BrowseAllow printclient

Any suggestion? Thanks.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

Sun-Fire-V490 Printer Issue After Upgrade of Solaris

Hey Guys I am new here, dont know if any one can assist me with this issue. I have a Sun-Fire-V490 machine that was upgraded to version 9 and patched a few months back. Problem is a few network printers managed by the server is printing an extra page that comes out before and after every print... (0 Replies)
Discussion started by: mprogams
0 Replies

2. AIX

AIX Printer Issue: Blank Page Printing.

We have configured Network printers in AIX 6.1. We are facing a Weird problem in Printing. While printing the user is getting a blank page after 2 pages. Please let us know the cause of this issue and ways to rectify it. If this is problem with banner/feeds how to view the default banner... (1 Reply)
Discussion started by: sugan_p
1 Replies

3. Red Hat

printer setup issue

I am a linux newbie who is in over his head.... We have a 3rd party company hosting our servers and they are running RHEL 4 (actaully is is OEL, but Oracle just rebranded RH) they installed a bunch of printers on the servers there. Our application prints but the formatt is off. When we had the... (0 Replies)
Discussion started by: jayjabour
0 Replies

4. AIX

Printer issue on a Digi

Ok, Im a new network admin to the AIX environment. Im in the AIX console as we speak and I don't understand this issue with the print server. It's not a standard print server that I'm used to seeing and was wondering if any of you have any experiences with a Dev_Wait issue on a Digital to Serial... (0 Replies)
Discussion started by: Itsaboutme
0 Replies

5. UNIX for Dummies Questions & Answers

sharing a printer

i have made a network between 2 computers and with 1 of the computers i have added a printer. how can get the other computer to be shared so he can use the printer. i am using unix fedora btw. thanks very much ppl. (0 Replies)
Discussion started by: king_jon85
0 Replies

6. Linux

Sharing Printer Linux + XP (cups/samba)

I keep getting a access denied error when I install from the XP wizard my Linux shared printer. CUPS CONFIGURATION FILE <Location /admin> # # You definitely will want to limit access to the administration functions. # The default configuration requires a local connection from a user who #... (2 Replies)
Discussion started by: Alux
2 Replies

7. IP Networking

Printer Sharing on a Mixed(Windows/Linux) Home Network

Sometimes you get the tiger...but sometimes he get you and this latest home network “project” of mine has gnawed on me pretty badly. Perhaps you can offer some technical help. It will be heartily appreciated. I have a small home network initially comprising two computers running Windows... (1 Reply)
Discussion started by: Annatar
1 Replies

8. IP Networking

sharing of IP address for load sharing avoiding virtual server & redirection machine

I have RedHat 9.0 installed on three of my servers (PIII - 233MHz) and want that they share a common IP address so that any request made reaches each of the servers. Can anyone suggest how should I setup my LAN. I'm new to networking in Linux so please elaborate and would be thankful for a timely... (2 Replies)
Discussion started by: Rakesh Ranjan
2 Replies

9. UNIX for Dummies Questions & Answers

Sharing printer with windows via cups and samba

I want to use my linux box as a print server for my hp printer. I downloaded the linux driver for the printer and installed it. I also configured CUPS and printed a test page with it. Samba is allowing my windows machine to see and install the printer, but when i try to print to it, nothing... (1 Reply)
Discussion started by: Spetnik
1 Replies
Login or Register to Ask a Question