Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
31526 Lượt xem

I need to send the tickets directly from the Point of Sale to an ESC/POS printer.

I was wondering if the only chance to print in a ESC/POS printer is to use the [PosBox](https://www.odoo.com/shop/product/pos-point-of-sale-posbox-312) to print tickets directly from Odoo or if there is another way.

> The PosBox is a little hardware box based on a Raspberry-Pi that will handle all the peripherals' drivers and setup in a very easy way

So my questions are:

  •  How could I create a Virtual ESC/POS Printer? I would like to use something similar to the Virtual PDF printer, in order to print the tickets to PDF and make some test while I am programming. Is that possible?

  • What is there in the PosBox image ("Raspberry Pi Image") to make it work everything out of the box?

  • If I have the ESC/POS printer correctly installed and connected to a computer with Windows System. The Odoo Server is accessed remotely from this computer. I have installed the module [hw_escpos](https://www.odoo.com/apps/modules/8.0/hw_escpos/). Could this work or the use of the PosBox is mandatory?

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hello chesucr,
Here is an official documentation from Odoo to set up your PC/Laptop with a point of sale without POSBOX (posboxless). https://www.odoo.com/documentation/user/9.0/point_of_sale/overview/setup.html#posboxless-guide-advanced

So, I think your Direct setup of Printer with PC makes your development requirement, still if you require to make a PDF of receipt you might need to create a mechanism where you need to convert the XML type receipt to PDF.

What is there in the PosBox image: POSBOX image contains the latest rasbian image with version 8.0 odoo setup containing pre-install modules whose name starts with " hw_* ". You can download image from here :  https://nightly.odoo.com/trunk/posbox/

Regards,
Parth

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

May be jPosBox can help you:

https://github.com/andreubisquerra/jPosBox

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 8 24
7469
1
thg 1 17
10768
0
thg 3 15
3466
1
thg 8 24
6649
0
thg 1 24
1872