Community mailing list archives

community@mail.odoo.com

Re: How to send pos_receipt directly to printer v9??

by
omar
- 09/07/2016 03:09:23
this error generator:

2016-09-07 07:08:42,018 2552 ERROR ? openerp.addons.hw_escpos.controllers.main: [Errno 13] Access denied (insufficient permissions)
------------------------------------------------------------
Traceback (most recent call last):
  File "/home/odoo/odoo-dev/odoo/addons/hw_escpos/controllers/main.py", line 148, in run
    printer = self.get_escpos_printer()
  File "/home/odoo/odoo-dev/odoo/addons/hw_escpos/controllers/main.py", line 105, in get_escpos_printer
    printers = self.connected_usb_devices()
  File "/home/odoo/odoo-dev/odoo/addons/hw_escpos/controllers/main.py", line 92, in connected_usb_devices
    'name': usb.util.get_string(printer, 256, printer.iManufacturer) + " " + usb.util.get_string(printer, 256, printer.iProduct)
  File "/home/odoo/.local/lib/python2.7/site-packages/usb/util.py", line 248, in get_string
    0
  File "/home/odoo/.local/lib/python2.7/site-packages/usb/control.py", line 169, in get_descriptor
    data_or_wLength = desc_size
  File "/home/odoo/.local/lib/python2.7/site-packages/usb/core.py", line 702, in ctrl_transfer
    self._ctx.managed_open()
  File "/home/odoo/.local/lib/python2.7/site-packages/usb/core.py", line 70, in managed_open
    self.handle = self.backend.open_device(self.dev)
  File "/home/odoo/.local/lib/python2.7/site-packages/usb/backend/libusb1.py", line 733, in open_device
    return _DeviceHandle(dev)
  File "/home/odoo/.local/lib/python2.7/site-packages/usb/backend/libusb1.py", line 618, in __init__
    _check(_lib.libusb_open(self.devid, byref(self.handle)))
  File "/home/odoo/.local/lib/python2.7/site-packages/usb/backend/libusb1.py", line 571, in _check
    raise USBError(_str_error[ret], ret, _libusb_errno[ret])
USBError: [Errno 13] Access denied (insufficient permissions)
------------------------------------------------------------


2016-09-06 12:50 GMT+01:00 Timothy Verellen <timothy.verellen@apertoso.be>:
Please read further down the page https://www.odoo.com/documentation/user/9.0/point_of_sale/overview/setup.html"

"POSBoxless Guide (advanced)"

So you can try it without a PosBox.


2016-09-06 12:31 GMT+02:00 omar frikha <omarfrikha59@gmail.com>:
i haven't use posbox

2016-09-06 11:03 GMT+01:00 Timothy Verellen <timothy.verellen@apertoso.be>:
Dear Omar,

Firstly you will have to setup your ticket printer using a pos box: https://www.odoo.com/documentation/user/9.0/point_of_sale/overview/setup.html

Secondly you go to the settings of your POS in odoo V9e: Point of Sale > Configuration > Point of Sale > Select POS. There you choose the option "Automatic Receipt Printing".
Inline afbeelding 1

I hope this might help you.

Regards,

2016-09-05 12:13 GMT+02:00 omar frikha <omarfrikha59@gmail.com>:
i can to receipt pos in cashier print automaticly

_______________________________________________




--

Timothy Verellen

Business ICT Consultant at Apertoso business ICT - http://www.apertoso.be/
Guido Gezellelaan 16 - B-9800 Deinze - Belgium

General:+32 9 381 64 50
Mobile: +32 475 77 77 47
skype: timothy.verellen

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe


_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe




--

Timothy Verellen

Business ICT Consultant at Apertoso business ICT - http://www.apertoso.be/
Guido Gezellelaan 16 - B-9800 Deinze - Belgium

General:+32 9 381 64 50
Mobile: +32 475 77 77 47
skype: timothy.verellen

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe