-2

I am using ubuntu 16.04, 64 bit OS . I am trying to scan image from scanner. I am trying since 5 days. I have used Jsane , twain. i have also try to search Jsane and twain dependency for maven project but i was fail. I have also try to find morena 7, jar and maven dependency. I am not sure which jar and dependency is use for scanning image from scanner. Please suggest me if there is any better way . I am tired

1 Answers1

0

I have also tried but didn't get so much luck.

I am able to detect printer using javax library

PrintService _service = PrintServiceLookup.lookupDefaultPrintService(); 
if (service != null) 
{ 
    String printServiceName = _service.getName(); 
    System.out.println("Printer Service Name is " + printServiceName); 
} 
else 
{ 
    System.out.println("No printer service found"); 
}