Overslaan naar inhoud
Odoo Menu
  • Aanmelden
  • Probeer het gratis
  • Apps
    Financiën
    • Boekhouding
    • Facturatie
    • Onkosten
    • Spreadsheet (BI)
    • Documenten
    • Ondertekenen
    Verkoop
    • CRM
    • Verkoop
    • Kassasysteem winkel
    • Kassasysteem Restaurant
    • Abonnementen
    • Verhuur
    Websites
    • Websitebouwer
    • E-commerce
    • Blog
    • Forum
    • Live Chat
    • E-learning
    Bevoorradingsketen
    • Voorraad
    • Productie
    • PLM
    • Inkoop
    • Onderhoud
    • Kwaliteit
    Personeelsbeheer
    • Werknemers
    • Werving & Selectie
    • Verlof
    • Evaluaties
    • Aanbevelingen
    • Wagenpark
    Marketing
    • Sociale media-marketing
    • E-mailmarketing
    • Sms-marketing
    • Evenementen
    • Marketingautomatisering
    • Enquêtes
    Diensten
    • Project
    • Urenstaten
    • Buitendienst
    • Helpdesk
    • Planning
    • Afspraken
    Productiviteit
    • Chat
    • Artificiële Intelligentie
    • IoT
    • VoIP
    • Kennis
    • WhatsApp
    Apps van derden Odoo Studio Odoo Cloud Platform
  • Bedrijfstakken
    Detailhandel
    • Boekhandel
    • kledingwinkel
    • Meubelwinkel
    • Supermarkt
    • Bouwmarkt
    • Speelgoedwinkel
    Horeca & Hospitality
    • Bar en café
    • Restaurant
    • Fastfood
    • Gastenverblijf
    • Drankenhandelaar
    • Hotel
    Vastgoed
    • Makelaarskantoor
    • Architectenbureau
    • Bouw
    • Vastgoedbeheer
    • Tuinieren
    • Vereniging van mede-eigenaren
    Consulting
    • Accountantskantoor
    • Odoo Partner
    • Marketingbureau
    • Advocatenkantoor
    • Talentenwerving
    • Audit & Certificering
    Productie
    • Textiel
    • Metaal
    • Meubels
    • Eten
    • Brouwerij
    • Relatiegeschenken
    Gezondheid & Fitness
    • Sportclub
    • Opticien
    • Fitnesscentrum
    • Wellness-medewerkers
    • Apotheek
    • Kapper
    Diensten
    • Klusjesman
    • IT-hardware & ondersteuning
    • Zonne-energiesystemen
    • Schoenmaker
    • Schoonmaakdiensten
    • HVAC-diensten
    Andere
    • Non-profitorganisatie
    • Milieuagentschap
    • Verhuur van Billboards
    • Fotograaf
    • Fietsleasing
    • Softwareverkoper
    Alle bedrijfstakken bekijken
  • Community
    Leren
    • Tutorials
    • Documentatie
    • Certificeringen
    • Training
    • Blog
    • Podcast
    Versterk het onderwijs
    • Onderwijsprogramma
    • Scale Up! Business Game
    • Odoo bezoeken
    Download de Software
    • Downloaden
    • Vergelijk edities
    • Releases
    Werk samen
    • Github
    • Forum
    • Evenementen
    • Vertalingen
    • Partner worden
    • Diensten voor partners
    • Registreer je accountantskantoor
    Diensten
    • Vind een partner
    • Vind een boekhouder
    • Een adviseur ontmoeten
    • Implementatiediensten
    • Klantreferenties
    • Ondersteuning
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Vraag een demo aan
  • Prijzen
  • Help
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Alle posts Personen Badges
Labels (Bekijk alle)
odoo accounting v14 pos v15
Over dit forum
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Alle posts Personen Badges
Labels (Bekijk alle)
odoo accounting v14 pos v15
Over dit forum
Help

Automatic Receipt Printing in Odoo 17 Kiosk

Inschrijven

Ontvang een bericht wanneer er activiteit is op deze post

Deze vraag is gerapporteerd
poskioskodoo17selforder
1 Beantwoorden
995 Weergaven
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
Annuleer
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
Auteur

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
Auteur

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.
Beste antwoord

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
Annuleer
Geniet je van het gesprek? Blijf niet alleen lezen, doe ook mee!

Maak vandaag nog een account aan om te profiteren van exclusieve functies en deel uit te maken van onze geweldige community!

Aanmelden
Gerelateerde posts Antwoorden Weergaven Activiteit
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
mrt. 26
859
Error replacing header text in pos Opgelost
pos odoo17
Avatar
Avatar
1
sep. 25
3560
Unable to 'Pay' in POS kiosk v18 with message 'An error has occurred.' Opgelost
pos kiosk
Avatar
1
okt. 25
2959
POS bill output v17
pos odoo17
Avatar
Avatar
1
aug. 24
3514
Community
  • Tutorials
  • Documentatie
  • Forum
Open Source
  • Downloaden
  • Github
  • Runbot
  • Vertalingen
Diensten
  • Odoo.sh Hosting
  • Ondersteuning
  • Upgrade
  • Gepersonaliseerde ontwikkelingen
  • Onderwijs
  • Vind een boekhouder
  • Vind een partner
  • Partner worden
Over ons
  • Ons bedrijf
  • Merkelementen
  • Neem contact met ons op
  • Vacatures
  • Evenementen
  • Podcast
  • Blog
  • Klanten
  • Juridisch • Privacy
  • Beveiliging
الْعَرَبيّة 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 is een suite van open source zakelijke apps die aan al je bedrijfsbehoeften voldoet: CRM, E-commerce, boekhouding, inventaris, kassasysteem, projectbeheer, enz.

Odoo's unieke waardepropositie is om tegelijkertijd zeer gebruiksvriendelijk en volledig geïntegreerd te zijn.

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