|
Action:
|
Renders the view or entities to the Windows system printer.
|
|
|
Filename:
|
rbase/rnd_scm/rndr_scm.cxx
|
|
|
Syntax:
|
(render:print [entity-list=all] [x-resolution
|
|
|
y-resolution] [view=active])
|
|
|
Arg Types:
|
entity-list
|
entity | (entity ... )
|
|
x-resolution
|
integer
|
|
y-resolution
|
integer
|
|
view
|
view
|
|
|
Returns:
|
view
|
|
|
Description:
|
This extension prints a rendered image to the Windows system printer and displays a Print window requesting printer information.
|
|
|
dl:print sends the wireframe image to the output file, while
render:print renders the image sent to the output file.
|
|
|
entity-list comprises any entity or list of entities included in the file; the default is all entities.
|
|
|
x-resolution specifies the number of dots per inch in the
x-direction based on the type of printer being used.
|
|
|
y-resolution specifies the number of dots per inch in the
y-direction based on the type of printer being used. Default resolutions are taken from the view.
|
|
|
view specifies the view to be included in the file; the default is the active view.
|
|
|
Limitations:
|
NT platforms only.
|
|
|
Example:
|
; render:print
|
|
;; Create a solid cylinder.
|
|
(define cyl1 (solid:cylinder (position 10 -15 0)
|
|
|
(position 20 10 10) 22))
|
|
;; cyl1
|
|
; Render the cylinder to Windows printing system.
|
|
(render:print (entity 1))
|
|
;; ()
|