Printing Graphics

Use

You use the graphic node to display graphics, such as a company logo, on the form. For performance reasons, make sure that the graphics are held in the printer memory. SAP Smart Forms supports this method, provided that:

  • The printer can be controlled accordingly
  • There is enough memory space on the printer
  • You activated this property in transaction SE78 (see below)

In this case, the system sends the graphics to the printer only once during one print job.

To include background graphics, use the Background Graphic tab of a page node. You can use a background picture, for example, to copy forms you previously scanned into the system (see: Displaying a Background Picture for Copy Purposes).

Prerequisites

You use the Administration of Form Graphics (transaction SE78) to import graphics into the SAP System:

  1. Double-click on a graphic format in the tree structure in the folder Store on Document server ® GRAPHICS General graphics.
  2. Choose Graphic ® Import.

The transaction imports the graphic and stores it on the Business Document Server (BDS). You can now display it in a form.

See also: Administration of Form Graphics

Procedure

  1. Create a node of type Graphic in the navigation tree of the Form Builder.

    Create the graphic node as directly inferior node of the page node or use the context menu in the layout of the Form Painter. You can then position the graphic anywhere on the page.

    In the Form Painter, the system displays a small box for the newly created node.

  2. Enter a unique name for the node and a description (for example, company logo).
  3. On the General Attributes tab, specify whether you want to include a colored graphic or a graphic in black and white.
  4. Use the fields Object, ID, and Name to identify the graphic. Use F4 help of the Name field to copy the values of these fields. If you copy them with Enter, the system displays the graphic in the Form Painter.

    The box for the graphic in the Form Painter also contains the name of the graphic node, which in part overlays the graphic.

  5. In the Technical Attributes box, determine the graphic resolution according to what the printer supports. Small resolutions increase the size of the graphic on the form, higher resolutions reduce the size.
  6. For graphic nodes that are displayed in a window, there is a box Horizontal Position in addition to the general output options. The parameters Reference Point and Alignment determine the horizontal position in the window, while the vertical position is determined by the previous output in the window.

At present, you cannot overlay graphics with text. However, if you use a template node, you can display graphics and text side by side.

Result

The system displays the node, including its name and description, in the tree structure. If you insert a graphic as the directly inferior node of a page or if you used the Form Painter, the system displays the graphic. Graphics in windows are inserted only when the form is processed. You can therefore not see them in the Form Builder. In addition, the system automatically displays the graphic on the next page if there is not enough space left on the current page.