Print API

Hello, I am using print API to print pdf files and I have questions:

  1. How can I get available paper trays for the printer and select one of them

  2. How can I print pdf in grayscale mode. What print setting should I set

Print API
 
 
Q