How to access printers configured on windows-print-server using java?

583 Views Asked by At

I have one windows-print-server(ip 192.168.2.1) configured with all the printers in my network.
I have a java(spring boot) application which runs on another windows box(ip 192.168.2.2) in the same network.
Need to add printing capabilities in the application but to start with I have some basic queries

  • How to access/connect windows-print-server from the java application to get the list of all the printers.
  • How to send a print job to a specific printer?

Will appreciate if you can help me with some pointers/libraries or sample code. Thanks!

0

There are 0 best solutions below