Siebel Medical Handheld Guide > Print Tagging Language > Print Formatting Tags >
Background Tag
The Background tag prints an image at specified coordinates for all pages in the print template. Supported file formats are BMP and JPG only. Usage
Use the Background tag to print logos or images in the header, footer, or main printable area of the print template. When the Background tag is used, the image is printed like a watermark logo, and any other object included in the print template is printed over it. It is recommended that you declare the Background tag immediately after the Absolute, Margin, Header, or Footer tags. Syntax
<TAG:Backgound name="FILE NAME" left="LEFT" top="TOP" right="RIGHT" bottom="BOTTOM">
|
|
TAG:Background |
(Required) Required tag indicator. |
name |
(Required) Specifies the full path and name of the graphics file. |
left |
(Optional) Specifies, in millimeters, the position of the left side of the image on the X axis from the left side of the paper. This setting defaults to zero if omitted. |
top |
Specifies, in millimeters, the position of the top side of the image on the Y axis from the top of the paper. This setting defaults to zero if omitted. |
right |
Specifies, in millimeters, the position of the right side of the image on the X axis from the right side of the paper. The image is shrunk or expanded to fit within the specified size. |
bottom |
Specifies, in millimeters, the position of the bottom side of the paper on the Y axis from the bottom of the paper. The image is shrunk or expanded to fit within the specified size. |
Example
The following example prints a 50 x 30 mm image at 30 mm from the left edge and 50 mm from the top edge of the page. The header or footer or both can overlap the image if the image is placed on the header or footer area: <TAG:Absolute> <TAG:Margin left="30" Top="50" right="80" bottom="100"> <Tag:Header left="<page>" center="<varible>numrows" right="<date>"> <Tag:Footer left="receipt" center="<variable>numrows" right="<page>"> <Tag:Background name="\logo.gif" left="30" top="50" right="80" bottom="100">
|