Skip to documentation
DocumentationAll documentsEnglish

POSTSCRIPT(nged)

NAME

postscript - Temporarily attaches the _Postscript_ display manager and outputs the current MGED display to the specified __output_file__ in _PostScript_ format.

On this page

SYNOPSIS

postscript [-f font] [-t title] [-c creator] [-s size_in_inches] [-l line_width] {output_file}

DESCRIPTION

Temporarily attaches the PostScript display manager and outputs the current MGED display to the specified output_file in PostScript format. The following options control the generated output:

-a author

Set the PostScript creator/author string.

-b

Draw a border around the output.

-c r/g/b

Set the border color.

-f font

Set the PostScript font.

-s size_in_inches

Set the drawing size in inches.

-t title

Set the PostScript title string.

-x offset

Set the X offset in inches.

-y offset

Set the Y offset in inches.

EXAMPLES

The first example shows the use of the postscript command to place a PostScript version of the current MGED display in a specified file and give it a particular title. The second example is much like the first except that a line width is specified and the title and output file names are different.

Example 1. Place a PostScript version of the current MGED display in a specified file.

mged>postscript -t "Test Title" test.ps

Places a PostScript version of the current MGED display in a file named test.ps and titles it “Test Title.”

Example 2. Specify the line width of a PostScript version of the current MGED display in a specified file.

mged>postscript -l 10 -t "Test Fat Lines" fat_lines.ps

Places a PostScript version of the current MGED display with fat lines in a file named fat_lines.ps and titles it “Test Fat Lines.”

AUTHOR

BRL-CAD Team

BUG REPORTS

Reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org