I want to setup an USB printer. So I http://localhost:631/, and notice
that the interface has changed. And when I try to add a printer, the only
options for a local printer are SCSI-printer and HAL printing backend. And
on the next screen, I have to enter the device URI by hand. How should I
know what to enter there? And wasn't there an autodetect feature? Is the
new CUPS (1.4.3) generally behaving like this lately, or is something
wrong with my setup?
The usb use flag is set. lsusb shows the printer as "Bus 001 Device 003:
ID 04a9:10a5 Canon, Inc. iP5200".
What is a HAL printing backend? Do I have to add some crazy fdi stuff for
the printer? CUPS does not even have a hal use flag. Dale, help!
Wonko
05-15-2010, 10:33 PM
Mick
USB printer and new cups
On Saturday 15 May 2010 22:56:22 Alex Schuster wrote:
> Hi there!
>
> I want to setup an USB printer. So I http://localhost:631/, and notice
> that the interface has changed. And when I try to add a printer, the only
> options for a local printer are SCSI-printer and HAL printing backend. And
> on the next screen, I have to enter the device URI by hand. How should I
> know what to enter there? And wasn't there an autodetect feature? Is the
> new CUPS (1.4.3) generally behaving like this lately, or is something
> wrong with my setup?
>
> The usb use flag is set. lsusb shows the printer as "Bus 001 Device 003:
> ID 04a9:10a5 Canon, Inc. iP5200".
>
> What is a HAL printing backend? Do I have to add some crazy fdi stuff for
> the printer? CUPS does not even have a hal use flag. Dale, help!
Did you ever get this printer working with this particular gentoo
installation? If not have you seen this page:
http://en.gentoo-wiki.com/wiki/Canon_Pixma_Series
They make suggestions for drivers that may work. CUPs requires that you have
installed the correct drivers for your device first. Sorry I can't help more.
Last time I tried to get a canon working was more than 5 years ago and I
couldn't find a driver or ppd info at the time.
HTH.
--
Regards,
Mick
05-15-2010, 10:38 PM
Peter Ruskin
USB printer and new cups
On Saturday 15 May 2010 22:56:22 Alex Schuster wrote:
> Hi there!
>
> I want to setup an USB printer. So I http://localhost:631/, and
> notice that the interface has changed. And when I try to add a
> printer, the only options for a local printer are SCSI-printer
> and HAL printing backend. And on the next screen, I have to enter
> the device URI by hand. How should I know what to enter there?
> And wasn't there an autodetect feature? Is the new CUPS (1.4.3)
> generally behaving like this lately, or is something wrong with
> my setup?
>
> The usb use flag is set. lsusb shows the printer as "Bus 001
> Device 003: ID 04a9:10a5 Canon, Inc. iP5200".
>
> What is a HAL printing backend? Do I have to add some crazy fdi
> stuff for the printer? CUPS does not even have a hal use flag.
> Dale, help!
>
> Wonko
I want to setup an USB printer. So I http://localhost:631/, and notice
that the interface has changed. And when I try to add a printer, the only
options for a local printer are SCSI-printer and HAL printing backend. And
on the next screen, I have to enter the device URI by hand. How should I
know what to enter there? And wasn't there an autodetect feature? Is the
new CUPS (1.4.3) generally behaving like this lately, or is something
wrong with my setup?
The usb use flag is set. lsusb shows the printer as "Bus 001 Device 003:
ID 04a9:10a5 Canon, Inc. iP5200".
What is a HAL printing backend? Do I have to add some crazy fdi stuff for
the printer? CUPS does not even have a hal use flag. Dale, help!
Wonko
Well I have a HP. I had trouble the other day, read that as the printer
was turned off and I didn't know it, so I deleted the printer. That was
when I realized it was turned off, so I turned it back on and hplip or
something just added the printer without me doing anything. KDE showed
a little pop up and it was done and it has printed ever since. This
could be habit forming tho. ;-) I like things that "just work".
Do you have ppds and dbus USE flag enabled for cups? As far as I know,
that is all I enabled for mine. Just for reference, this is my USE flags:
Hm. Glad you brought the subject up because I just noticed that I no longer
need the ntfs useflag. I once had an MS Windows partition for those very rare
occasions when I was forced to run a Windows application, but now I can use
wine or VirtualBox to run any Windows software that my banker/broker/city/state/
federal government may coerce me into using.
Alex: when I plug in my HP USB printer, I see this in dmesg:
usb 2-2: new full speed USB device using uhci_hcd and address 2
usb 2-2: New USB device found, idVendor=03f0, idProduct=1617
usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 2-2: Product: hp LaserJet 3015
usb 2-2: Manufacturer: Hewlett-Packard
usb 2-2: SerialNumber: 00CNBM369103
usblp0: USB Bidirectional printer dev 2 if 0 alt 1 proto 2 vid 0x03F0 pid 0x1617
usbcore: registered new interface driver usblp
Do you see somethinhg different?
05-16-2010, 01:56 AM
Alex Schuster
USB printer and new cups
Mick writes:
> On Saturday 15 May 2010 22:56:22 Alex Schuster wrote:
> > I want to setup an USB printer. So I http://localhost:631/, and
> > notice that the interface has changed. And when I try to add a
> > printer, the only options for a local printer are SCSI-printer and
> > HAL printing backend. And on the next screen, I have to enter the
> > device URI by hand. How should I know what to enter there? And
> > wasn't there an autodetect feature? Is the new CUPS (1.4.3)
> > generally behaving like this lately, or is something wrong with my
> > setup?
> >
> > The usb use flag is set. lsusb shows the printer as "Bus 001 Device
> > 003: ID 04a9:10a5 Canon, Inc. iP5200".
> >
> > What is a HAL printing backend? Do I have to add some crazy fdi stuff
> > for the printer? CUPS does not even have a hal use flag. Dale, help!
>
> Did you ever get this printer working with this particular gentoo
> installation?
I never used an USB printer at all. But I installed a lot of network
printers, and one local parallel printer. I could select the device in the
web frontend then, it had stuff like 'LPT #1' or 'USB Printer #1' in the
device menu.
The Gentoo Printing Howto has this:
USB Printer #1 Select this when the printer is locally attached to a
USB port. The printer name should automatically be
appended to the device name.
But I see no USB printer here.
> If not have you seen this page:
>
> http://en.gentoo-wiki.com/wiki/Canon_Pixma_Series
>
> They make suggestions for drivers that may work. CUPs requires that
> you have installed the correct drivers for your device first. Sorry I
> can't help more. Last time I tried to get a canon working was more
> than 5 years ago and I couldn't find a driver or ppd info at the time.
Thanks, this made me install gutenprint which claims to support the
printer directly. I thought I had to use the iP4200 driver and hope it
would work.
But my main problem is another one: How do I tell CUPS which device my
printer is? I tried usb:/dev/usb/lp0 (found this notation when googling
'usb printer device uri'), but nothing happens when I try to print.
And now it gets really crazy: In the printer overview I see not only the
'iP5200' I just created, but also a 'iP52002' that has the device URI
'usb://Canon/iP5200'. What did create this?!
Hm. Glad you brought the subject up because I just noticed that I no
longer
need the ntfs useflag. I once had an MS Windows partition for those
very rare
occasions when I was forced to run a Windows application, but now I
can use
wine or VirtualBox to run any Windows software that my
banker/broker/city/state/
federal government may coerce me into using.
<< SNIP >>
That's not the global USE flags, just the ones turned on for cups. I
ran emerge -vp cups and then copied the USE flags from that. This is my
global USE flags:
I suspect that a lot of those are no longer valid tho. I need to clean
house on those. Any volunteers? lol I think one of the eix commands
will show the dead ones. I can't recall at the moment. Oh well.
Dale
:-) :-)
05-16-2010, 02:11 AM
Alex Schuster
USB printer and new cups
walt writes:
> On 05/15/2010 04:01 PM, Dale wrote:
> > Just for reference, this is my USE flags:
> >
> > USE="X avahi dbus gnutls java jpeg ldap pam perl png ppds python ssl
> > tiff zeroconf -acl -kerberos -php -samba -slp -static -xinetd"
>
> Good grief, Dale, you're almost stark nekkid! Where are all the rest
> of your useflags?
That was my first impression also, but those are only the USE flags for
cups. Mine are a little different, but I have another cups version (Dale
does not even seem have a usb USE flag):
> Alex: when I plug in my HP USB printer, I see this in dmesg:
>
> usb 2-2: new full speed USB device using uhci_hcd and address 2
> usb 2-2: New USB device found, idVendor=03f0, idProduct=1617
> usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
> usb 2-2: Product: hp LaserJet 3015
> usb 2-2: Manufacturer: Hewlett-Packard
> usb 2-2: SerialNumber: 00CNBM369103
> usblp0: USB Bidirectional printer dev 2 if 0 alt 1 proto 2 vid 0x03F0
> pid 0x1617 usbcore: registered new interface driver usblp
>
> Do you see somethinhg different?
Less verbose, but similar:
usb 1-2: new high speed USB device using ehci_hcd and address 3
usblp0: USB Bidirectional printer dev 3 if 0 alt 0 proto 2 vid 0x04A9 pid
0x10A5
usbcore: registered new interface driver usblp
There is a message in syslog that is being repeated hundreds of times:
May 15 22:25:55 [kernel] usb 1-2: usbfs: interface 0 claimed by usblp
while 'usb' sets config #1
- Last output repeated 58 times -
Good grief, Dale, you're almost stark nekkid! Where are all the rest
of your useflags?
That was my first impression also, but those are only the USE flags for
cups. Mine are a little different, but I have another cups version (Dale
does not even seem have a usb USE flag):
I noticed that but my cups version does not appear to even use the usb
USE flag. It's not enabled, but it is not disabled either. I do have
usb enabled globally tho. Strange but my printer works fine.
This made me think, hplip is not running anymore. This is weird.
Printers on this time too. lol
Dale
:-) :-)
05-16-2010, 04:16 AM
William Kenworthy
USB printer and new cups
On Sun, 2010-05-16 at 04:11 +0200, Alex Schuster wrote:
> walt writes:
>
> > On 05/15/2010 04:01 PM, Dale wrote:
> > > Just for reference, this is my USE flags:
> > >
> > > USE="X avahi dbus gnutls java jpeg ldap pam perl png ppds python ssl
> > > tiff zeroconf -acl -kerberos -php -samba -slp -static -xinetd"
> >
> > Good grief, Dale, you're almost stark nekkid! Where are all the rest
> > of your useflags?
>
> That was my first impression also, but those are only the USE flags for
> cups. Mine are a little different, but I have another cups version (Dale
> does not even seem have a usb USE flag):
>
> USE="X acl dbus java jpeg ldap linguas_de pam perl php png python samba
> slp ssl tiff usb -debug -gnutls -kerberos -static -xinetd)
>
>
> > Alex: when I plug in my HP USB printer, I see this in dmesg:
> >
> > usb 2-2: new full speed USB device using uhci_hcd and address 2
> > usb 2-2: New USB device found, idVendor=03f0, idProduct=1617
> > usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
> > usb 2-2: Product: hp LaserJet 3015
> > usb 2-2: Manufacturer: Hewlett-Packard
> > usb 2-2: SerialNumber: 00CNBM369103
> > usblp0: USB Bidirectional printer dev 2 if 0 alt 1 proto 2 vid 0x03F0
> > pid 0x1617 usbcore: registered new interface driver usblp
> >
> > Do you see somethinhg different?
>
> Less verbose, but similar:
> usb 1-2: new high speed USB device using ehci_hcd and address 3
> usblp0: USB Bidirectional printer dev 3 if 0 alt 0 proto 2 vid 0x04A9 pid
> 0x10A5
> usbcore: registered new interface driver usblp
>
> There is a message in syslog that is being repeated hundreds of times:
> May 15 22:25:55 [kernel] usb 1-2: usbfs: interface 0 claimed by usblp
> while 'usb' sets config #1
> - Last output repeated 58 times -
>
> Wonko
>
A stab in the dark:
Does udev know about the printer? - this identifies a new usb device to
the kernel as a usb printer instead of just an unknown usb device.
Do you have sane installed? - if its a multifunction device sane may
have grabbed it first (for the scanner) locking the printer out.
Requires some manual tuning of the udev rules if this is the case (this
is required by my epson multifunction)
BillK
--
William Kenworthy <billk@iinet.net.au>
Home in Perth!