Re: [gentoo-user] Re: CUPS and hp OfficeJet Pro
Mike Edenfield wrote: On 3/18/2010 3:55 PM, Dale wrote: I think avahi is a KDE thing. I don't really know what zeroconf is. If I recall correctly, some package said it had to have that so I turned it on. No clue what it is even after looking up the definition with euse. May as well be Greek. ;-) Zeroconf is a set of technologies that are supposed to generate a fully working IP network with no user or operator intervention. It includes three basic parts: link-local network config (e.g. IPv4LL), distribution hostname resolution (multicast DNS), and automatic service and device discovery (DNS service discovery). Used in the context of applications or services, you're usually talking specifically about the autodiscovery portion, which allows applications to find services and network devices automatically. It was primarily invented at Apple, who developed mDNS and DNS-SD, and is built into OS X as Bonjour. Avahi is just a free-software implementation of Bonjour (which was originally under the not-entirely-free Apple Public License), and from what I've read has practically overtaken Bonjour in terms of performance and features. Back onto the topic at hand: emerging cups with +zeroconf allows it to respond to service discovery requests. By default CUPS uses mDNSResponder, which is Apple's implementation; with +avahi is uses avahi instead. This means any Mac on your network will automatically see CUPS printers, as will any Linux client with avahi properly installed. Windows machines with iTunes or Safari installed probably have Bonjour as well, so they'd also benefit. On a side-note: CUPS 1.4 stopped supporting Avahi and only supports Apple's implementation, so the Gentoo devs have disabled zeroconf support completely until CUPS 1.5 (or whatever) brings back native Avahi support. --Mike Thanks for the corrections. I thought it was a KDE thing because KDE pulled it in on here. It appears to have more than one use. That's good. Dale :-) :-)
Re: [gentoo-user] Re: CUPS and hp OfficeJet Pro
James wrote: Jameswirelessat tampabay.rr.com writes: Maybe some printer wiz will figure out how to just edit the /etc/cups/printers.conf file directly Well, I hate to keep answering my own posts surely one of the more astute admins will jump in? (and keep me from looking.foolish?) So continuing to research this I find some new-2-me flags on gentoo: snip So, my question is has anyone any knowledge of these flags and with cups (/etc/cups/ppd/*driver*) ??? James This is what I have for use FLAGS: r...@smoker ~ # emerge -pv hplip cups These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] net-print/cups-1.3.11-r1 USE=X acl avahi dbus gnutls java jpeg ldap pam perl png ppds python ssl tiff zeroconf -kerberos -php -samba -slp -static -xinetd LINGUAS=en -de -es -et -fr -he -id -it -ja -pl -sv -zh_TW 0 kB [ebuild R ] net-print/hplip-3.9.12-r1 USE=gtk hpcups libnotify parport qt4 -doc -fax -hpijs -minimal -new-hpcups -policykit -scanner -snmp -static-ppds -udev-acl 0 kB Total: 2 packages (2 reinstalls), Size of downloads: 0 kB * IMPORTANT: 1 news items need reading for repository 'gentoo'. * Use eselect news to read news items. r...@smoker ~ # I have a HP printer too. I went into cups and looked for your printer, your model is in there. So, if you duplicate my USE flags, you should be able to find your printer in that LONG list of printers. I think ppds and hpcups is the key ones. I would at least start with those. Hope that helps. Dale :-) :-)
Re: [gentoo-user] Re: CUPS and hp OfficeJet Pro
On Thu, 18 Mar 2010 17:50:14 + (UTC), James wrote: So hplip and cups work together? I thought is was one or the other? hplip is a set of drivers, for use by CUPS and other programs. -- Neil Bothwick Programmer (n): A red-eyed, mumbling mammal capable of conversing with inanimate objects. signature.asc Description: PGP signature
Re: [gentoo-user] Re: CUPS and hp OfficeJet Pro
Neil Bothwick wrote: On Thu, 18 Mar 2010 17:50:14 + (UTC), James wrote: So hplip and cups work together? I thought is was one or the other? hplip is a set of drivers, for use by CUPS and other programs. I think Neil is correct. I have both. I don't know if it will work without cups, never tried it, but I know it doesn't work without hplip. I put those USE flags in my make.conf. I think cups and hplip is the only ones that use them anyway. I hope that changing that and re-emerging will get your printer working fully. Dale :-) :-)
Re: [gentoo-user] Re: CUPS and hp OfficeJet Pro
James wrote: Dalerdalek1967at gmail.com writes: [ebuild R ] net-print/cups-1.3.11-r1 USE=X acl avahi dbus gnutls java jpeg ldap pam perl png ppds python ssl tiff zeroconf -kerberos -php -samba -slp -static -xinetd LINGUAS=en -de -es -et -fr -he -id -it -ja -pl -sv -zh_TW 0 kB I could not help but notice the avahi and zeroconf flags. I do not see them. Do I have to install mono-zeroconf and avahi to see those flags? Do you find them useful? What applications are using avahi/zeroconf ? curiously, James I think avahi is a KDE thing. I don't really know what zeroconf is. If I recall correctly, some package said it had to have that so I turned it on. No clue what it is even after looking up the definition with euse. May as well be Greek. ;-) Dale :-) :-)
Re: [gentoo-user] Re: CUPS and hp OfficeJet Pro
On Thursday 18 March 2010 21:55:14 Dale wrote: James wrote: Dalerdalek1967at gmail.com writes: [ebuild R ] net-print/cups-1.3.11-r1 USE=X acl avahi dbus gnutls java jpeg ldap pam perl png ppds python ssl tiff zeroconf -kerberos -php -samba -slp -static -xinetd LINGUAS=en -de -es -et -fr -he -id -it -ja -pl -sv -zh_TW 0 kB I could not help but notice the avahi and zeroconf flags. I do not see them. Do I have to install mono-zeroconf and avahi to see those flags? Do you find them useful? What applications are using avahi/zeroconf ? curiously, James I think avahi is a KDE thing. I don't really know what zeroconf is. If I recall correctly, some package said it had to have that so I turned it on. No clue what it is even after looking up the definition with euse. May as well be Greek. ;-) Avahi, mDNSResponder and bonjour are all apps implementing zeroconf - allowing network discovery. Say you want to find a printer on the network, then you can ask out loud and your app will discover them using DNS technologies without the printer admin having to tell you the name. Normally, you have to know the printer is there and either know it's name or IP to find it. These apps remove that limitation. It is also completely unlike Windows broadcasts. avahi is the Gnome app mDNSResponder was a KDE-3.5 thing built into kdelibs, with KDE-4 they have switched to using either avahi (with mDNSResponder support enabled) or mDNSResponder itself bonjour is a MacOs app zeroconf is not an app, it is a USE flag telling kde-libs to build support for this auto-discovery. It will use avahi or MDNSResponder depending on what it finds. -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Re: CUPS and hp OfficeJet Pro
On Thursday 18 March 2010 19:55:14 Dale wrote: James wrote: Dalerdalek1967at gmail.com writes: [ebuild R ] net-print/cups-1.3.11-r1 USE=X acl avahi dbus gnutls java jpeg ldap pam perl png ppds python ssl tiff zeroconf -kerberos -php -samba -slp -static -xinetd LINGUAS=en -de -es -et -fr -he -id -it -ja -pl -sv -zh_TW 0 kB I could not help but notice the avahi and zeroconf flags. I do not see them. Do I have to install mono-zeroconf and avahi to see those flags? Do you find them useful? What applications are using avahi/zeroconf ? curiously, James I think avahi is a KDE thing. I don't really know what zeroconf is. If I recall correctly, some package said it had to have that so I turned it on. No clue what it is even after looking up the definition with euse. May as well be Greek. ;-) Hmm ... they're not. Avahi is daemon utilising multicast DNS and DNS Service Discovery for devices and services which are advertising themselves on your network. Zeroconf is the standard used for this purpose. Unless you expect to plug and play I am not sure you need them on your machine. I think that for a typical setup where you tell your PCs where the printer is there isn't much benefit to justifying installing their dependencies and running a daemon. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Re: CUPS and hp OfficeJet Pro
On 3/18/2010 3:55 PM, Dale wrote: I think avahi is a KDE thing. I don't really know what zeroconf is. If I recall correctly, some package said it had to have that so I turned it on. No clue what it is even after looking up the definition with euse. May as well be Greek. ;-) Zeroconf is a set of technologies that are supposed to generate a fully working IP network with no user or operator intervention. It includes three basic parts: link-local network config (e.g. IPv4LL), distribution hostname resolution (multicast DNS), and automatic service and device discovery (DNS service discovery). Used in the context of applications or services, you're usually talking specifically about the autodiscovery portion, which allows applications to find services and network devices automatically. It was primarily invented at Apple, who developed mDNS and DNS-SD, and is built into OS X as Bonjour. Avahi is just a free-software implementation of Bonjour (which was originally under the not-entirely-free Apple Public License), and from what I've read has practically overtaken Bonjour in terms of performance and features. Back onto the topic at hand: emerging cups with +zeroconf allows it to respond to service discovery requests. By default CUPS uses mDNSResponder, which is Apple's implementation; with +avahi is uses avahi instead. This means any Mac on your network will automatically see CUPS printers, as will any Linux client with avahi properly installed. Windows machines with iTunes or Safari installed probably have Bonjour as well, so they'd also benefit. On a side-note: CUPS 1.4 stopped supporting Avahi and only supports Apple's implementation, so the Gentoo devs have disabled zeroconf support completely until CUPS 1.5 (or whatever) brings back native Avahi support. --Mike