This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I’m trying to find the printer tray ids of a particular printer. I have searched and found a lot of articles in Java using the PrintService, Media and MediaTray. Yet, this doesn’t provide a solution for my requirement. I will get the following output if I run the below code.