defaults hardcopy
Allows the user to send screen output to hard copy file.
Format:
defaults hardcopy |
|---|
paper_type = | hardcopy paper |
orientation = | hardcopy_orientation |
send_to_printer = | boolean |
file_name = | string |
print_command = | string |
black_and_white_graphics = | boolean |
black_and_white_plot = | boolean |
language = | hardcopy_language |
image_height = | real |
image_width = | real |
Example:
defaults hardcopy & |
|---|
paper_type = | a1 & |
orientation= | portrait & |
file_name = | printtofile |
Description:
Parameter | Value Type | Description |
|---|
paper_type | Default/ Eight_by_eleven/ A0/ A1/ A2/ A3/ A4/ B5/ B/ C/ D/ E/ F | Specify the kind of default paper type to be used. |
orientation | Landscape/ Portrait | Specify the default orientation to be used. |
send_to_printer | Yes/no | |
file_name | String | Specifies the name of the file that is to be read, written, or executed. |
print_command | String | |
black_and_white_graphics | Yes/no | Specifies if black and white graphics is required. |
black_and_white_plot | Yes/no | Specifies if black and white plot is required. |
Language | Bmp/ Xpm/ Jpg/ Tiff/ Png | The LANGUAGE parameter is used to specify plotting language is to be used for the image sent to a hardcopy file. |
image_height | Real | Specify the default image height |
image_width | Real | Specify the default image width |
Include_toolbars | Yes/no | |
Extended Definition:
1. You do not need to enclose the file name in quotes if it only contains alpha-numeric characters and starts with a letter. If you want to include other characters, such as a '.' for an extension or '/' or '[]' for directory paths, you must enclose the name in quotes.
2. The legal values for the language parameter are: BMP, XPM, JPG, TIFF and PNG. The resulting file should be printable on any device supporting those languages.
The LANGUAGE parameter is optional and if not entered, will be set to BMP.
3. The proper extensionof a file_name is the default but can be overridden by simply supplying a different extension.
Cautions:
1. Care should be taken when performing a hardcopy. The choice of draw modes in the view (wireframe, solid, shaded, set in the view manage modify command or from the control panel) will have impact on the image sent to the hard copy file. If solid or shaded mode is "on" in the desired view, some graphics may "seem" to disappear. This happens if the image of an entity is such that the edges of the shaded entity obscured the shaded or filled area. To avoid this use wireframe draw mode or assure "facet" interiors are visible before the hardcopy is attempted. The choice of background colors can have a similar effect.
Tips:
1. The user may specify the view_name to be sent to the desired hardcopy file name. The FILE_NAME parameter provides a means to specify the name of the hardcopy file the screen image(s) selected by the user will be written to. The FILE_NAME is an optional parameter and if not entered, a default name will be constructed. If entered file name must be enclosed in quotes.
2. The ORIENTATION parameter is used to specify how to orient the image sent to a hardcopy file. There are two legal values for this parameter: LANDSCAPE and PORTRAIT.
3. The LANGUAGE parameter is used to specify plotting language is to be used for the image sent to a hardcopy file. The legal values for the language parameter are: BMP, XPM, JPG, TIFF and PNG.