Keywords: greg

Next: Metacode File Up: Getting Hardcopies Previous: The easy way Contents Index

### Printable (PostScript or others) Files

Instead of getting an immediate paper copy, you may prefer to create a file in some graphic format, such as PostScript, HPGL or others, for later printing or insertion in other documents.

To get a PostScript file from your GREG plot, use the following command
`HARDCOPY plot.ps/DEVICE PS FAST`
which create a `plot.ps` file containing a PostScript translation of the plot. The `/DEVICE PS` option indicates that the format of the file is PostScript, and the `FAST` argument indicates that line thickness and dash pattern should be generated by PostScript rather than by GREG (this produces smaller files, but at the expense of small clipping errors in case of very wide lines). Two other variants of the `PS` device exist: `GREY` for greyscale plots, and `COLOR` for color devices. Device EPS is similar to device PS, but the `BoundingBox` (in PostScript sense) is computed from the the plot boundaries rather than from the Plot Page size.

A `/DEVICE HPGL` option would have created an output file using the HP-GL command language. So far, PS and HPGL are the only supported output formats. Others (such as PCL for example) may come later.

Next: Metacode File Up: Getting Hardcopies Previous: The easy way Contents Index