Siebel Pharma Handheld Guide > Print Tagging Language >

Overview of Siebel Handheld Print Tagging Language


You can create the print template file in any text editor.

  • Tags are enclosed in angle brackets and identified with the keyword TAG, followed by a colon.

    For example: <TAG: ....>

  • Parameters are specified with a keyword, followed by an equals sign. Arguments are in uppercase, surrounded by quotation marks.

    For example, Font = "FONT FACE"

  • Values are in uppercase and lowercase, surrounded by quotation marks.

    For example: Font = "Helvetica"

  • Tags may appear in any order in the file. The only required tag is the Title tag.
  • Variables within a print template must be uniquely named. Variable names must be one-word strings and spaces are not allowed.

The following tags are used to specify the format of the print output, which applets are included, and the query that is executed:

  • Applet—Specifies which applets are used in the document.
  • Comment—Adds comments that do not appear in the final document.
  • Divider—Adds visual lines to visually separate different parts of the document.
  • Footer—Adds information such as page numbers, date, and time.
  • Format—Specifies characteristics such as font, boldface, italics, and underline.
  • Header—Adds information such as page numbers, date, and time.
  • Page Break—Specifies a break in the text, forcing the text that follows to appear on the next page.
  • Picture—Adds graphic images to the document.
  • Title—Specifies a name for the template that appears in the print job list.

In addition, you may add static text in the print template.

The following print tags allow you to calculate additional information and add it to your reports:

  • GetTotal—Calculates the total for a column of data.
  • GetField—Gets the value of a field.
  • GetCount—Calculates the number of records.

You can also calculate dates and times using the GetDate and GetTime tags, and you can retrieve the value of the registry using GetRegistry.

All of this information is stored in variables that you specify. In addition, you can assign any value to a variable using the SetVariable tag. You can present this information in your report using the Cell and EndofLine tags to create tables of information. See Using Variables in Print Templates for an example of how variables can be used to present information in print templates.

Siebel Pharma Handheld Guide