[gentoo-user] Re: CUPS and hp OfficeJet Pro

2010-03-18 Thread James
Dale  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




[gentoo-user] Re: CUPS and hp OfficeJet Pro

2010-03-18 Thread James
Dale  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:



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


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









[gentoo-user] Re: CUPS and hp OfficeJet Pro

2010-03-18 Thread James
James  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)


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

???


James




[gentoo-user] Re: CUPS and hp OfficeJet Pro

2010-03-18 Thread James
Dale  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






[gentoo-user] Re: CUPS and hp OfficeJet Pro

2010-03-18 Thread James
Dale  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






[gentoo-user] Re: CUPS and hp OfficeJet Pro

2010-03-19 Thread James
Daniel Pielmeier  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







Re: [gentoo-user] Re: CUPS and hp OfficeJet Pro

2010-03-18 Thread Dale

James wrote:

James  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

2010-03-18 Thread Neil Bothwick
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

2010-03-18 Thread Dale

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

2010-03-18 Thread Dale

James wrote:

Dale  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

2010-03-18 Thread Alan McKinnon
On Thursday 18 March 2010 21:55:14 Dale wrote:
> James wrote:
> > Dale  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

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

2010-03-18 Thread Mike Edenfield
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



Re: [gentoo-user] Re: CUPS and hp OfficeJet Pro

2010-03-19 Thread Dale

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

:-)  :-)