Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
5 ตอบกลับ
14608 มุมมอง

We are not able to print Barcode Product Labels to GC420T. Details are below

Version - Odoo 11.Ubuntu 18.04.  Installed module -base_report_to_printer,printer_zpl2 and CUPS. We are able to print to Barcode to Inkjet through CUPS but not able to print to Zebra Zpl2.

Tried below config

  1. Go to Settings > Printing > Labels > ZPL II
  2. Create new labels 
  3. Product template label changed to Zebra printer
  4. Report Type PDF

Output Result

Event reaching the printer but coming blank 

Its not clear in the doc how the below step will be executed

  1. Import ZPL2 code. (Do we really required this step )
  2. Change the ReportType from PDF to Text/ZPL




อวตาร
ละทิ้ง
ผู้เขียน

Dear Ayman,

Thanks for the reply. Please confirm how below can be added in product.template. This will solve the issue I can send ZPL2 to the printer

# Example : Print the label of a product

self.env['printing.label.zpl2'].browse(label_id).print_label(

self.env['printing.printer'].browse(printer_id),

self.env['product.product'].browse(product_id))

คำตอบที่ดีที่สุด

With module printer_zpl2_browser_print proposed by PR https://github.com/OCA/report-print-send/pull/225 you can print ZPL labels directly from browser, using browser print technology.


อวตาร
ละทิ้ง
ผู้เขียน คำตอบที่ดีที่สุด

I have successfully printed  barcode and deployed in production server with free modules(Odoo 11 and Ubuntu). Please let me know any one required the steps.

Please close this question.

อวตาร
ละทิ้ง

Hello Rakesh, can you please share the steps. Thanks you

คำตอบที่ดีที่สุด

Dear Rakesh,

I think you net to  reset the size of barcode lable 

I hope I help you ...

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
2
ก.ค. 22
9460
1
มิ.ย. 21
2685
[SOLVED] Get related field แก้ไขแล้ว
2
ก.พ. 21
299
How to install new module in Odoo 11 แก้ไขแล้ว
4
มิ.ย. 20
50016
configure pycharm for odoo แก้ไขแล้ว
6
มิ.ย. 20
21959