If filename is null and the print mode is to a PostScript file, a filename will be obtained from the user. If interactive? is #f, a PostScript file is created; otherwise, the user will be given a dialog for adjusting printing parameters (allowing the user to print to a PostScript file or to a platform-specific destination).
If fit-on-page? is a true value, then during printing for a wx:media-edit% buffer, the buffer's maximum width is set to the width of the page (less margins) and the autowrapping bitmap is removed.
The output-mode setting is used for Windows and MacOS. It determines whether the output is generated directly as a PostScript file (using MrEd's built-in PostScript system) or generated using the platform-specific standard printing mechanism. The possible values as
Printing margins are determined by wx:get-media-print-margin. When a buffer is printed to a PostScript file, PostScript parameters are determined via the functions in Printer.
For properly spaced text, be sure the AFM directory is correct. This directory is set using wx:set-afm-path.
Prints the buffer into the given drawing context.