As a reference I have used the source from https://support.microsoft.com/kb/322091/en-us?wa=wsignin1.0 for RawPrinterHelper. This is working great.
Now the problem I am having is, I have two computers and one printer with two printer output Trays or Bins. I configured Printer Settings in both the computers, so that first computer prints papers to tray1 and second computer prints papers to tray2. These are working as expected when I print local documents. but when I use RawPrinterHelper, all the papers going to tray1. How to handle this issue?
Thank you.