Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Sharing an printer via public ip by CUPS on RHEL5?

Posted on 2009-05-03
8
958 Views
Last Modified: 2013-12-15
Hi Friends,

I want an public ip based printer so that clients can Set up the default local print queue to forward jobs to the IPP (CUPS) print queue stationx on server1.example.com, where x is our stations/clients number
 The queue stationx on server1 dumps print jobs into the  http://server1/printers/stationx.
This is can be examined to confirm that he/she have configured the print queue correctly.

Pls tell me all steps to achive this iam using RHEL5

Thanks alot
0
Comment
Question by:lovesEE
  • 4
  • 4
8 Comments
 
LVL 77

Expert Comment

by:arnold
ID: 24290141
Are you sure you want to make a "printer" publicly available?

You would need to make sure you allow the traffic from the outside to the RHEL system.  You then have to make sure that your iptables rules are setup to allow such traffic.

To determine the printer queue is setup correctly, all you have to do is send a print job to it.  Then all you have to deal with is making sure the system is externally accessible.
0
 

Author Comment

by:lovesEE
ID: 24291102
ty for urs inputs i will certainly do the iptables part but the requrement of my question is "How to  set up" so that ...

"clients can Set up the default local print queue to forward jobs to the IPP (CUPS) print queue stationx on server1.example.com, where x is our stations/clients number
 The queue stationx on server1 dumps print jobs into the  http://server1/printers/stationx.
This is can be examined to confirm that he/she have configured the print queue correctly.?

this is  the main thing

0
 
LVL 77

Expert Comment

by:arnold
ID: 24291288
You have workstation a that is remote.  You have server1 the has CUPS setup.  You want to make sure that worstation has a correct configuration to print through the CUPs server.  I do not believe you need to setup a queue on the workstation, you just need to configure it with a remote printer.
http://www.linuxprinting.org/~till/printing-tutorial/tut.html
0
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 

Author Comment

by:lovesEE
ID: 24291301
thanks arnold for this link looks quit nice i"ll test it out and update you :-)
0
 

Author Comment

by:lovesEE
ID: 24310132
the above doc is for an printer that has an mac address but my hpdekjet 3550 seems to be not having that...
0
 
LVL 77

Expert Comment

by:arnold
ID: 24310526
I'm not sure what you mean.  You want a setup of
workstation -> cups server-> printer IP.

The workstation would use the cups server IP/port.

The MAC address deals with how to fix the printer to a single IP.
This is normally done on a DHCP server or manually setting a static IP on the jetdirect unit.
0
 

Author Comment

by:lovesEE
ID: 24320290
ok pls tell me how would client set its default print queue to this shared printer permanently
0
 
LVL 77

Accepted Solution

by:
arnold earned 125 total points
ID: 24332775
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question