A wx:post-script-dc% object is a PostScript device context, that can write PostScript files on any platform.
Be sure to use the following methods to start/end drawing:
The output string must be the name of a file to write to. If interative is not #f, then the user is given a dialog for setting printing parameters and the output destination. If the user hits cancel in this dialog, then ok? will return #f.
See also section for information about printer and destination settings. These settings are modified by the user through the interactive dialog. The settings for a particular wx:post-script-dc% object are fixed to the values that were current when the object was created (after the user has interactively adjusted them).