Hi,

Am 28.06.2013 16:54, schrieb James Green:
Hi,

This may be the wrong place to ask but we've written a Java app that
receives a print job via Windows port redirection and converts the input
(postscript) into PDF for further manipulation.

Our problem is that the printer properties dialog in Windows allows the
choice of colour vs black & white, and duplex vs no duplex but once our
application has received the job we have no obvious way of telling what was
previously selected.

Any ideas on this matter would be appreciated!
Hmmm, I'm not sure that I got your point. To receive the print job means you
got some sort of stream containing the ps file. Assuming that I'm right, the
only chance to determine any printer properties is to analyze the ps file. The
ps printer driver may add same ps commands to activate duplex printing or to
limit the output to b&w.

Thanks,

James

BR
Andreas Lehmkühler

Reply via email to