Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

692
Views
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 answers
Answer question

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 Report

0

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

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!