Přejít na obsah
Odoo Menu
  • Přihlásit se
  • Vyzkoušejte zdarma
  • Aplikace
    Finance
    • Účetnictví
    • Fakturace
    • Výdaje
    • Spreadsheet (BI)
    • Dokumenty
    • Podpisy
    Prodej
    • CRM
    • Prodej
    • POS Obchod
    • POS Restaurace
    • Předplatné
    • Pronájem
    Webové stránky
    • Webové stránky
    • E-shop
    • Blog
    • Fórum
    • Živý chat
    • eLearning
    Dodavatelský řetězec
    • Sklad
    • Výroba
    • PLM
    • Nákup
    • Údržba
    • Kvalita
    Lidské zdroje
    • Zaměstnanci
    • Nábor
    • Volno
    • Hodnocení zaměstnanců
    • Doporučení
    • Vozový park
    Marketing
    • Marketing sociálních sítí
    • Emailový marketing
    • SMS Marketing
    • Události
    • Marketingová automatizace
    • Dotazníky
    Služby
    • Projekt
    • Časové výkazy
    • Práce v terénu
    • Helpdesk
    • Plánování
    • Schůzky
    Produktivita
    • Diskuze
    • Umělá inteligence
    • IoT
    • VoIP
    • Znalosti
    • WhatsApp
    Aplikace třetích stran Odoo Studio Odoo cloudová platforma
  • Branže
    Maloobchod
    • Knihkupectví
    • Obchod s oblečením
    • Obchod s nábytkem
    • Potraviny
    • Obchod s hardwarem
    • Hračkářství
    Jídlo a pohostinství
    • Bar a Pub
    • Restaurace
    • Fast Food
    • Penzion
    • Distributor nápojů
    • Hotel
    Nemovitost
    • Realitní kancelář
    • Architektonická firma
    • Stavba
    • Správa nemovitostí
    • Zahradnictví
    • Asociace vlastníků nemovitosti
    Poradenství
    • Účetní firma
    • Odoo Partner
    • Marketingová agentura
    • Právník
    • Akvizice talentů
    • Audit a certifikace
    Výroba
    • Textil
    • Kov
    • Nábytek
    • Jídlo
    • Pivovar
    • Korporátní dárky
    Zdraví a fitness
    • Sportovní klub
    • Prodejna brýli
    • Fitness Centrum
    • Wellness praktikové
    • Lékárna
    • Kadeřnictví
    Transakce
    • Údržbář
    • Podpora IT & hardware
    • Systémy solární energie
    • Výrobce obuvi
    • Úklidové služby
    • Služby HVAC
    Ostatní
    • Nezisková organizace
    • Agentura pro životní prostředí
    • Pronájem billboardů
    • Fotografování
    • Leasing jízdních kol
    • Prodejce softwaru
    Procházet všechna odvětví
  • Komunita
    Edukační program
    • Tutoriály
    • Dokumentace
    • Certifikace
    • Vzdělávání
    • Blog
    • Podcast
    Podpora vzdělávání
    • Vzdělávací program
    • Scale Up! Hra na firmu
    • Navštivte Odoo
    Získat software
    • Stáhnout
    • Porovnejte edice
    • Verze
    Spolupráce
    • Github
    • Fórum
    • Události
    • Překlady
    • Stát se partnerem
    • Služby pro partnery
    • Registrujte svou účetní firmu
    Získat služby
    • Najít partnera
    • Najít účetní
    • Setkejte se s poradcem
    • Implementační služby
    • Zákaznické reference
    • Podpora
    • Upgrady
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Dohodnout demo
  • Ceník
  • Pomoc
You need to be registered to interact with the community.
All Posts Lidé Odznaky
Štítky (View all)
odoo accounting v14 pos v15
O tomto fóru
You need to be registered to interact with the community.
All Posts Lidé Odznaky
Štítky (View all)
odoo accounting v14 pos v15
O tomto fóru
Pomoc

Automatic Receipt Printing in Odoo 17 Kiosk

Odebírat

Get notified when there's activity on this post

This question has been flagged
poskioskodoo17selforder
1 Odpovědět
1001 Zobrazení
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
Zrušit
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
Autor

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
Autor

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.
Nejlepší odpověď

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
Zrušit
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Přihlásit se
Related Posts Odpovědi Zobrazení Aktivita
USB PRINTER IN ODOO POS KIOSK
pos printer kiosk odoo17
Avatar
Avatar
Avatar
2
kvě 26
1157
Translations Not working in POS Kiosk
kiosk odoo17
Avatar
Avatar
1
bře 26
861
Error replacing header text in pos Vyřešeno
pos odoo17
Avatar
Avatar
1
zář 25
3565
Unable to 'Pay' in POS kiosk v18 with message 'An error has occurred.' Vyřešeno
pos kiosk
Avatar
1
říj 25
2961
POS bill output v17
pos odoo17
Avatar
Avatar
1
srp 24
3517
Komunita
  • Tutoriály
  • Dokumentace
  • Fórum
Open Source
  • Stáhnout
  • Github
  • Runbot
  • Překlady
Služby
  • Odoo.sh hostování
  • Podpora
  • Upgrade
  • Nestandardní vývoj
  • Edukační program
  • Najít účetní
  • Najít partnera
  • Stát se partnerem
O nás
  • Naše společnost
  • Podklady značky
  • Kontakujte nás
  • Práce
  • Události
  • Podcast
  • Blog
  • Zákazníci
  • Právní dokumenty • Soukromí
  • Zabezpečení
الْعَرَبيّة 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 je balíček open-source aplikací, které pokrývají všechny potřeby vaší společnosti: CRM, e-shop, účetnictví, sklady, kasy, projektové řízení a další.

Unikátní nabídka od Odoo poskytuje velmi jednoduché uživatelské rozhraní a vše je integrované na jednom místě.

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