I like an huge amount of work... BTW I create a pdf virtual printer using redmon Ghostscript.
PDF file are parsed (on another machine) in order to find informations about printing settings. The only information I cannot find is if the pdf was printed in color or in grayscale. That's all, -> Not reliably, no... not without a Huge amount of work (or a PDF renderer). -> -> You'd have to: -> -> 1) Parse all pages' contents looking for color operators. RGB, G, and so forth. -> 2) Search through all image resources to see what colors they used. -> 3) There are several kinds of resource that can contain their own resources and/or drawing operators that might include color changes. -> -> OR -> -> Render the PDF and look through the resulting image. iText cannot do that. Another open source project, GhostScript, can but it's written in C, not Java. -> -> PS: why do you need to know? And are shades of gray okay, or just B&W? -> -> --Mark Storer -> Senior Software Engineer -> Cardiff Software ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions
