Find the answer to your Linux question:
Results 1 to 7 of 7
hi its me again... as i have built myself a 2.4.0-0.26 kernel and i had specified USB support to be built into my kernel aslo for USB printer. but even ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2003
    Location
    Mumbai, India
    Posts
    28

    Configuring a USB printer


    hi its me again...

    as i have built myself a 2.4.0-0.26 kernel and i had specified USB support to be built into my kernel aslo for USB printer. but even now it does not print when i specify a generic printer.. im using a HP 656c USB printer..

    any solutions??

  2. #2
    Linux Enthusiast
    Join Date
    Jun 2002
    Location
    San Antonio
    Posts
    621
    did you set up the LPR daemon (or CUPS if you are using that?) This took me a while to set up with a regular printer, even one that is well supported (HP deskjet). But then again I was doing it from source, and have never done it before, so it took me a bit to get into the terminology. Can you see your printer as being connected to the USB? Check /proc/bus/usb to see if it might be listed in there. Also a log will be available in /var/log/messages when you try to attach/turn on the printer. If you can see that the printer is there, then write back with what printing utility you are using (LPR, lprNG, CUPS)
    I respectfully decline the invitation to join your delusion.

  3. #3
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    USB printers can generally be a problem, since some of them can be Windows printers, meaning that Windows basically feeds them directly with messages from the GDI layer. Have you ever been able to print with this printer using Linux?

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Mar 2003
    Location
    Mumbai, India
    Posts
    28
    not in linux.. but here is the contents of my /proc/bus/usb/devices file...


    T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
    B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
    D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
    P: Vendor=0000 ProdID=0000 Rev= 0.00
    S: Product=USB UHCI Root Hub
    S: SerialNumber=d000
    C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
    I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
    E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms
    T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0
    D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
    P: Vendor=03f0 ProdID=2304 Rev= 1.10
    S: Manufacturer=HEWLETT-PACKARD
    S: Product=DESKJET 656C
    S: SerialNumber=TH25H120YK
    C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 2mA
    I: If#= 0 Alt= 0 #EPs= 2 Cls=07(print) Sub=01 Prot=01 Driver=(none)
    E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl= 0ms
    E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl= 0ms
    I: If#= 0 Alt= 1 #EPs= 2 Cls=07(print) Sub=01 Prot=02 Driver=(none)
    E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl= 0ms
    E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl= 0ms
    T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=02 Dev#= 3 Spd=12 MxCh= 0
    D: Ver= 1.00 Cls=ff(vend.) Sub=ff Prot=ff MxPS= 8 #Cfgs= 1
    P: Vendor=046d ProdID=0840 Rev= 1.00
    S: Product=Camera
    C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=500mA
    I: If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
    E: Ad=81(I) Atr=01(Isoc) MxPS= 0 Ivl= 1ms
    E: Ad=82(I) Atr=03(Int.) MxPS= 1 Ivl= 16ms
    I: If#= 0 Alt= 1 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
    E: Ad=81(I) Atr=01(Isoc) MxPS=1023 Ivl= 1ms
    E: Ad=82(I) Atr=03(Int.) MxPS= 1 Ivl= 16ms

    as u see.. the printer is detected..
    so how do i use it to print...
    ??

  6. #5
    Just Joined!
    Join Date
    Mar 2003
    Location
    Mumbai, India
    Posts
    28
    oh and i am using lpr as my print utility.. any better alternatives???

  7. #6
    Linux Enthusiast
    Join Date
    Jun 2002
    Location
    San Antonio
    Posts
    621
    I think cups handles USB printers rather well. But that is just what I hear from the docs I read. Also, your using a HP Deskjet helps out, this is a rather standard model, and if you can get lpr to look on the USB for that printer then it will be fully supported. look in /etc/printcap (and associated man file) for information on how to set up a usb printer. I don't know if making a link from /dev/lpr to /dev/ttyUSBx will work, but it might?
    I respectfully decline the invitation to join your delusion.

  8. #7
    Just Joined!
    Join Date
    Mar 2003
    Location
    Mumbai, India
    Posts
    28
    thanx .. ill try that out

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •