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 support this method, provided that:

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.

Prerequisites

You use the SAPscript Graphic Administration (transaction SE78) to import graphics into the SAP-System:

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

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

See also: Graphic Administration

Procedure

  1. To create a graphic node, call the context menu for that node in the tree structure that you want to contain the graphic and choose Create ® Graphic.
  2. Create the graphic node as direct successor 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.

  3. Enter a unique name for the node and a description (for example, company logo).
  4. On the General Attributes tab determine whether you want to include a colored graphic or a graphic in black and white.
  5. 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.
  6. The box for the graphic in the Form Painter also contains the name of the graphic node, which in part overlays the graphic.

  7. In the Technical Attributes box determine the graphic resolution according to what the printer supprts. Small resolutions increase the size of the graphic on the form, higher resolutions reduce the size.
  8. 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 with name and description in the tree structure. If you insert a graphic as direct successor 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 dispalys the graphic on the next page if there is not enough space left on the current page.