Platform SDK: Exchange Server

Print Objects and Properties

After specifying the view and metapage, you must describe the printable areas by placing objects such as appointments and tasks on the metapage. Several built-in objects exist for this purpose and are described in this section.

Most objects that are placed on the metapage print schedule information. If an object cannot fit all of its information into the printing area, any unprinted information can be put into an overflow buffer.

Objects can also have properties. The following built-in objects have several shared properties such as fonts and date formats. All these properties are consistent within objects, and all objects that support them use them in a similar fashion.

Object Description
APPTS Puts appointments into the overflow buffer.
BITMAP Draws a bitmap.
CALENDAR Prints a month calendar.
CARDLIST Puts contacts into the overflow buffer.
EVENTS Puts events into the overflow buffer.
LINE Draws a line.
MONTH Prints a user's appointments for a month.
OVERFLOW Prints the contents of the overflow buffer.
RECTANGLE Draws a shaded or unshaded rectangle.
SCHEDULE Prints a user's appointments in a graphical frame.
TASKS Puts tasks into the overflow buffer.
TASKLIST Puts tasks in a form of a list into the overflow buffer.
TEXT Prints the text.
TIMEFRAME Prints a time frame.

A detailed description of how to specify the following properties appears later in this section.

Property Description
DATEFMT Specifies a format for printing dates.
DELTAYMD Changes the default printing date for the object.
OPTIONS Lists the object-specific options.
OVERFLOW Specifies an overflow buffer for use by the object.
RANGE Specifies a time range for the object.
STYLE Lists the fonts used by the object.
TIMEFMT Specifies a format for printing times.
VALUE Specifies a value for a text or bitmap object.

The following table indicates which properties are available for each object. A check mark means that the property is required for the object, a bullet means that the property is optional, and a blank space means that the property is not valid for the object.

Object DATEFMT DELTAYMD OPTIONS OVERFLOW RANGE STYLE TIMEFMT VALUE
APPTS Ö Ö  
BITMAP               Ö
CALENDAR Ö  
CARDLIST   Ö
EVENTS Ö
LINE            
MONTH Ö
OVERFLOW   Ö   Ö  
RECTANGLE    
SCHEDULE Ö Ö
TASKS   Ö   Ö  
TASKLIST Ö Ö
TEXT   Ö Ö
TIMEFRAME     Ö Ö    

An object is defined in a print view by the following line:

OBJECT {reserved},{object name},{left},{top},{right},{bottom}
 

where

{reserved}
Is reserved for future versions of Schedule+ and should be left blank.
{object name}
Specifies the name of the object being defined.
{left}, {right}, {top}, and {bottom}
Specify the printable area for the object in metapage units.

Properties associated with the object follow the object line. Indenting the lines that specify properties makes the .PRT file more readable.