[cups.general] Setting IPP printer with CUPS on RHES 4.0
Denny Snyder
wolverine at jhu.edu
Thu Oct 29 12:13:56 PDT 2009
Good work!
Sounds like that might have been the problem from the get go :)
No sharing means no remote connectivity to the defined printer - the server would only accept print requests from 127.0.0.1
Nice solve :)
Denny Snyder
IT at Johns Hopkins
5801 Smith Ave Suite 3110C
Baltimore, MD 21209
(410)735-7613 : DESK
(410)735-4660 : FAX
wolverine at jhu dot edu
-----Original Message-----
From: cups-bounces at easysw.com [mailto:cups-bounces at easysw.com] On Behalf Of Anton Preheim
Sent: Thursday, October 29, 2009 2:57 PM
To: cups at easysw.com
Subject: Re: [cups.general] Setting IPP printer with CUPS on RHES 4.0
Denny,
The printing is working now. What I did was to create a standard IP printer and allowed that printer to be shared to all the hosts. Hmmm... I don't why it worked, but it did. Not sure if the "share" printer has anything to do with it or not. Do you??
Thanks,
AP
> Hmm... sounds like there are more parts to this than I thought....
>
> Can you give me the following info?
>
> Server name/IP hosting CUPS
> Printer name/IP
> Make and Model of printer
> The /etc/cups/printers.conf file
> The /etc/cups/cupsd.conf file
>
> We need to get the server printing to the printer before we even attempt to=
> try setting up a client to print via your CUPS server.
> Also do the following on the server just for gp:
> rpm -qa | grep cups
> chkconfig --list cups
> service cups status
> lpstat -t
>
> If you'd like, email me directly outside of the mailing list (address is be=
> low) and we'll go from there.
> Don't mail the above to the list =3D not a good idea :)
>
>
>
>
> Denny Snyder
> IT at Johns Hopkins
> 5801 Smith Ave Suite 3110C
> Baltimore, MD 21209
> (410)735-7613 : DESK
> (410)735-4660 : FAX
> wolverine at jhu dot edu
>
>
> -----Original Message-----
> From: cups-bounces at easysw.com [mailto:cups-bounces at easysw.com] On Behalf Of=
> Anton Preheim
> Sent: Thursday, October 29, 2009 12:43 PM
> To: cups at easysw.com
> Subject: Re: [cups.general] Setting IPP printer with CUPS on RHES 4.0
>
> Denny,
>
> Truthfully, I think I got about 3/4 of it (-:
>
> Ok, here's the deal. I got the printer and the queue setup at this point.. =
> I was able to ping the printer by name and IP address. The report process=
> completed now with a "printed" message, which is good. The output is now =
> sitting in the queue, but will not print for some reason. I have recycled =
> the cups service, but still fail to print.
>
> My question is, what is the exact syntax do I enter for the "Server" and "P=
> ath" in the printer configuration GUI.
>
> My printer is called, LP_Test_PO.
>
> I am still little confused about the ipp://myprinter/ipp
>
> Thank you so much for your time. By the way, could I call you directly??
>
> AP
>
>
>
>
> > If you look at your current /etc/hosts file on your server you should see=
> s=3D
> > omething like this:
> > # Do not remove the following line, or various programs
> > # that require network functionality will fail.
> > 127.0.0.1 localhost.localdomain localhost
> > ::1 localhost6.localdomain6 localhost6
> > 10.181.24.44 myserver.domain.dom myserver
> > 10.181.24.98 myprinter
> >
> > I added the last line as an example. Now if I create the printer in the =
> CU=3D
> > PS interface, I can name it anything, give it whatever kind if descriptio=
> n =3D
> > and location. Then choose IPP from the dropdown box and give it the devi=
> ce=3D
> > URI address of:
> > ipp://myprinter/ipp/
> > Then follow it up with whatever printer make and model and driver etc.....
> >
> > I generally make it a habit to name the printer in my /etc/hosts file the=
> s=3D
> > ame as the printer is named in CUPS so there isn't any confusion.
> >
> > If you do the above and the test print job just sits in the queue... try=
> c=3D
> > hanging the device URI to ipp://myprinter and see what happens. Can you =
> pr=3D
> > int to the printer in other ways? (i.e. socket://myprinter:9100, or lpd:/=
> /m=3D
> > yprinter/raw/)
> >
> > You can setup this same printer with different names to test different de=
> vi=3D
> > ce URI's - just name it in CUPS (i.e. myprinter_ipp, my_printer_socket, m=
> y_=3D
> > printer_lpd, etc) and make the device URI match what connection type your=
> t=3D
> > esting.... (do I have you confused yet?)
> >
> > Good Luck
> >
> >
> > Denny Snyder
> > IT at Johns Hopkins
> > 5801 Smith Ave Suite 3110C
> > Baltimore, MD 21209
> > (410)735-7613 : DESK
> > (410)735-4660 : FAX
> > wolverine at jhu dot edu
> >
> > -----Original Message-----
> > From: cups-bounces at easysw.com [mailto:cups-bounces at easysw.com] On Behalf =
> Of=3D
> > Anton Preheim
> > Sent: Thursday, October 29, 2009 9:57 AM
> > To: cups at easysw.com
> > Subject: Re: [cups.general] Setting IPP printer with CUPS on RHES 4.0
> >
> > Again, thank you!!
> >
> > I am more of a visual person. Therefore, it would be helpful to see I th=
> e =3D
> > syntax in the /etc/hosts file. Otherwise, I think I kinda got it, but th=
> e =3D
> > test print job does go anywhere, but stuck in the queue that I created.
> >
> > Regards,
> >
> > AP
> >
> >
> > > The only difference in printing IPP vs lpd or socket or however you hav=
> e =3D
> > it=3D3D
> > > setup now is choosing IPP from the dropdown selection box in the CUPS =
> we=3D
> > b =3D3D
> > > interface and then giving it a proper device address URI. i.e. lpd://i=
> pa=3D
> > dd=3D3D
> > > ress:raw or socket:://printername:9100 or http://blahblahblah
> > >
> > > I used printer1.domain.dom as an example... so if I put an entry for n=
> ew=3D
> > pr=3D3D
> > > inter in /etc/hosts on the CUPS server, my IPP device URI would be ipp:=
> //=3D
> > ne=3D3D
> > > wprinter/ipp/ (trust me, I have 94 printers per server on 9 servers and=
> I=3D
> > 'm=3D3D
> > > constantly going in and modifying printers)
> > >
> > > The device URI is entered in the 2nd or 3rd screen when you create a pr=
> in=3D
> > te=3D3D
> > > r...
> > >
> > > Name, Location, Description
> > > Protocol Selection (Appletalk/JetDirect, IPP, HTTP, etc)
> > > Device URI
> > > Manufacturer
> > > Model
> > >
> > > Denny Snyder
> > > IT at Johns Hopkins
> > > 5801 Smith Ave Suite 3110C
> > > Baltimore, MD 21209
> > > (410)735-7613 : DESK
> > > (410)735-4660 : FAX
> > > wolverine at jhu dot edu
> > >
> > >
> > > -----Original Message-----
> > > From: cups-bounces at easysw.com [mailto:cups-bounces at easysw.com] On Behal=
> f =3D
> > Of=3D3D
> > > Anton Preheim
> > > Sent: Wednesday, October 28, 2009 8:36 PM
> > > To: cups at easysw.com
> > > Subject: Re: [cups.general] Setting IPP printer with CUPS on RHES 4.0
> > >
> > > Hi Denny,
> > >
> > > Thanks for your response. You're correct. I used the printer GUI inte=
> rf=3D
> > ac=3D3D
> > > e to setup IP's printer with RAW print queue and we're using without mu=
> ch=3D
> > e=3D3D
> > > ffort. I have been asked to setup an IPP printer so that the users can=
> p=3D
> > ri=3D3D
> > > nt directly from Oracle.
> > >
> > > So, what I am gathering here that I will have to setup the printer in t=
> he=3D
> > /=3D3D
> > > etc/hosts file with the IP address and that's it?? I don't understand =
> ab=3D
> > ou=3D3D
> > > t the url printer1.domain.com statement at all. So, how many different=
> a=3D
> > re=3D3D
> > > a do I need to touch to successfully setup up IPP printer?? Do you hav=
> e =3D
> > ex=3D3D
> > > amples or step by step procedure?? By the way, I am new to Linux envir=
> on=3D
> > me=3D3D
> > > nt.
> > >
> > >
> > > Help (-:
> > >
> > > Thanks,
> > >
> > > AP
> > >
> > >
> > >
> > > > I take it you're attempting to print to an IPP printer such as to a n=
> ew=3D
> > er=3D3D
> > > J=3D3D3D
> > > > etDirect or newer intregrated JetDirect?
> > > >
> > > > Make sure you put the correct device URI in ... (I usually create a =
> /e=3D
> > tc=3D3D
> > > /h=3D3D3D
> > > > osts entry for each printer so I don't have to use IPs or FQDNs)
> > > >
> > > > So if the printer is pingable as printer1.domain.dom and supports IPP=
> t=3D
> > he=3D3D
> > > n =3D3D3D
> > > > the device URI would (should) be:
> > > > ipp://printer1.domain.dom/ipp/
> > > >
> > > > that's it :)
> > > >
> > > > at least that's what the JetDirects accept.. for others they sometim=
> es=3D
> > u=3D3D
> > > se=3D3D3D
> > > > a different style such as not ending /ipp/ or use /ipp/raw - you'll =
> ha=3D
> > ve=3D3D
> > > t=3D3D3D
> > > > o check the documentation for those.
> > > >
> > > > All of this is painfully easy to setup through the cups web interface=
> a=3D
> > t =3D3D
> > > ht=3D3D3D
> > > > tps://serverip:631 (provided cupsd is running AND iptables has an all=
> ow=3D
> > an=3D3D
> > > ce=3D3D3D
> > > > for your source IP to port 631 AND cupsd.conf has an allow for your =
> IP=3D
> > o=3D3D
> > > r =3D3D3D
> > > > subnet to access the admin pages within cups! - lotsa gotchas there t=
> ha=3D
> > t =3D3D
> > > ca=3D3D3D
> > > > n promote immediate hair loss :) easiest? Ssh in (with a -X just in =
> ca=3D
> > se=3D3D
> > > ) =3D3D3D
> > > > and run firefox https://localhost:631 and have it come back to your x=
> se=3D
> > rv=3D3D
> > > er=3D3D3D
> > > > .. I use xming for my xserver and putty - this way you don't have to=
> d=3D
> > o =3D3D
> > > any=3D3D3D
> > > > iptables or cupsd.conf stuff... localhost is always allowed by defa=
> ul=3D
> > t.
> > > >
> > > > Good Luck!
> > > >
> > > > Denny Snyder
> > > > IT at Johns Hopkins
> > > > 5801 Smith Ave Suite 3110C
> > > > Baltimore, MD 21209
> > > > (410)735-7613 : DESK
> > > > (410)735-4660 : FAX
> > > > wolverine at jhu dot edu
> > > >
> > > >
> > > > -----Original Message-----
> > > > From: cups-bounces at easysw.com [mailto:cups-bounces at easysw.com] On Beh=
> al=3D
> > f =3D3D
> > > Of=3D3D3D
> > > > Anton Preheim
> > > > Sent: Wednesday, October 28, 2009 3:01 PM
> > > > To: cups at easysw.com
> > > > Subject: [cups.general] Setting IPP printer with CUPS on RHES 4.0
> > > >
> > > > Hello,
> > > >
> > > > I would like to know how I can setup an IPP printer by using CUPS pro=
> to=3D
> > co=3D3D
> > > l =3D3D3D
> > > > with my Linux RedHat 4.0 server? I have to no trouble so far setting=
> u=3D
> > p =3D3D
> > > ne=3D3D3D
> > > > twork printer using the IP address. However, I am struggling on sett=
> in=3D
> > g =3D3D
> > > up=3D3D3D
> > > > the IPP printer in CUPS printing utility.
> > > >
> > > > Please help.
> > > >
> > > > Thank you in advance.
> > > >
> > > > AP
> > > >
> > > > _______________________________________________
> > > > cups mailing list
> > > > cups at easysw.com
> > > > http://lists.easysw.com/mailman/listinfo/cups
> > > >
> > >
> > > _______________________________________________
> > > cups mailing list
> > > cups at easysw.com
> > > http://lists.easysw.com/mailman/listinfo/cups
> > >
> >
> > _______________________________________________
> > cups mailing list
> > cups at easysw.com
> > http://lists.easysw.com/mailman/listinfo/cups
> >
>
> _______________________________________________
> cups mailing list
> cups at easysw.com
> http://lists.easysw.com/mailman/listinfo/cups
>
_______________________________________________
cups mailing list
cups at easysw.com
http://lists.easysw.com/mailman/listinfo/cups
More information about the cups
mailing list