Author Topic: USB printer  (Read 2429 times)

orsomannaro

  • Zen Apprentice
  • *
  • Posts: 18
  • Karma: +0/-1
    • View Profile
USB printer
« on: August 09, 2010, 11:38:32 am »
I've upgrade to EBox 1.4 but my USB printer still doesn't work.


# lsusb
Bus 004 Device 001: ID 0000:0000 
Bus 003 Device 001: ID 0000:0000 
Bus 002 Device 001: ID 0000:0000 
Bus 005 Device 001: ID 0000:0000 
Bus 001 Device 004: ID 03f0:1212 Hewlett-Packard
Bus 001 Device 001: ID 0000:0000


# ls /dev/usb
lp0


# cat /etc/cups/printers.conf
# __EBOX__ TAG #
<Printer HpDj9800>
Info HP DeskJet 9800 hpijs
Location
DeviceURI usb:/dev/usb/lp0
State Idle
Accepting Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
</Printer>
# END __EBOX__ TAG #


#cat /etc/cups/cupsd.conf >/dev/usb/lp0
print something...


Can someone to help me?

orsomannaro

  • Zen Apprentice
  • *
  • Posts: 18
  • Karma: +0/-1
    • View Profile
Re: USB printer
« Reply #1 on: August 09, 2010, 05:59:35 pm »
I'm able to adjust the printers configuration file, but EBox overwrite it when I restart the print service...

Svein Wisnaes

  • Zen Samurai
  • ****
  • Posts: 325
  • Karma: +5/-0
  • A Norwegian living in Brazil
    • View Profile
    • Oceanwatcher Media | Svein Wisnaes
Re: USB printer
« Reply #2 on: August 09, 2010, 08:26:05 pm »
There are known problem with USB printers on 1.4.2
Regards,

Oceanwatcher
Do NOT use PM for support. This is a community forum and support is not on a one-on-one basis.
READ BEFORE POSTING - How to make a good post - click here

exekias

  • Zentyal Staff
  • Zen Warrior
  • *****
  • Posts: 196
  • Karma: +21/-0
    • View Profile
    • The Big Bug Theory
Re: USB printer
« Reply #3 on: August 09, 2010, 08:35:57 pm »
Hi orsomannaro,

Can you explain the differences between your configuration and eBox one? Maybe it help us to find out ebox-printers problems :)

Thank you for your help!

orsomannaro

  • Zen Apprentice
  • *
  • Posts: 18
  • Karma: +0/-1
    • View Profile
Re: USB printer
« Reply #4 on: August 11, 2010, 08:41:06 am »
Can you explain the differences between your configuration and eBox one? Maybe it help us to find out ebox-printers problems :)

Following VaineDragon suggestion I tried to create a new printer using Cups web interface and I realize that the Cups wizard show some printer DeviceURI that doesn't appear in EBox wizard.

So in /etc/cups/printers.conf I had replace EBox DeviceURI:

DeviceURI usb:/dev/usb/lp0

with Cups DeviceURI:

DeviceURI usb://HP/Deskjet%209800?serial=MY75O2Z0PH046K

and than the printer work correctly.

Now the problem is: if I restart the server, EBox overwrite printers.conf file.