I am using genric PPD file in my code to add a printer using cups. What api's should I use to allow grayscale printing n duplex printing. I do see some PPD API's but cant get the correct flow of using them