Ir al contenido
Odoo Menú
  • Identificarse
  • Pruébalo gratis
  • Aplicaciones
    Finanzas
    • Contabilidad
    • Facturación
    • Gastos
    • Hoja de cálculo (BI)
    • Documentos
    • Firma electrónica
    Ventas
    • CRM
    • Ventas
    • TPV para tiendas
    • TPV para restaurantes
    • Suscripciones
    • Alquiler
    Sitios web
    • Creador de sitios web
    • Comercio electrónico
    • Blog
    • Foro
    • Chat en directo
    • e-learning
    Cadena de suministro
    • Inventario
    • Fabricación
    • PLM
    • Compra
    • Mantenimiento
    • Calidad
    Recursos Humanos
    • Empleados
    • Reclutamiento
    • Ausencias
    • Evaluación
    • Referencias
    • Flota
    Marketing
    • Marketing social
    • Marketing por correo electrónico
    • Marketing por SMS
    • Eventos
    • Automatización de marketing
    • Encuestas
    Servicios
    • Proyecto
    • Partes de horas
    • Servicio de campo
    • Servicio de asistencia
    • Planificación
    • Citas
    Productividad
    • Conversaciones
    • Aprobaciones
    • IoT
    • VoIP
    • Conocimientos
    • WhatsApp
    Aplicaciones de terceros Studio de Odoo Plataforma de Odoo Cloud
  • Industrias
    Comercio al por menor
    • Librería
    • Tienda de ropa
    • Tienda de muebles
    • Tienda de ultramarinos
    • Ferretería
    • Juguetería
    Alimentación y hostelería
    • Bar y taberna
    • Restaurante
    • Comida rápida
    • Casa de huéspedes
    • Distribuidor de bebidas
    • Hotel
    Inmueble
    • Agencia inmobiliaria
    • Estudio de arquitectura
    • Construcción
    • Gestión inmobiliaria
    • Jardinería
    • Asociación de propietarios
    Consultoría
    • Empresa contable
    • Partner de Odoo
    • Agencia de marketing
    • Bufete de abogados
    • Adquisición de talentos
    • Auditorías y certificaciones
    Fabricación
    • Textil
    • Metal
    • Muebles
    • Alimentos
    • Brewery
    • Regalos de empresas
    Salud y bienestar
    • Club deportivo
    • Óptica
    • Gimnasio
    • Terapeutas
    • Farmacia
    • Peluquería
    Oficios
    • Handyman
    • Hardware y asistencia informática
    • Sistemas de energía solar
    • Zapatero
    • Servicios de limpieza
    • Servicios de calefacción, ventilación y aire acondicionado
    Otros
    • Organización sin ánimo de lucro
    • Agencia de protección del medio ambiente
    • Alquiler de paneles publicitarios
    • Estudio fotográfico
    • Alquiler de bicicletas
    • Distribuidor de software
    Browse all Industries
  • Comunidad
    Aprender
    • Tutoriales
    • Documentación
    • Certificaciones
    • Formación
    • Blog
    • Podcast
    Potenciar la educación
    • Programa de formación
    • Scale Up! El juego empresarial
    • Visita Odoo
    Obtener el software
    • Descargar
    • Comparar ediciones
    • Versiones
    Colaborar
    • GitHub
    • Foro
    • Eventos
    • Traducciones
    • Convertirse en partner
    • Services for Partners
    • Registrar tu empresa contable
    Obtener servicios
    • Encontrar un partner
    • Encontrar un asesor fiscal
    • Contacta con un experto
    • Servicios de implementación
    • Referencias de clientes
    • Ayuda
    • Actualizaciones
    GitHub YouTube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Solicitar una demostración
  • Precios
  • Ayuda

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

  • CRM
  • e-Commerce
  • Contabilidad
  • Inventario
  • PoS
  • Proyecto
  • MRP
All apps
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
POS #POS pos odoo Offline
Acerca de este foro
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
POS #POS pos odoo Offline
Acerca de este foro
  1. Point of Sale
  2. Foro

Odoo 16 - ePos printing not working

Suscribirse

Reciba una notificación cuando haya actividad en esta publicación

Se marcó esta pregunta
POS
2 Respuestas
9856 Vistas
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
Descartar
Avatar
Kim Asplund
Mejor respuesta

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
Descartar
Avatar
LINTO ANTONY
Mejor respuesta

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
Descartar
¿Le interesa esta conversación? ¡Participe en ella!

Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.

Inscribirse
Publicaciones relacionadas Respuestas Vistas Actividad
Urgent Support Request – Odoo 18 Performance Issues & POS Errors
POS
Avatar
0
feb 25
8424
Adding payment method field to POS pivot table (report.pos.order)
POS
Avatar
0
mar 24
8675
Daily Reports and session report is not visible in reporting
POS
Avatar
Avatar
1
oct 23
9098
Order option does not come up for me
POS
Avatar
0
nov 23
7482
2 item discount
POS
Avatar
0
abr 23
7191
Comunidad
  • Tutoriales
  • Documentación
  • Foro
Código abierto
  • Descargar
  • GitHub
  • Runbot
  • Traducciones
Servicios
  • Alojamiento Odoo.sh
  • Ayuda
  • Actualizar
  • Desarrollos personalizados
  • Educación
  • Encontrar un asesor fiscal
  • Encontrar un partner
  • Convertirse en partner
Sobre nosotros
  • Nuestra empresa
  • Activos de marca
  • Contacta con nosotros
  • Puestos de trabajo
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Información legal • Privacidad
  • Seguridad
الْعَرَبيّة 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 es un conjunto de aplicaciones de código abierto que cubren todas las necesidades de tu empresa: CRM, comercio electrónico, contabilidad, inventario, punto de venta, gestión de proyectos, etc.

La propuesta única de valor de Odoo es ser muy fácil de usar y totalmente integrado.

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