Hello, i'm trying to connect my Samsung ML-1640 printer with OMV.
I noticed an error message while adding new router:
Error #4000:
exception 'OMVException' with message 'Failed to execute command 'export LANG=C; omv-cups-avahi 2>&1': Traceback (most recent call last):
File "/usr/sbin/omv-cups-avahi", line 298, in <module>
files.append(genPrinterService(p, v, False))
File "/usr/sbin/omv-cups-avahi", line 181, in genPrinterService
[k, val] = kv.split(':')
ValueError:
too many values to unpack' in /usr/share/openmediavault/engined/rpc/cups.inc:639
Stack trace:
#0 /usr/share/openmediavault/engined/rpc/cups.inc(323): OMVRpcServiceCups->regenerateServiceDefinitions()
#1 [internal function]: OMVRpcServiceCups->addPrinter(Array, Array)
#2 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array)
#3 /usr/share/php/openmediavault/rpc.inc(79): OMVRpcServiceAbstract->callMethod('addPrinter', Array, Array)
#4 /usr/sbin/omv-engined(500): OMVRpc::exec('Cups', 'addPrinter', Array, Array, 1)
#5 {main}
Alles anzeigen
I think it's more like a bug or so. Anyway, i pressed ok, closed add printer window, refreshed printers and voila - printer is there.
Tried printing test page from OMV - it worked.
However, it doesn't print from another pc. Printer is shared and seen in smb. When i'm trying to print test page, it says "a test page has been sent to your router, bla bla", however nothing happens.
In icon tray - "0 document's pending". In OMV, Jobs is empty, also CUPS Jobs page is empty.
This is what i get in syslog: http://pastebin.com/2GMmwgUS
I noticed this error: spoolss_connect_to_client: unable to open the spoolss pipe on machine JokubasP-PC. Error was : NT_STATUS_ACCESS_DENIED.
Solution was posted here: https://lists.samba.org/archive/samba/2002-March/039619.html
However, using use client driver = yes in samba conf printers group, didn't fixed issue.
Samba printer config:
#======================= Printer Settings =======================
[global]
load printers = yes
printing = cups
printcap name = cups
disable spoolss = no
printcap cache time = 60
printer admin = @lpadmin
[printers]
comment = All Printers
path = /var/spool/samba
browseable = yes
guest ok = yes
writable = no
printable = yes
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
browseable = no
guest ok = yes
read only = yes
write list = @lpadmin
oplocks = no
force create mode = 0664
force directory mode = 775
Alles anzeigen