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
Asked
Active
Viewed 516 times
-2
-
could you provide more detail of what youve tried? i.e how?, your code etc. – WhatsThePoint Jul 06 '17 at 13:08
-
Welcome to SO! Please review the following post and update the question appropriately: https://stackoverflow.com/help/how-to-ask – garfbradaz Jul 06 '17 at 13:15
-
Please help me still i am trying – Vimal Vasava Jul 07 '17 at 09:50
-
@VimalVasava have you found solution for your problem? – aleksaRazer22 Feb 19 '20 at 09:58
1 Answers
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");
}