We have written a Java application that accepts on stdin a postscript stream. This stream is redirected by RedMon from a print job the user has selected in Windows.
Trouble is, the printer options include duplex and colour. In the Java application, we don't get to see what has been selected.
The Java application's job is to allow specific options to be chosen including a preview, then to send the "job" on to a web service that will further process the "job".
Can anything think how to detect if duplex or single-sided, or back and white or colour, has been chosen within the printer options?