1Print Controls for List Output 
The list below shows the print control keywords that have been are used in the SAP System in list printing.
Print controls are inserted in list output with the ABAP FORMAT and PRINT-CONTROL statements. List output is handled differently by the System depending upon whether a list is printed as it is being generated or directly from the display screen. If printed upon generation, then both PRINT-CONTROL and FORMAT print controls are used. If from the display, then only FORMAT print controls are used.
FORMAT and PRINT-CONTROL both use a variety of "built-in" print controls, print controls which are accessed by way of FORMAT or PRINT-CONTROL arguments. PRINT-CONTROL also offers the FUNCTION argument, with which any print control defined in the SAP spool system can be inserted into the output data.
Note that SAPscript uses its own private set of print controls when it formats text for output. These print controls are listed separately:
SAP script Print Controls.Standard ABAP Print Controls for List Printing
ABAP Statement |
Print Controls Used by this Statement |
FORMAT For more information, see the
ABAP User’s Guide |
COL<xx>: Set list colors for color and halftone printing (SWIN driver and Microsoft Windows printers). The FORMAT statement and associated COL<xx> print controls supersede color setting with PRINT-CONTROL and CO00<n>. The R/3 standard includes these COL<xx> print controls:
|
PRINT CONTROL For more information, see the
ABAP User’s Guide |
CI<cpi>: Character pitch (characters per inch) The character pitches in existing CI print controls are three digit numbers that are read without a decimal place. For example, character pitch 10 is represented by the control code CI 010 . The system reads the value as "10".The R/3 standard includes these CI print controls:
|
PRINT-CONTROL |
CO00<n>: Obsolete. Replaced by the COL<xx> print controls of the FORMAT instruction. When used, sets the color of text to one of the following supported colors:
|
PRINT CONTROL |
LI<lpi>: Leading (lines per inch) The leadings in existing LI print controls are three digit numbers that are read without a decimal place. For example, a leading of six lines to the inch is represented by the control code LI006. The system reads the value as "6". The R/3 standard includes the following LI instructions:
|
PRINT CONTROL |
LM<nnn>: Left margin The value is in characters. Example: LM005 sets the left margin to five characters. |
PRINT CONTROL |
FO<nnn>: Selects a font or typeface. As implemented in the standard FO print controls, the command sets the following:
The value of <nnn> in the name of an FO print control must correspond to the argument <nnn> given in the PRINT-CONTROL that uses the font. |
PRINT CONTROL FUNCTION argument (direct entry of a print control by name) |
Since any print control can be invoked with PRINT CONTROL FUNCTION <pcname>, there is no comprehensive list of print controls that are invoked in this way in the standard SAP System. The following lists show R/3 standard print controls. If you are creating a new device type, use a related device type or one with similar capabilities, if possible, as a guide as to the print controls you will actually need to define. Bar codes: Used only in certain device types (such as those for Kyocera printers). Most bar code printing in R/3 is done in SAPscript using separate bar code print controls.
Other print controls:
|