1 Overview
Windowing
Drawing
Editor
2 Reference
Windowing Classes
Windowing Functions
Drawing Classes
Drawing Functions
Editor Classes
Editor Functions
WXME Decoding
3 Configuration
4 Dynamic Loading
Index

Inherited methods:

from dc<%>

clear

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

get-alpha

get-background

get-brush

get-char-height

get-char-width

get-clipping-region

get-font

get-gl-context

get-origin

get-pen

get-scale

get-size

get-smoothing

get-text-background

get-text-extent

get-text-foreground

get-text-mode

glyph-exists?

ok?

set-alpha

set-background

set-brush

set-clipping-rect

set-clipping-region

set-font

set-origin

set-pen

set-scale

set-smoothing

set-text-background

set-text-foreground

set-text-mode

start-doc

start-page

try-color

Version: 4.0.2

 

printer-dc% : class?

  superclass: object%

  extends: 

dc<%>

A printer-dc% object is a Windows or Mac OS X printer device context. The class cannot be instantiated under X (an exn:misc:unsupported exception is raised).

Under Mac OS X, 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.

(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.