Author Topic: How to add unknowprinter  (Read 2302 times)

Apte

  • Zen Apprentice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
How to add unknowprinter
« on: September 28, 2009, 09:18:05 am »
Hello,
I would like to install a printer ( Ricoh ), from the ebox frontend.
The needed printer is not listed in the combo box.

But it exist as well in the last foomatic database available from openprinting.

How to update this ? ( or merge the last foomatic database and actual ebox release )

Note: I tried several methods and Google search before... none succed.

Thanks.
Philippe

thomas

  • Zen Monk
  • **
  • Posts: 67
  • Karma: +1/-0
    • View Profile
Re: How to add unknowprinter
« Reply #1 on: September 28, 2009, 09:36:04 pm »
Did you try the cups gui?
(http://ebox-ip:631)

Apte

  • Zen Apprentice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: How to add unknowprinter
« Reply #2 on: September 29, 2009, 07:55:21 am »
I tried several methods but, up to know, admin pages of cups are locked.
Trying this way...
And succeed but:

Admin pages are locked by Ubuntu installation means
- Needed to add user cupsys eand group shadow
- Needed to overwrite manually cups.conf with allow all in different section (see a lot of post on Ubuntu forums )

The only problem wich remain is that allowing external access is overwritted by ebox-platform.
Thus you need to edit, restart, adding your printer and back to ebox.
Not very clean procedure.

Does any ebox staff have any other method ??
« Last Edit: September 29, 2009, 10:55:26 am by Apte »

thomas

  • Zen Monk
  • **
  • Posts: 67
  • Karma: +1/-0
    • View Profile
Re: How to add unknowprinter
« Reply #3 on: September 29, 2009, 11:07:04 pm »
That's the procedure. The default cups.conf (ebox's conf) does not allow external access so you have to do all those things. Maybe the developers should add a field to upload the ppd file, so that we do not have to execute all these steps every time we need to add a new printer.
Anyway, they have done an excellent job so far, and that procedure is not important, comparing with the time we have earned from their job in all other modules.

sixstone

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1417
  • Karma: +26/-0
    • View Profile
    • Sixstone's blog
Re: How to add unknowprinter
« Reply #4 on: September 30, 2009, 12:24:00 am »
Hello thomas and Apte,

As you have mentioned, ebox-printers package is not one of the most developed modules. It requires much love but I have added your suggestions to the printers module wishlist [1].

Thanks very much for your feedback,

Cheers,

[1] http://trac.ebox-platform.com/wiki/Document/Development/Wishlist/Module/Printers
My secret is my silence...

SamK

  • Zen Samurai
  • ****
  • Posts: 283
  • Karma: +3/-0
    • View Profile
Re: How to add unknowprinter
« Reply #5 on: September 30, 2009, 11:58:46 am »
@sixstone

Is it possible to provide an indication of when development of the ebox-printers module might begin?  It is good to see the roadmap for version 1.4 being populated, but printers are not listed to receive the 'love' you mention.  An idea of where it is in the list of priorities will be very helpful.

javi

  • Zen Hero
  • *****
  • Posts: 1042
  • Karma: +0/-0
    • View Profile
Re: How to add unknowprinter
« Reply #6 on: September 30, 2009, 01:10:48 pm »
I think the best option here is trying to provide better defaults for the use of CUPS.

The main problem we face is that one of the libraries we use to generate the available printers is broken, and by now, it's too much work to fix that.

If you do configure your printer with CUPS, eBox will be able to see it and share it through samba, so there's no need to allow external connections from CUPS.

But yep, I think that more doc on this and more sane defaults is the only sane approach we can take for 1.4.

jsjc

  • Zen Apprentice
  • *
  • Posts: 26
  • Karma: +0/-0
    • View Profile
Re: How to add unknowprinter
« Reply #7 on: February 26, 2010, 08:40:15 pm »
Javi as you mention when you use and configure with CUPS ebox will see it and share it.

Is this currently working?? 1.4.3

Because I have 1.4.3 and do not know how to get my current CUPS configured printer to be shared in samba.


Thanks!