Skip ke Konten
Odoo Menu
  • Login
  • Uji coba gratis
  • Aplikasi
    Keuangan
    • Akuntansi
    • Faktur
    • Pengeluaran
    • Spreadsheet (BI)
    • Dokumen
    • Tanda Tangan
    Sales
    • CRM
    • Sales
    • POS Toko
    • POS Restoran
    • Langganan
    • Rental
    Website
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventaris
    • Manufaktur
    • PLM
    • Purchase
    • Maintenance
    • Kualitas
    Sumber Daya Manusia
    • Karyawan
    • Rekrutmen
    • Cuti
    • Appraisal
    • Referensi
    • Armada
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Acara
    • Otomatisasi Marketing
    • Survei
    Layanan
    • Project
    • Timesheet
    • Layanan Lapangan
    • Meja Bantuan
    • Planning
    • Appointment
    Produktivitas
    • Discuss
    • Kecerdasan Buatan
    • IoT
    • VoIP
    • Pengetahuan
    • WhatsApp
    Aplikasi pihak ketiga Odoo Studio Platform Odoo Cloud
  • Industri
    Retail
    • Toko Buku
    • Toko Baju
    • Toko Furnitur
    • Toko Kelontong
    • Toko Hardware
    • Toko Mainan
    Makanan & Hospitality
    • Bar dan Pub
    • Restoran
    • Fast Food
    • Rumah Tamu
    • Distributor Minuman
    • Hotel
    Real Estate
    • Agensi Real Estate
    • Firma Arsitektur
    • Konstruksi
    • Manajemen Properti
    • Perkebunan
    • Asosiasi Pemilik Properti
    Konsultansi
    • Firma Akuntansi
    • Mitra Odoo
    • Agensi Marketing
    • Firma huku
    • Talent Acquisition
    • Audit & Sertifikasi
    Manufaktur
    • Tekstil
    • Logam
    • Perabotan
    • Makanan
    • Brewery
    • Corporate Gift
    Kesehatan & Fitness
    • Sports Club
    • Toko Kacamata
    • Fitness Center
    • Wellness Practitioners
    • Farmasi
    • Salon Rambut
    Perdagangan
    • Handyman
    • IT Hardware & Support
    • Sistem-Sistem Energi Surya
    • Pembuat Sepatu
    • Cleaning Service
    • Layanan HVAC
    Lainnya
    • Organisasi Nirlaba
    • Agen Lingkungan
    • Rental Billboard
    • Fotografi
    • Penyewaan Sepeda
    • Reseller Software
    Browse semua Industri
  • Komunitas
    Belajar
    • Tutorial-tutorial
    • Dokumentasi
    • Sertifikasi
    • Pelatihan
    • Blog
    • Podcast
    Empower Education
    • Program Edukasi
    • Game Bisnis 'Scale Up!'
    • Kunjungi Odoo
    Dapatkan Softwarenya
    • Download
    • Bandingkan Edisi
    • Daftar Rilis
    Kolaborasi
    • Github
    • Forum
    • Acara
    • Terjemahan
    • Menjadi Partner
    • Layanan untuk Partner
    • Daftarkan perusahaan Akuntansi Anda.
    Dapatkan Layanan
    • Temukan Mitra
    • Temukan Akuntan
    • Konsultasi
    • Layanan Implementasi
    • Referensi Pelanggan
    • Bantuan
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Dapatkan demo
  • Harga
  • Bantuan
Anda harus terdaftar untuk dapat berinteraksi di komunitas.
Semua Post Orang Lencana-Lencana
Label (Lihat semua)
odoo accounting v14 pos v15
Mengenai forum ini
Anda harus terdaftar untuk dapat berinteraksi di komunitas.
Semua Post Orang Lencana-Lencana
Label (Lihat semua)
odoo accounting v14 pos v15
Mengenai forum ini
Help

Automatic Receipt Printing in Odoo 17 Kiosk

Langganan

Dapatkan notifikasi saat terdapat aktivitas pada post ini

Pertanyaan ini telah diberikan tanda
poskioskodoo17selforder
1 Balas
993 Tampilan
Avatar
user

Hi,
In odoo 17 i have created a custom receipts i need to print that while clicking on a button, it is downloading but not printed on the printer that connected to my PC, how do i solve that, i need to the receipts into my local printer at the same time am clicking on the button, how do i do that in Odoo 17?

setup() {    super.setup(...arguments);    this.printer = useService("printer");},

try { await this.printer.print(PaymentReceipt,
{ data: receiptData, });} catch (error) { console.error("❌ Printing failed:", error);}
0
Avatar
Buang
Codesphere Tech

Hello,
The reason it is downloading instead of printing is that the printHtml method (and the underlying print service) defaults to a browser download if it cannot find a hardware-linked destination.
So check the printer connected with system and verify that it support without IOT box.
Let me know if you need any help regarding this
Thanks

user
Penulis

I want to print this in using the USB printer, so how do i change the code? Currently this.printer.print is for network printers

Codesphere Tech

By default, if Odoo doesn't detect an IoT Box or a configured network printer, the browser falls back to downloading the PDF. So try to update code with window.print(). (temporary based)
If still not worked let me know
info@codespheretech.in
Thanks

user
Penulis

How do i code this instead of printer.print, which method i use, and also how do i disable the print popup option, i need to direct print from the kiosk of pos.

Avatar
Zehntech Technologies Inc.
Jawaban Terbai

Hello, 

In Odoo 17 POS, the printer.print() service is primarily designed for network printers or IoT-based printing, not direct USB printing from the browser.

What you're experiencing (download instead of direct print) happens because browsers restrict direct access to local USB printers for security reasons.

To achieve automatic printing on a USB printer, you have a few options:

  1. Use Odoo IoT Box (Recommended)
    Connect your USB printer to the IoT Box and configure it in POS — this enables seamless direct printing.
  2. Use POSBox/Proxy Printing
    Similar approach where the printer is exposed as a network printer.
  3. Custom Local Print Service (Advanced)
    You would need a local service (like a small desktop app) that listens for print requests and sends them to the USB printer.

Direct modification of this.printer.print() alone won’t solve this for USB printers.

Hope this works for you! If you need any help implementing this or want a more optimized approach, feel free to reach out for further discussion

Regards,

Zehntech Technologies Inc.

santosh.sekwadia@zehntech.com

0
Avatar
Buang
Menikmati diskusi? Jangan hanya membaca, ikuti!

Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!

Daftar
Post Terkait Replies Tampilan Aktivitas
USB PRINTER IN ODOO POS KIOSK
pos printer kiosk odoo17
Avatar
Avatar
Avatar
2
Mei 26
1153
Translations Not working in POS Kiosk
kiosk odoo17
Avatar
Avatar
1
Mar 26
859
Error replacing header text in pos Diselesaikan
pos odoo17
Avatar
Avatar
1
Sep 25
3560
Unable to 'Pay' in POS kiosk v18 with message 'An error has occurred.' Diselesaikan
pos kiosk
Avatar
1
Okt 25
2959
POS bill output v17
pos odoo17
Avatar
Avatar
1
Agu 24
3512
Komunitas
  • Tutorial-tutorial
  • Dokumentasi
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Terjemahan
Layanan
  • Odoo.sh Hosting
  • Bantuan
  • Peningkatan
  • Custom Development
  • Pendidikan
  • Temukan Akuntan
  • Temukan Mitra
  • Menjadi Partner
Tentang Kami
  • Perusahaan kami
  • Aset Merek
  • Hubungi kami
  • Karir
  • Acara
  • Podcast
  • Blog
  • Pelanggan
  • Hukum • Privasi
  • Keamanan
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk Slovenščina Español (América Latina) Español Svenska ภาษาไทย Türkçe українська Tiếng Việt

Odoo adalah software terintegrasi dengan 70+ aplikasi seperti CRM, Akuntansi, Inventaris, Sales, eCommerce, Marketing, POS; plus fitur lokal Indonesia!

Mudah digunakan dan terintegrasi penuh pada saat yang sama adalah value proposition unik Odoo.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now