Register Login

Options for front-end printing (access method G)

In general, you should not have to set the options. If you are in any doubt, please contact SAP Support.

Options that have a printer-specific identifier can also be overridden for individual printers. The printer-specific value only works if the global standard value has not been changed.

If, for example, the PortraitOnly global value is set to 1 (different to the default setting), you cannot use the landscape setting for an individual printer.

The syntax for printer-specific settings is generally:
<Value> = <Windows printer name>:<Parameter name> therefore for example
'HP Laserjet:PortraitOnly'
 

If possible, use the Options Editor that was delivered with SAP GUI 7.20 patch 8 (see Note 1605290).

For lower versions of the SAP GUI, you must enter the values manually into the Windows registry.

To do this, set the following character string parameters using the registry editor (regedit) in the branch HKEY_CURRENT_USERSoftwareSAPSAPlpdSAPLPD.

The options in detail

  • Character string: "LogLevel"
    Default: 1
    Other values: 0, 5, 9
     
  • Effect: Determines the level of details in the log file.  If the value is 0, no log files are created.  If the value is 1, the situation should be normal in the live operation.  The value is 5 for troubleshooting by SAP Support.  The value is 9 only for special requests by SAP Support because a lot of information is written. It is not usually required.
     
  • Character string: "KeepFile"
    Default: 0
    Other values: 1
     
  • Effect: If the value is 0, the system deletes job-specific log files and print data after they are successfully printed.  They are retained if there are errors.  If the value is 1, job-specific log files and print data are retained even after they are successfully printed. These cannot be uniquely identified.
     
  • Character string: "PortraitOnly" [printer-specific]
    Default: 0
    Other values: 1
     
  • Effect: If the value is 1, you can print only in portrait mode. This is useful to avoid printing in landscape mode on printers where landscape mode is very slow.
     
  • Character string: "ColorMode"
    Default: 1
    Other values: 0, 2
     
  • Effect:
    0 = use color only if supported by the printer
    1 = always use color, even if the printer is b/w. Caution: As a result, the printout may be unreadable.
    2 = do not use colored print even if the printer supports color.
     
  • Character string: "SWBackground" [printer-specific]
    Default: 1
    Other values: 0
     
  • Effect:
    1 = if the color is deactivated (see "ColorMode"), then gray backgrounds or hatches are printed if a colored list is displayed.
    0 = background is always white.
     
  • Character string: "ColorBackgound" [printer-specific]
    Default: 1
    Other values: 0
     
  • Effect:
    1 = if color is activated, print colored background (see "ColorMode")
    0 = background is always white
     
  • Character string: "GraphRahmenMode" [printer-specific]
    Default: 0
    Other values: 1, 2
     
  • Effect:
    0 = print frame as lines
    1 = print frame as (substitute) characters (+,-,|)
    2 = do not print frame
     
  • Character string: "IconMode" [printer-specific]
    Default: "IconsAsGraphics"
    Other values: "IconsAsFont"
     
  • Effect:
    "IconAsGraphic": All icons are printed as (colored) Bitmap (as in GUI)
    "IconAsFont": The printable icons are taken from the "SAPIcons normal" font. Other icons are printed as '#'.
     
  • Character string: "use_old_fontsize" [printer-specific]
    Default: 0
    Other values: 1, 2, 3
     
  • Effect:
    0 = use new calculation type for the font sizes (this is the same for Win3.1, Win95 and NT). In addition, this mode is compatible with other device types such as HPLJ4 and Postscript.
    1, 3 = use previous (incorrect) calculation type so that you do not have to redefine SAPscript layout sets.
    2, 3 = use old (incorrect) calculation type for font sizes that are derived from the horizontal DBI value. However, it is correct to use the vertical DPI value.
     
  • Character string: "enable_phys_margins"
    Default: 1
    Other values: 0, 2
     
  • Effect:
    1 = if required by the user, the physical paper boundaries are used for printing (see SAPWIN commands).
    0 = the printable area of the relevant printer is always used even if you activate physical positioning for each command.
    2 = physical positioning is always activated even if the command "logical" is required. The default remains "logical" (important for lists). Therefore, you must ensure that you make a switch. The switch also occurs if you use the "Baseline" command (eOCb).
     
  • Character string: "no_empty_pages" [printer-specific]
    Default: 1
    Other values: 0
     
  • Effect:
    1 = blank pages are not printed
    0 = blank pages are also output.
     
  • Character string: "COLXY" with X = 0..7, Y = {N,H,V [printer-specific]
    in accordance with the ABAP colors
    (N=normal, H=highlight/intensified, V=inverse)
    Default:
    COL0N=400,0,0,0,255,0
    COLOH=700,0,0,0,255,0
    COL0V=700,0,0,255,0,0 /* with activated background */
    COL0V=700,0,0,0,255,0 /* with activated background */
    COL1N=400,0,0,0,255,0
    COL1H=700,0,0,0,240,0
    COL1V=700,0,1,0,255,0
    COL2N=400,0,0,0,255,0
    COL2H=700,0,0,0,250,0
    COL2V=700,0,0,0,255,0
    COL3N=400,0,0,0,255,0
    COL3H=700,0,0,0,255,0
    COL3V=700,0,0,0,255,0
    COL4N=400,0,0,0,250,0
    COL4H=700,0,0,0,250,0
    COL4V=700,0,0,0,255,0
    COL5N=400,0,0,0,255,4
    COL5H=700,0,0,0,255,4
    COL5V=700,0,0,0,255,4
    COL6N=400,0,0,0,255,6
    COL6H=700,0,0,0,255,6
    COL6V=700,0,0,0,255,6
    COL7N=400,0,0,0,240,0
    COL7H=400,1,0,0,240,0
    COL7V=700,0,0,0,255,0
    Other values: 0..999,0/1,0/1,0..255,0..255,0..6
    Meaning: <Bold>,<Italic>,<Underline>,<Text>,<Background>,<Hatch>
    <Bold> (0..999) typeface level (400 = normal, 700 = bold)
    <Italic> (0/1) italic typeface
    <Underline> (0/1) Underline
    <Text> (0..255) grey tone for typeface (0 = black  255 = white)
    <Background> (0..255) grey tone for background (0 = black, 255 = white)
    <Hatch> (0..6) hatch for background
    0 = no hatch
    1 = /* - - - */
    2 = /* ||||| */
    3 = /* \\ */
    4 = /* ///// */
    5 = /* +++++ */
    6 = /* xxxxx */
     
  • Character string: "transparent_bitmaps"
    Default: 1
    Other values: 0
     
  • Effect:
    1: When you print TIFF graphics, white is interpreted as translucent. Because of this, the printing is compatible with other device types (for example, HPLJ4).
    0: The graphic overwrites a background that may be available.
    Icons are always printed as non-transparent, regardless of how the parameter is set.
    For some printer types, graphics are either only black and white (no gradation) or completely unreadable. In this case, set the value to 0.
     
  • Character string: "DcAllFields" [printer-specific]
    Default: 1
    Caution: This parameter is required for some other settings.
    Other values: 0
     
  • Effect:
    If this parameter is set to 1, ALL settings that the relevant printer understands are re-sent after each change.
     
  • Character string: "DcMode" [printer-specific]
    Default: 0x0800
    Other values: (Nearly) all, see below
     
  • Effect:
    This parameter determines WHEN to send the control of
    a) orientation portrait/landscape
    b) paper size
    c) duplex
    d) tray
    to the printer and WHICH commands will have to be repeated together with other commands.
    The parameter is a 16-bit figure in the following format:
    ttttaaabbbcccddd
    The t-bits determine the sending time of the control commands. There are two procedures:
    1. Only send a command when a parameter changes or always send it.
    2. Send command immediately if changes occur or collect all commands and send them together at the next page break.
    tttt = 0000    (former operation)
    0010    (only in case of parameter change + direct output)
    0100    (send always + direct)
    1000    (only in case of change + collect until page break)
    1100    (send always + collect until page break)
    In each case, the following bits determine which commands must be repeated together with others (a-d see above). The 3 a-bits determine whether size (b) Bit 1, duplex (c) Bit 2, tray (d) Bit 3 are sent when setting the orientation.
    Example: 0x0900 = 0000100100000000 (t=0000,a=100,b=100,c=000,d=000) means that, as opposed to the default setting (b=000), with the b=page size command, the a=Orientation command is always repeated as well.
     
  • Character string: "print_spaces" [printer-specific]
    Default: 0
    Other values: 1
     
  • Effect:
    If the value is 1, spaces are underlined for the default of a CPI value (single character positioning).
     
  • Character string: "barcode_yshift"
    Default: 50
    Other values: all
     
  • Effect:
    The barcode_yshift pixels shift the print position for barcodes down.
     
  • Character string: "use_copies" [printer-specific]
    Default: 0
    Caution: This option is set to 0 again as of SAPGUI patch 12, since too many problems occurred.
    Other values: 1
     
  • Effect:
    If the value is 1, the system transfers only one print output and the copy counter to the spool system rather than transferring a certain number of individual print outputs.
     
  • Character string: "SwinDataType" [printer-specific]
    Default: "SAPWIN"
    Other values: "EMF", "RAW", and so on
     
  • Effect:
    Set the spool format for SAPWIN data. The spooler does not understand "SAPWIN"; as a result, the default that is set in the printer is used.
     
  • Character string: "space_comp"
    Default: 0
    Other values: 1
     
  • Effect:
    For a value of 1, characters that are double the width are issued in ABAP lists under Unicode and, if possible, many empty lines are subsequently suppressed so that a list appears as it did before.
     
  • Character string: "EnableCancelButton"
    Default: 1
    Other values: 0
     
  • Effect:
    For a value of 1, you are able to choose "Cancel" in the Windows print dialog. Note that the system deletes the spool request in the SAP system if you chose the setting 'Delete After Printing'.
     
  • Character string: "PropertyChangeAllowed"
    Default: 1
    Other values: 0
     
  • Effect:
    For a value of 1, you are able to choose "Properties" in the Windows print dialog. Note that conflicts may exist between the print parameters that the SAP system sends and the print parameters that you chose in the Windows print dialog. The properties can be changed for SAPWIN device types only.