public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] CUPS and hp OfficeJet Pro
@ 2010-03-18 13:37 James
  2010-03-18 13:53 ` Dale
  2010-03-18 20:23 ` [gentoo-user] " Daniel Pielmeier
  0 siblings, 2 replies; 20+ messages in thread
From: James @ 2010-03-18 13:37 UTC (permalink / raw
  To: gentoo-user

Hello,


I've successfully set up many printers, using cups and HPLIP
before. I prefer to use CUPS.


So I cannot find an explicit listing for this new model HP printer:
"OfficeJet Pro 8500"; so I'm using this driver:
HP OfficeJet Pro 1150C.

Everything works, admin from localhost:631 for CUPS;
HP printer admin from the embedded web server (very cool). It 
has a multitude of settings, but no duplex setting. I'm trying
to avoid using the HP disc on an XP system for admin.......


The HP literature clearly states this is a duplex printer.
I can copy both sides of a letter size document to a single
page, just using the menu on the printer. So I can see that
it duplexes. So I'm concluding (for now) that the problem
is the CUPS (best/closest I could choose) driver does not
support Duplex printing. 


Does anyone know of an HP OfficeJet driver that supports 
duplex printing? I have not been successful in finding a 
CUPS drivers specifically for this printer:
HP OfficeJet Pro (A909g) and I really do not want to use HPLIP.


CUPS-1.4.2-r1 is installed.
Any suggestions are most welcome.

James




^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [gentoo-user] CUPS and hp OfficeJet Pro
  2010-03-18 13:37 [gentoo-user] CUPS and hp OfficeJet Pro James
@ 2010-03-18 13:53 ` Dale
  2010-03-18 14:28   ` [gentoo-user] " James
  2010-03-18 14:39   ` James
  2010-03-18 20:23 ` [gentoo-user] " Daniel Pielmeier
  1 sibling, 2 replies; 20+ messages in thread
From: Dale @ 2010-03-18 13:53 UTC (permalink / raw
  To: gentoo-user

James wrote:
> Hello,
>
>
> I've successfully set up many printers, using cups and HPLIP
> before. I prefer to use CUPS.
>
>
> So I cannot find an explicit listing for this new model HP printer:
> "OfficeJet Pro 8500"; so I'm using this driver:
> HP OfficeJet Pro 1150C.
>
> Everything works, admin from localhost:631 for CUPS;
> HP printer admin from the embedded web server (very cool). It
> has a multitude of settings, but no duplex setting. I'm trying
> to avoid using the HP disc on an XP system for admin.......
>
>
> The HP literature clearly states this is a duplex printer.
> I can copy both sides of a letter size document to a single
> page, just using the menu on the printer. So I can see that
> it duplexes. So I'm concluding (for now) that the problem
> is the CUPS (best/closest I could choose) driver does not
> support Duplex printing.
>
>
> Does anyone know of an HP OfficeJet driver that supports
> duplex printing? I have not been successful in finding a
> CUPS drivers specifically for this printer:
> HP OfficeJet Pro (A909g) and I really do not want to use HPLIP.
>
>
> CUPS-1.4.2-r1 is installed.
> Any suggestions are most welcome.
>
> James
>
>    

http://opensolaris.org/jive/message.jspa?messageID=400875#400875

About the third one down.  Maybe that will help.

Dale

:-)  :-)



^ permalink raw reply	[flat|nested] 20+ messages in thread

* [gentoo-user] Re: CUPS and hp OfficeJet Pro
  2010-03-18 13:53 ` Dale
@ 2010-03-18 14:28   ` James
  2010-03-18 14:39   ` James
  1 sibling, 0 replies; 20+ messages in thread
From: James @ 2010-03-18 14:28 UTC (permalink / raw
  To: gentoo-user

Dale <rdalek1967 <at> gmail.com> writes:


> http://opensolaris.org/jive/message.jspa?messageID=400875#400875


I tried those drivers:
6450 and the clj2605 and it made matters worse.
  
Any other ideas?

Maybe I need to start hacking the /etc/cups/printers.conf
file?

thanks,

James




^ permalink raw reply	[flat|nested] 20+ messages in thread

* [gentoo-user] Re: CUPS and hp OfficeJet Pro
  2010-03-18 13:53 ` Dale
  2010-03-18 14:28   ` [gentoo-user] " James
@ 2010-03-18 14:39   ` James
  2010-03-18 16:11     ` James
  1 sibling, 1 reply; 20+ messages in thread
From: James @ 2010-03-18 14:39 UTC (permalink / raw
  To: gentoo-user

Dale <rdalek1967 <at> gmail.com> writes:


> http://opensolaris.org/jive/message.jspa?messageID=400875#400875 
> About the third one down.  Maybe that will help.

The best driver I have found, is the 
HP OfficeJet Pro 1150C Foomatic/cdj550 (color).

It works fine except no duplex printing.....

Maybe some printer wiz will figure out how to just
edit the /etc/cups/printers.conf file directly....


I've done this before, but, it's very difficult,
for me, and I'd rather avoid it....


 For the averturest:


<DefaultPrinter hpop8500>
Info hpop8500
Location Lab-7
MakeModel HP OfficeJet Pro 1150C Foomatic/cdj850
DeviceURI socket://192.168.2.7
State Idle
StateTime 1268923376
Type 8400908
Filter application/vnd.cups-raw 0 -
Filter application/vnd.cups-postscript 0 foomatic-rip
Accepting Yes
Shared No
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
Attribute marker-colors none,none,none,none
Attribute marker-levels 25,58,62,63
Attribute marker-names black ink C4902S,yellow ink C4905S,magenta ink
C4904S,cyan ink C4903S
Attribute marker-types ink,ink,ink,ink
Attribute marker-change-time 1268923376
</Printer>
<Printer LaserJet>
Info LaserJet
MakeModel HP LaserJet Series CUPS v1.1
DeviceURI socket://192.168.2.3
State Idle
StateTime 1225714496
Type 12372
Filter application/vnd.cups-raw 0 -
Filter application/vnd.cups-raster 0 rastertohp
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer




James









^ permalink raw reply	[flat|nested] 20+ messages in thread

* [gentoo-user] Re: CUPS and hp OfficeJet Pro
  2010-03-18 14:39   ` James
@ 2010-03-18 16:11     ` James
  2010-03-18 16:40       ` Dale
  0 siblings, 1 reply; 20+ messages in thread
From: James @ 2010-03-18 16:11 UTC (permalink / raw
  To: gentoo-user

James <wireless <at> 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:

eix hplip
* net-print/hplip
     Available versions:  2.8.6b ~3.9.8-r3 3.9.12-r1 ~3.10.2 {cupsddk dbus doc
fax gtk +hpcups hpijs libnotify minimal -new-hpcups parport policykit ppds qt4
scanner snmp static-ppds -udev-acl}

eix -e cups
[I] net-print/cups
     Available versions:  1.3.11-r1!t (~)1.3.11-r2!t (~)1.4.2-r1!t {X acl avahi
dbus debug gnutls java (+)jpeg kerberos ldap linguas_da linguas_de linguas_en
linguas_es linguas_et linguas_eu linguas_fi linguas_fr linguas_he linguas_id
linguas_it linguas_ja linguas_ko linguas_nl linguas_no linguas_pl linguas_pt
linguas_pt_BR linguas_ru linguas_sv linguas_zh linguas_zh_TW pam perl php (+)png
ppds python samba slp (+)ssl static (+)tiff xinetd zeroconf}

ef (explain flag) is a little script from Ciaran...

ef cupsddk
Add support for net-print/cupsddk which enables dynamic PPD files (recommended)

ef hpcups
Build the hpcups driver for cups (by HP)

ef new-hpcups
Build the new hpcups driver for cups which is no longer based on APDK (by HP)


Sooooo, my question is has anyone any knowledge of these flags
and  with cups (/etc/cups/ppd/*driver*)

???


James




^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [gentoo-user] Re: CUPS and hp OfficeJet Pro
  2010-03-18 16:11     ` James
@ 2010-03-18 16:40       ` Dale
  2010-03-18 17:50         ` James
  2010-03-18 18:13         ` James
  0 siblings, 2 replies; 20+ messages in thread
From: Dale @ 2010-03-18 16:40 UTC (permalink / raw
  To: gentoo-user

James wrote:
> James<wireless<at>  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>
>
>
> Sooooo, 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:

root@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.

root@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 LOOOOONG list of printers.

I think ppds and hpcups is the key ones.  I would at least start with 
those.

Hope that helps.

Dale

:-)  :-)



^ permalink raw reply	[flat|nested] 20+ messages in thread

* [gentoo-user] Re: CUPS and hp OfficeJet Pro
  2010-03-18 16:40       ` Dale
@ 2010-03-18 17:50         ` James
  2010-03-18 18:34           ` Neil Bothwick
  2010-03-18 18:13         ` James
  1 sibling, 1 reply; 20+ messages in thread
From: James @ 2010-03-18 17:50 UTC (permalink / raw
  To: gentoo-user

Dale <rdalek1967 <at> gmail.com> writes:


> I think ppds and hpcups is the key ones.  I would at least start with 
> those.


So hplip and cups work together? I thought is was one
or the other?


You use the hpcups flag and not the new-hpcups flag?


James






^ permalink raw reply	[flat|nested] 20+ messages in thread

* [gentoo-user] Re: CUPS and hp OfficeJet Pro
  2010-03-18 16:40       ` Dale
  2010-03-18 17:50         ` James
@ 2010-03-18 18:13         ` James
  2010-03-18 19:55           ` Dale
  1 sibling, 1 reply; 20+ messages in thread
From: James @ 2010-03-18 18:13 UTC (permalink / raw
  To: gentoo-user

Dale <rdalek1967 <at> 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






^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [gentoo-user] Re: CUPS and hp OfficeJet Pro
  2010-03-18 17:50         ` James
@ 2010-03-18 18:34           ` Neil Bothwick
  2010-03-18 19:52             ` Dale
  0 siblings, 1 reply; 20+ messages in thread
From: Neil Bothwick @ 2010-03-18 18:34 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 316 bytes --]

On Thu, 18 Mar 2010 17:50:14 +0000 (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.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [gentoo-user] Re: CUPS and hp OfficeJet Pro
  2010-03-18 18:34           ` Neil Bothwick
@ 2010-03-18 19:52             ` Dale
  0 siblings, 0 replies; 20+ messages in thread
From: Dale @ 2010-03-18 19:52 UTC (permalink / raw
  To: gentoo-user

Neil Bothwick wrote:
> On Thu, 18 Mar 2010 17:50:14 +0000 (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

:-)  :-)



^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [gentoo-user] Re: CUPS and hp OfficeJet Pro
  2010-03-18 18:13         ` James
@ 2010-03-18 19:55           ` Dale
  2010-03-18 20:09             ` Alan McKinnon
                               ` (2 more replies)
  0 siblings, 3 replies; 20+ messages in thread
From: Dale @ 2010-03-18 19:55 UTC (permalink / raw
  To: gentoo-user

James wrote:
> Dale<rdalek1967<at>  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

:-)  :-)



^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [gentoo-user] Re: CUPS and hp OfficeJet Pro
  2010-03-18 19:55           ` Dale
@ 2010-03-18 20:09             ` Alan McKinnon
  2010-03-18 20:18             ` Mick
  2010-03-18 20:31             ` Mike Edenfield
  2 siblings, 0 replies; 20+ messages in thread
From: Alan McKinnon @ 2010-03-18 20:09 UTC (permalink / raw
  To: gentoo-user

On Thursday 18 March 2010 21:55:14 Dale wrote:
> James wrote:
> > Dale<rdalek1967<at>  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



^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [gentoo-user] Re: CUPS and hp OfficeJet Pro
  2010-03-18 19:55           ` Dale
  2010-03-18 20:09             ` Alan McKinnon
@ 2010-03-18 20:18             ` Mick
  2010-03-18 20:31             ` Mike Edenfield
  2 siblings, 0 replies; 20+ messages in thread
From: Mick @ 2010-03-18 20:18 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 1423 bytes --]

On Thursday 18 March 2010 19:55:14 Dale wrote:
> James wrote:
> > Dale<rdalek1967<at>  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

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [gentoo-user] CUPS and hp OfficeJet Pro
  2010-03-18 13:37 [gentoo-user] CUPS and hp OfficeJet Pro James
  2010-03-18 13:53 ` Dale
@ 2010-03-18 20:23 ` Daniel Pielmeier
  2010-03-19  5:20   ` Philip Webb
  2010-03-19 14:44   ` [gentoo-user] " James
  1 sibling, 2 replies; 20+ messages in thread
From: Daniel Pielmeier @ 2010-03-18 20:23 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 2087 bytes --]

James schrieb am 18.03.2010 14:37:

> So I cannot find an explicit listing for this new model HP printer:
> "OfficeJet Pro 8500"; so I'm using this driver:
> HP OfficeJet Pro 1150C.

According to http://hplipopensource.com/hplip-web/supported_devices/index.html
your printer is supported sine hplip 3.9.2, so there should be a driver.

New versions of hplip do not install ppd files for every printer they support
anymore. The ppd file is generated at run time by using hp-setup.

> eix hplip
> * net-print/hplip
>      Available versions:  2.8.6b ~3.9.8-r3 3.9.12-r1 ~3.10.2 {cupsddk dbus doc
> fax gtk +hpcups hpijs libnotify minimal -new-hpcups parport policykit ppds qt4
> scanner snmp static-ppds -udev-acl}

About the hplip use flags

> cupsddk

Not relevant as it has been removed in recent versions of hplip. With newer
versions of cups you wont need cupsddk as it has been integrated into cups.

> hpcups

Is the new printer driver which replaces the hpijs driver.

> hpijs

See above.

> new-hpcups

You don't need it.

> static-ppds

It seems for some printers the new method of creating the ppd file is not
available. So if you have problems with installing your printer by using
hp-setup you should try installing hplip with the static-ppds flag and try
hp-setup again.

> So hplip and cups work together? I thought is was one
> or the other?
>
>
> You use the hpcups flag and not the new-hpcups flag?

Hplip needs cups!

> 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 ?

You don't need avahi or zeroconf for hplip, which does not work for current
versions of hplip due to bugs in cups anyway. This is only needed if you have a
networked printer. You can still detect the printer without the mDNS
(avahi,zeroconf) method through SLP. You should be able to select the detection
method at run time with hp-setup.

-- 
Daniel Pielmeier


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [gentoo-user] Re: CUPS and hp OfficeJet Pro
  2010-03-18 19:55           ` Dale
  2010-03-18 20:09             ` Alan McKinnon
  2010-03-18 20:18             ` Mick
@ 2010-03-18 20:31             ` Mike Edenfield
  2010-03-19  8:56               ` Dale
  2 siblings, 1 reply; 20+ messages in thread
From: Mike Edenfield @ 2010-03-18 20:31 UTC (permalink / raw
  To: gentoo-user

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



^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [gentoo-user] CUPS and hp OfficeJet Pro
  2010-03-18 20:23 ` [gentoo-user] " Daniel Pielmeier
@ 2010-03-19  5:20   ` Philip Webb
  2010-03-19 12:02     ` Peter Humphrey
  2010-03-19 20:35     ` Daniel Pielmeier
  2010-03-19 14:44   ` [gentoo-user] " James
  1 sibling, 2 replies; 20+ messages in thread
From: Philip Webb @ 2010-03-19  5:20 UTC (permalink / raw
  To: gentoo-user

100318 Daniel Pielmeier wrote:
>> hpcups
> Is the new printer driver which replaces the hpijs driver.
>> hpijs
> See above.

Well, I replaced 'hpijs' with 'hpcups' & my printer wouldn't work,
so I restored 'hpijs' & dropped 'hpcups' & all was ok.
It's an ancient Deskjet 500C with the b+w '500' driver.
Installed versions: Cups-1.3.11-r1 Hplip-3.9.12-r1 (both stable).

Any comments or helpful suggestions ?

-- 
========================,,============================================
SUPPORT     ___________//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT    `-O----------O---'   purslowatchassdotutorontodotca




^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [gentoo-user] Re: CUPS and hp OfficeJet Pro
  2010-03-18 20:31             ` Mike Edenfield
@ 2010-03-19  8:56               ` Dale
  0 siblings, 0 replies; 20+ messages in thread
From: Dale @ 2010-03-19  8:56 UTC (permalink / raw
  To: gentoo-user

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

:-)  :-)



^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [gentoo-user] CUPS and hp OfficeJet Pro
  2010-03-19  5:20   ` Philip Webb
@ 2010-03-19 12:02     ` Peter Humphrey
  2010-03-19 20:35     ` Daniel Pielmeier
  1 sibling, 0 replies; 20+ messages in thread
From: Peter Humphrey @ 2010-03-19 12:02 UTC (permalink / raw
  To: gentoo-user

On Friday 19 March 2010 05:20:47 Philip Webb wrote:

> Well, I replaced 'hpijs' with 'hpcups' & my printer wouldn't work,
> so I restored 'hpijs' & dropped 'hpcups' & all was ok.

I considered doing the same for my DJ4260, but I chickened out as I've 
only just managed to get it working at all after months of struggling, 
culminating with a complete reinstallation of the server it's connected 
to. It stays exactly as it is pro tem:

[ebuild   R   ] net-print/cups-1.3.11-r1  USE="X acl dbus jpeg pam perl 
php png python ssl tiff -avahi -gnutls -java -kerberos -ldap -ppds -samba 
-slp -static -xinetd -zeroconf"
[ebuild   R   ] net-print/hplip-3.9.12-r1  USE="hpcups hpijs libnotify -
doc -fax -gtk -minimal -new-hpcups -parport -policykit -qt4 -scanner -
snmp -static-ppds -udev-acl" 0 kB

-- 
Rgds
Peter.



^ permalink raw reply	[flat|nested] 20+ messages in thread

* [gentoo-user] Re: CUPS and hp OfficeJet Pro
  2010-03-18 20:23 ` [gentoo-user] " Daniel Pielmeier
  2010-03-19  5:20   ` Philip Webb
@ 2010-03-19 14:44   ` James
  1 sibling, 0 replies; 20+ messages in thread
From: James @ 2010-03-19 14:44 UTC (permalink / raw
  To: gentoo-user

Daniel Pielmeier <billie <at> gentoo.org> writes:

> You don't need avahi or zeroconf for hplip, which does not work for current
> versions of hplip due to bugs in cups anyway. This is only needed if you have a
> networked printer. You can still detect the printer without the mDNS
> (avahi,zeroconf) method through SLP. You should be able to select the detection
> method at run time with hp-setup.

hplip and cups are working fine together. Here are my flags
(for now) that are working fine:

net-print/cups-1.4.2-r1  USE="X acl dbus java jpeg ldap pam 
perl php png python slp ssl tiff

net-print/hplip-3.9.12-r1  USE="gtk hpcups qt4 scanner snmp


Agreed. My printers all have ethernet; work off of the socket.
However, the printer supports mDNS (from the embedded web server)

"
    Enable mDNS
  	This specifies the mDNS service name assigned to the device. This name is a
string that can consist of any UTF-8 characters and can be up to 63 bytes in
length. (If ASCII characters are used, the name can be up to 63 characters long,
but if other characters are used, the name might be shorter.) This name is
persistent and is used to resolve a particular device if socket information
(such as the IP address) changes from session to session. Apple Bonjour uses
this service. The default service name is the printer model and the LAN Hardware
(MAC) address.
  	
mDNS Service Name: "

 

My experience is embedded software development companies are all
over "zeroconf".


Open source folks are all about avahi.


Most are confused, but not on this list, folks did a good job
of fleshing out the minutia.....
The whole zeroconf thing is very similar to the functions of
snmp, just extended and repackaged, methinks.


The printer is very cool.....
and less than $200 US at costco....


Thanks to all concerning zeroconf et all.

Thanks for the flags discussion.


Working great.
James







^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [gentoo-user] CUPS and hp OfficeJet Pro
  2010-03-19  5:20   ` Philip Webb
  2010-03-19 12:02     ` Peter Humphrey
@ 2010-03-19 20:35     ` Daniel Pielmeier
  1 sibling, 0 replies; 20+ messages in thread
From: Daniel Pielmeier @ 2010-03-19 20:35 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 863 bytes --]

Philip Webb schrieb am 19.03.2010 06:20:
> 100318 Daniel Pielmeier wrote:
>>> hpcups
>> Is the new printer driver which replaces the hpijs driver.
>>> hpijs
>> See above.
> 
> Well, I replaced 'hpijs' with 'hpcups' & my printer wouldn't work,
> so I restored 'hpijs' & dropped 'hpcups' & all was ok.
> It's an ancient Deskjet 500C with the b+w '500' driver.
> Installed versions: Cups-1.3.11-r1 Hplip-3.9.12-r1 (both stable).
> 
> Any comments or helpful suggestions ?
> 

As you sad it is a very old model and already reached "End of support" [1]
state. Hpcups is the new driver and I guess such old models are not supported by
the new driver. Just use the hpijs driver then. The hpijs driver wont disappear
from hplip in the near future.

[1] http://hplipopensource.com/hplip-web/models/deskjet/deskjet_500c.html

-- 
Daniel Pielmeier


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2010-03-19 20:36 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-18 13:37 [gentoo-user] CUPS and hp OfficeJet Pro James
2010-03-18 13:53 ` Dale
2010-03-18 14:28   ` [gentoo-user] " James
2010-03-18 14:39   ` James
2010-03-18 16:11     ` James
2010-03-18 16:40       ` Dale
2010-03-18 17:50         ` James
2010-03-18 18:34           ` Neil Bothwick
2010-03-18 19:52             ` Dale
2010-03-18 18:13         ` James
2010-03-18 19:55           ` Dale
2010-03-18 20:09             ` Alan McKinnon
2010-03-18 20:18             ` Mick
2010-03-18 20:31             ` Mike Edenfield
2010-03-19  8:56               ` Dale
2010-03-18 20:23 ` [gentoo-user] " Daniel Pielmeier
2010-03-19  5:20   ` Philip Webb
2010-03-19 12:02     ` Peter Humphrey
2010-03-19 20:35     ` Daniel Pielmeier
2010-03-19 14:44   ` [gentoo-user] " James

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox