PrintMap()

Summary

Prints a map as shown in the map window.

Changes

Draft option added to Version 2012.

Syntax

PrintMap(array options)

Option Type Contents
Wysiwyg Boolean If "True" all elements of the printed map are sized based on their appearance in the map window. If "False" all elements of the printed map use actual point sizes. This affects labels, line widths, symbol sizes, and chart and scaled symbol sizes. This option is "True" by default.
Fixed Scale Boolean If "True" the printed map has the exact same scale as the map window, centered on the printer's imageable area. This may result in a printed map that shows a larger or smaller area than the map window. This option is "False" by default.
Draft Boolean If "True" do not convert the map to a bitmap. This option is "False" by default.

Notes

  • PrintMap() prints the current map window.

  • If the Fixed Scale option is set to "False" the area covered by the printed map will match that of the map window, and the printed map uses the largest possible amount of the printer's imageable area.

  • If the Fixed Scale option is set to "True" the aspect ratio of the printed map matches that of the map window, and the printed map uses the largest possible amount of the printer's imageable area.

  • A Draft option of "True" lets the printer render various drawing elements the best it can. This may not always match what appears on your screen. For instance, many printers have problems rendering correctly transparent area fills or the halo effects on text.

  • When the Draft option is "False," Maptitude renders the contents into a bitmap and feeds the image to the printer. This can be significantly slower than printing in Draft mode, but it produces much more consistent details on many hard-to-render features.

Example

PrintMap({{"Wysiwyg", "True"}})

Error Codes

Error Type Meaning
Escape User cancelled the print job

See Also

Function Summary
PrintFigure() Prints a figure as shown in the figure window
PrintEditor() Prints all or part of an editor window
PrintLayout() Prints all or part of a layout window