Inherited methods:
from dc<%>
cache-font-metrics-key
clear
copy
draw-arc
draw-bitmap
draw-bitmap-section
draw-ellipse
draw-line
draw-lines
draw-path
draw-point
draw-polygon
draw-rectangle
draw-rounded-rectangle
draw-spline
draw-text
end-doc
end-page
erase
flush
get-alpha
get-background
get-brush
get-char-height
get-char-width
get-clipping-region
get-device-scale
get-font
get-gl-context
get-initial-matrix
get-origin
get-pen
get-rotation
get-scale
get-size
get-smoothing
get-text-background
get-text-extent
get-text-foreground
get-text-mode
get-transformation
glyph-exists?
ok?
resume-flush
rotate
scale
set-alpha
set-background
set-brush
set-clipping-rect
set-clipping-region
set-font
set-initial-matrix
set-origin
set-pen
set-rotation
set-scale
set-smoothing
set-text-background
set-text-foreground
set-text-mode
set-transformation
start-doc
start-page
suspend-flush
transform
translate
try-color

class

printer-dc% : class?

  superclass: object%

  extends: dc<%>
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%.

When a printer-dc% object is created, the user gets platform-specific modal dialogs for configuring the output. If the user cancels the dialog, the ok? method of the object returns #f.

constructor

(new printer-dc% [[parent parent]])  (is-a?/c printer-dc%)

  parent : (or/c (is-a?/c frame%) (is-a?/c dialog%) #f) = #f
If parent is not #f, it is used as the parent window of the configuration dialog.