In addition to raster import, you can use the built-in PostScript import feature to import PostScript files. This feature can be accessed by choosing Insert >Encapsulated PostScript or by typing Import. The Import File dialog box lets you easily locate the file to be imported. Select Encapsulated PostScript (.eps) from the- List Files of Type pull-down list, and then browse to find the file you want. Once you select a file, the rest of the program works just like the raster import commands. You are asked for an insertion point, a scale, and a rotation angle. Once you’ve answered all the prompts, the image appears in the drawing.
You can make adjustments to the quality of imported PostScript files by using the Psquality system variable (enter Psquality). This setting takes an integer value in the range -75 to 75, with 75 being the default The absolute value of this setting is taken as the ratio of pixels to drawing units. If, for example, Psquality is set to 50 or -50, then Psin converts 50 pixels of the incoming Post file into one drawing unit. You use negative values to indicate that you want outlines of filled areas rather than the full painted image. Using outlines can save drawing space and improve readability on monochrome systems or systems with limited color capability.
Finally, if Psquality is set to 0, only the bounding box of the imported image is displayed in the drawing. Though you may only see a box, the image data is still incorporated into the drawing and will be maintained as the image is exported (using Psout).
Another system variable you should know about is Psdrag, which controls how the imported PostScript image appears at the insertion point prompt. Normally, Psdrag is set to 0, so Psin displays just the outline (bounding box) of the imported file as you move it into position. To display the full image of the imported Post- Script file as you locate an insertion point, you can set Psdrag to 1.
If you want to see firsthand how the PostScript import and export commands work, you can try the following exercise.
- Open the Plan file.
- Choose Pile > Export to open the Export Data dialog box. Select Encapsulated PostScript (.eps) in the List Files of Type pull-down list. You can also type Psout at the command prompt. The Create PostScript File dialog box appears and allows you to select or enter a filename.
- Click the Options button. The PostScript Out Options dialog box appears.
This dialog box offers options similar to the Plot Configuration dialog box.
- Select the desired area to plot, sheet size, scale, and units from the dialog box then click OK.
- In the File dialog box, click Save to accept the suggested PostScript filename of Plan. eps.
- Click Save in the Export Data dialog box.
- Choose Insert > Encapsulated PostScript to open the Select PostScript File dialog box.
- Locate and select’the Pl an .eps file. You Will be prompted for the insertion point and scale factor. Position and size the image as required. The file then appears in your drawing.