how to display a postscript image and print it?

Hello. I have built a small sample application that
now displays the image of a selected bitmap file, but
I would like to do two additional things: display the
image of a selected postscript file and print the
displayed image when a button is pressed. I am using
Boa as a development tool. Being that I am a
beginner, can anyone provide simple code that would
display a postscript file in a frame and then print it
afer a button event? Or are these two things
difficult to do. I tried reading the manual, but I
dont understand how to put all the pieces together. I
suppose some sort of wxDC has to be constructed
somehow. Any help would be appreciated.
John

···

__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail

one solution is to use ghostscript to convert your .ps -> .png.
type "gs --help" for all the cmdline options, one of which is
output to a .png. The .png would be easier to display i think.
Charles

J wrote:

···

Hello. I have built a small sample application that
now displays the image of a selected bitmap file, but
I would like to do two additional things: display the
image of a selected postscript file and print the
displayed image when a button is pressed. I am using
Boa as a development tool. Being that I am a
beginner, can anyone provide simple code that would
display a postscript file in a frame and then print it
afer a button event? Or are these two things
difficult to do. I tried reading the manual, but I
dont understand how to put all the pieces together. I
suppose some sort of wxDC has to be constructed
somehow. Any help would be appreciated.
John

__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
Yahooist Teil der Yahoo Markenfamilie

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

A clarification on what i meant: use os.sytem() with
the ghostscript command through your python app via
a button; so, say you want to view a particular document,
and you hit "view" ... then the callback constructs the
ghostscript cmd to convert the .ps -> .png, then you
load the .png for viewing as part II of the callback.
C

J wrote:

···

Hello. I have built a small sample application that
now displays the image of a selected bitmap file, but
I would like to do two additional things: display the
image of a selected postscript file and print the
displayed image when a button is pressed. I am using
Boa as a development tool. Being that I am a
beginner, can anyone provide simple code that would
display a postscript file in a frame and then print it
afer a button event? Or are these two things
difficult to do. I tried reading the manual, but I
dont understand how to put all the pieces together. I
suppose some sort of wxDC has to be constructed
somehow. Any help would be appreciated.
John

__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
Yahooist Teil der Yahoo Markenfamilie

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org