How to print PS/EPS files?
-
I am developing an application that generates (Encapsulated) PostScript files. In order to display them on the screen, I use GhostScript to convert them into PNG images since .NET doesn't seem to natively support PS files. However, when the user wants to print, I would like to print the PS file since the print quality will be much better. Is it possible to send the PS file directly to a PS printer? The only documentation on printing I could find seemed to say that basically I had to manually render anything I want to print into a Graphics object. If this is not possible, how would I go about delegating the print task to GhostScript? (This question may be better suited for the GhostScript people, but I thought I'd give it a shot here anyway). I am using Managed C++ in VS .NET 2003, but in the past I haven't had much difficulty translating C# or VB.NET code into Managed C++. Thanks.
-- Marcus Kwok