I am using wxGhostscript in a wxWidgets app to view
Postscript files, and it's great. What I want to do is to
print the Postscript file, either to a Postscript printer or
non-Postscript printer. I believe there are two avenues of
1. Simply send the Postscript file to the (Postscript)
printer. I am having trouble doing this because I don't
know how to send the Postscript stream to the printer
given the printing architecture in wxWidgets.
2. Draw the Postscript image to a dc that is given to me
by the Printing architecture. I am also having trouble
doing this and hope that somebody has already done it.
The third approach would be to copy the screen window
with the Postscript image to the dc given to me by the
printing architecture, but I don't want to do this as it
would not give me the best resolution as determined by
the printer's capabilities.
I can provide more details, but I wanted to first see if
anyone has done it with success, or if you could give
me some general direction.
Log in to post a comment.