A printer-dc% object is a printer device context. A newly created printer-dc% object obtains orientation (portrait versus landscape) and scaling information from the current ps-setup% object, as determined by the current-ps-setup parameter. This information can be configured by the user through a dialog shown by get-page-setup-from-user.
Be sure to use the following methods to start/end drawing:
Attempts to use a drawing method outside of an active page raises an exception.
See also post-script-dc%.
(new printer-dc% [[parent parent]]) → (is-a?/c printer-dc%)
parent : (or/c (is-a?/c frame%) (is-a?/c dialog%) false/c) = #f
If parent is not #f, it is used as the parent window of the configuration dialog.