| Search Locate Previous Next | Contents |
There are two main alternatives for printing the finished chart:
PostScript printing
If you have a PostScript printer, you can use psWrite to write the chart definition directly to the printer:
PGchClose © Completed chart View PG © to see it on screen psWrite PG © Print (portrait) to 'prn' 'myfile.prn' psWrite PG © Print to disk file
This is recommended rather than using the Windows printer driver, as Rain is around 10 times faster and the quality of the results is a little better. You can edit psWrite to switch to Landscape orientation (1.4 times larger) or enable colour support.
Windows printing
If you have a standard Windows printer (e.g. HP LaserJet or DeskJet) you can send your chart to the Windows print queue with:
psPrint PG
This will switch the printer to the orientation which best matches your chart, and will size the chart to be as large as possible (within the printable area of the page).
Output to a DTP package
If you have a package such as Word or PageMaker, you might like to include your charts as .EPS objects within a document. To export a chart in this form:
'myfile' psWriteEPS PG
Rain includes bounding box, date and title information, so that you will be able to size the graphic within the document, and also view the title and date on screen. Note that such documents can only be printed on PostScript printers.
Copying the chart to the clipboard
To save a bitmap image, use:
psClipBits PG 0.5 psClipBits PG © Scale to half size 3 psClipBits PG © Suitable for 300dpi printing
This defaults to 1:1 scaling, but you can choose to thumbnail the image, or have it magnified to give reasonable results on the printer. If you scale this above 5 (suitable for 600dpi) you will need enough workspace to hold the resulting bitmap, say 4Mb minimum.
Printing from the View function
When your chart is displayed with psView, you can use the right mouse button to choose from a list of options. If you choose Print you will write the chart to the default Windows printer as above. If you choose PostScript, you will be prompted for the device to write the output to. Just leave this as <prn> to send the chart to your printer. See Using the Chart Viewer for more detail.