|












| |
Contents | Index
PRINT.CHART
Print a chart or save it to an image file format.
Syntax: PRINT.CHART (chart.title, [output.type.code], [destination.format],
[file.name], [page.no], [bitmap.width], [bitmap.height], [bitmap.color],
[bitmap.JPEG.quality])
Reply: Y successful
null unsuccessful
Parameters:
output.type.code
1 Summary (default)
2 Detailed
destination.format
1 Printer (default)
2 PCX File
3 WMF File
4 JPEG File
color
1 Screen Colors (default)
2 Monochrome (PCX)/grayscale (JPEG)
Note:
- Chart.title is returned by the NEW.CHART command when the chart is created.
- The chart will be printed to the current default printer.
- If you intend to use the return value in your macro or program, be aware that
the print command can take many seconds to complete and so you should not
"timeout" too hastily when waiting for the reply.
- page.no applies only when a multipage detailed chart is being output, and
defaults to 1.
- The bitmap. options in general apply to PCX and JPEG formats. bitmap.width
and bitmap.height are mandatory for PCX and JPEG formats, while the others are
optional.
- bitmap.JPEG.quality is the JPEG "quality level," which determines the trade
off between compression and image quality. The allowed range is 1-99 with 99
being the highest quality/least compression. The recommended range is 5-95 and
the default is 75.
Note: Portions of this software is based in part on the work of the
Independent JPEG Group.
|