MGED CMD ps

From BRL-CAD

ps[edit]

Syntax[edit]

ps [-f font] [-t title] [-c creator] [-s size_in_inches] [-l line_width] output_file


Argument(s)[edit]

-f font
Optional. User Specified Font
-t title
Optional. User Specified Title
-c creator
Optional. User Specified Creator
-s size
Optional. User Specified Size in inches
-l LineWidth
Optional. User Specified Line Width.
outputFile
File to write data to.


Return Value(s)[edit]

No Return Values for this command.


Description[edit]

The "ps" command temporarily attaches the Postscript display manager and outputs the current MGED display to the specified output_file in PostScript format. The -f option allows the font to be user-specified. The -t option allows the user to provide a title (the default is "No Title"). The -c option allows the user to specify the creator of the file (the default is "LIBDM dm-ps"). The –s specifies the size of the drawing in inches. The –l specifies the width of the lines drawn.


Example(s)[edit]

mged> ps -t "Test Title" test.ps
Place a PostScript version of the current MGED display in a file named test.ps and give it the title "Test Title."
mged> ps -l 10 -t "Test Fat Lines" fat_lines.ps
This time use fat lines.


See Also[edit]

No related commands.



Page Generated by David Loman on: 10/11/2007 at: 1:59:15 PM