Author Topic: ebox 1.5 - printers duplicated entries in printers.conf  (Read 2502 times)

maxter

  • Zen Apprentice
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
ebox 1.5 - printers duplicated entries in printers.conf
« on: August 05, 2010, 03:35:55 pm »
i've a lot of problem with printers module.
first of all i encountered the hplip driver problem stated here:

http://forum.ebox-platform.com/index.php?topic=4101

then i found a bug that broke the printers module.

after a fresh install of a printer (ipp or AppSocket network printer) the printers seems to work and print test pages.
in /etc/cups/printers.conf there are two different printer entries,  one for cups and another delimited by the ebox tags.

to enable this printer for the users a 'save changes' (and module restart) is required.
when the module restart the printers.conf file shows two identical entries, but the ebox tags are gone.
every modification that requires a 'save changes' adds another identical printer entry in printer.conf.
also restarting fthe printers sharing service from the dashboard add another printer entry in printers.conf.
enabling the cups web interface show a printer for every entry in printers.conf, but in the ebox printer admin web gui only one appears.
obviouosly none of the printers showed in cups web interface can print.

the printers is present in the domain resources of the ebox pc, and it is possible to connect it from others pc, but the printer does not work (no port connected)

i verified this problem both in an ebox installer setup and in lucid setup+ebox ppa
i didn't test the new 1.5-1, i will try it tomorrow and will report the result.

this is my actual printer.conf:

# Printer configuration file for CUPS v1.4.3
# Written by cupsd
# DO NOT EDIT THIS FILE WHEN CUPSD IS RUNNING
<Printer HPJD>
Info HP LaserJet 6MP Postscript
MakeModel HP LaserJet 6MP Foomatic/Postscript
DeviceURI socket://192.168.153.208:9100
State Idle
StateTime 1281011466
Type 8400916
Filter application/vnd.cups-raw 0 -
Filter application/vnd.cups-postscript 100 foomatic-rip
Filter application/vnd.cups-pdf 0 foomatic-rip
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy retry-job
</Printer>
<Printer HPJD>
Info HP LaserJet 6MP Postscript
DeviceURI socket://192.168.153.208:9100
State Idle
StateTime 1281012158
Type 0
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy retry-job
</Printer>
<Printer HPJD>
Info HP LaserJet 6MP Postscript
DeviceURI socket://192.168.153.208:9100
State Idle
StateTime 1281012224
Type 0
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy retry-job
</Printer>

allidys9821

  • Zen Apprentice
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
    • Duplex Printer
Re: ebox 1.5 - printers duplicated entries in printers.conf
« Reply #1 on: December 19, 2012, 07:49:08 am »
may be possible,, also share the knowledge with me