Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

702
Vistas
JposException: Can't connect printer device (issue on linux only)

I've developed a java application that works perfectly on windows when i print a receipt. The issue comes when the same java application is tested it in Ubuntu 14.04, and gives me this:

jpos.JposException: Can't connect printer device=SRP-350II
    at com.bixolon.jpos.services.printers.PrinterBaseService.claim(PrinterBaseService.java:256)
    at jpos.BaseJposControl.claim(BaseJposControl.java:296)
    at PruebaPOSImpresion.main(PruebaPOSImpresion.java:36)

It seems that the app finds the printer declared in jpos.xml since does the "open", but not the "claim". And it's strange that when i execute the "check health" on the printer (with the printer utility) it can print the test page with no problem.

Any help or suggestion is appreciated.

over 4 years ago · Santiago Trujillo
2 Respuestas
Responde la pregunta

0

Try to refer this solution Java POS printer error

Check your Jpos.xml path directory.. Windows vs Ubuntu File paths in Java (Linux)

over 4 years ago · Santiago Trujillo Denunciar

0

Give permissions to /dev/bus/usb/, so the jpos connection will recognize the connected printer

over 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda