I am using Java Printservice API for one of the requirement in printer task.
I am facing some issue while giving a print to secured printer, which requires Username & PIN i.e it fetches automatically the details while giving manual print from system.

Solution is required to fetch the same UserName & Password from system and using java code to pass the same input to printer .
Currently unable to pass such properties through PrintService API .

Please provide some solution as i am running out of deadline .