Mac Hyp: Printing a Message (62126)



The information in this article applies to:

  • Microsoft Mail Software Development Kit (SDK) for HyperCard 2.0
  • Microsoft Mail Software Development Kit (SDK) for HyperCard 3.0

This article was previously published under Q62126

SUMMARY

In Microsoft Mail version 2.00, the following command prints the message with the given type and ID on the currently selected printer:
   msmail(PrintMessage, type, ID)
				
In Microsoft Mail version 3.00, two additional optional parameters are added:
   msmail(PrintMessage, type, ID[, folderRef][, showDialog])
				
"type" and "ID" refer to the message type, such as "Note", and the message ID for a particular message, obtained with getMessageListField or a similar call.

In Mail 3.00, "folderRef" refers to the folder that contains the message. If nothing ("") is used, the message must be in the current folder (see the function OpenFolder for more details).

The Print dialog box will appear as a default. This can be turned off in Mail 3.00 by putting "False" in the "showDialog" parameter. The message will be printed using the printed message form.

This information is taken from the "Microsoft Mail HyperCard Interface Documentation."

Modification Type:MajorLast Reviewed:10/2/2003
Keywords:KB62126