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
    • Schvalování
    • 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

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Účetnictví
  • Sklad
  • PoS
  • Projekty
  • MRP
All apps
You need to be registered to interact with the community.
All Posts Lidé Odznaky
Štítky (View all)
POS #POS pos odoo Offline
O tomto fóru
You need to be registered to interact with the community.
All Posts Lidé Odznaky
Štítky (View all)
POS #POS pos odoo Offline
O tomto fóru
  1. Point of Sale
  2. Fórum

Odoo 16 - ePos printing not working

Odebírat

Get notified when there's activity on this post

This question has been flagged
POS
2 Odpovědi
9835 Zobrazení
Avatar
Dimitri

Hi everyone,

Due to a system crash, I reinstalled Odoo on my systems. I left the old v11 for the new v16. I'm running a POS with an Epson m30 ticket printer. Since PosBox has been abandoned and only a solution for paying versions saw daylight. I'm hoping to figure out ePos. But it doesn't work as expected ... I read a ton about SSL accepting, ... But notting works. My printer is on the same network connected an ping's perfect. The IP has been filled in the POS settings ... But nodding. I tried so many things ... But notting works.

Can someone point me out in the right direction? I'm getting nuts ...

Regards

0
Avatar
Zrušit
Avatar
Kim Asplund
Nejlepší odpověď

So after hitting my head in the wall on this issue also on and off for quite some time and i finally by accident figured out that even though my pos printer support https it does not in fact support it for printing, only the web interface for management for some strange reason... so i made a small proxy script to downgrade https to http...

make a directory of your choice then...

Commands:

-npm install express http-proxy-middleware https

-openssl req -nodes -new -x509 -keyout server.key -out server.cert

-nano proxyServer.js (and copy/paste and edit from below)

const fs = require('fs');

const https = require('https');

const express = require('express');

const { createProxyMiddleware, responseInterceptor } = require('http-proxy-middleware');


const app = express();


// Configuration variable for the target host

const TARGET_HOST = 'http:xxx'; // Replace with your target host


// Proxy middleware options with response handling

const options = {

  target: TARGET_HOST,

  changeOrigin: true,

  selfHandleResponse: true, // The proxy will manage the response

  onProxyRes: responseInterceptor(async (responseBuffer, proxyRes, req, res) => {

    // Modify or translate the response from the printer here

    // For example, you can change headers, status code, or the response body

    const response = responseBuffer.toString('utf8'); // Assuming the response is a string

    // Perform necessary modifications to the response

    return response;

  })

};


// Use the proxy middleware

app.use('/', createProxyMiddleware(options));


// HTTPS server with self-signed certificate

https.createServer({

  key: fs.readFileSync('server.key'),

  cert: fs.readFileSync('server.cert')

}, app).listen(443, () => {

  console.log('Listening on port 443 (HTTPS)');

});



then run: 

node proxyServer.js


update for reference:

made a python minimalistic version also
https://github.com/kimasplund/minimal-proxy


works on my TM-T88V with UB-R04 wifi interface board...


0
Avatar
Zrušit
Avatar
LINTO ANTONY
Nejlepší odpověď

Open the developer mode in the pos screen and click on the network tab. Then click on the printer icon or make a payment and check the responses of the network calls.This will lead to some clues

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
Urgent Support Request – Odoo 18 Performance Issues & POS Errors
POS
Avatar
0
úno 25
8408
Adding payment method field to POS pivot table (report.pos.order)
POS
Avatar
0
bře 24
8645
Daily Reports and session report is not visible in reporting
POS
Avatar
Avatar
1
říj 23
9086
Order option does not come up for me
POS
Avatar
0
lis 23
7465
2 item discount
POS
Avatar
0
dub 23
7179
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 ภาษาไทย 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