[ back ]

Print color postscript from graphics window

Syntax

motif.print(file=NULL, background=F, colors=c("text", "lines", "polygons"), really.print=F, fuss=T, preview=F)

Arguments

file File name for postscript output. Default is to use the "ps.out.####.ps" name sequence.
background Print background color. Usually a bad idea
colors Take the postscript colors from the "text", "lines" or "polygons" section of the color scheme. Default is to use "text" and warn if there are differences.
really.print Use the postscript print command ("lpr -r -h" by default) to print the file. Only sensible if your local printer has color.
fuss Warn when light colors on dark background are used -- this may not print well.
preview Launch ghostview to preview the output.
... Other arguments to the postscript driver (eg horizontal, paper, fonts)

Value

None

Side Effects

Create a color postscript copy of the current motif or openlook device.

Description

This routine does what the print button should do. It prints the contents of the current motif or openlook device to a postscript file, preserving most of the color information.

See Also

ps.options.send, dev.print.

Examples

motif.print("color.ps",preview=T)