Connecting UNIX Printers to the SAP System 

To use a UNIX output device from the SAP System, you must first inform the SAP System of its name and type. To do this, call Spool Administration (transaction SPAD). Then select Output devices on the Devices / servers tab page. Choose Create to create a new device definition. If you want to copy the configuration of an existing output device, choose Create with reference.

Procedure

  1. Fill out the definition screen. The graphic shows a completed definition. The following table will help you fill out the individual fields correctly.
  2.  

    Field

    Value

    DeviceAttributes tab page

    Device type

    Enter the device type defined in the SAP System for your printer model.

    Examples: HPLJ4 for Hewlett-Packard LaserJet 4 printers, POSTSCPT for any PostScript printer.

    You cannot specify the generic SWIN device type.

     

    Spool server

    Select the R/3 application server to use as the spool server. The spool work process responsible for the output device runs on the spool server.

    If possible, you should choose a spool server running on the host system the output device is attached to (Access method L). This means the SAP spool server can pass output requests directly to the host spool in the same system. This configuration is the most reliable way of connecting a UNIX output device.

    If the target host system has a compatible LPD configuration, the spool work process can also send output data through a network connection (access method U). (This pertains to all UNIX systems except OSF/1. OSF/1 requires that spool requests come from the "root" user, but the SAP System does not run as the "root").

     

    Authorization group

    To assign the output device to an authorization group, enter the name here. For more information, see Authorization Groups for Output Devices.

    HostSpoolAccMethod tab page

     

     

     

     

     

     

     

    Access method

    Specify how the spool work process or formatting program is to pass data to the host spool.

    "Local" output device: If you are using a spool work process and the printer is local – served by the spool of the host that you entered in Host name – choose access method L.

    The output device can be physically or remotely attached to the host. Regardless of where it is located, the output device is "local" with respect to the SAP System if it is served by the spool system of the host you specified under Host name.

    "Remote" Output Device: If the output device is attached to a different host system than you entered in Host name, then enter access method U.

    If you enter access method U, the system displays an additional host system field. Enter the name of the host system to which the output data is to be sent. This is the name of the host system to which the printer is attached (locally or remotely).

    Output requests can only be sent to a remote output device using access method U if the remote host system is either a Hewlett-Packard HP-UX or an IBM AIX system.

     

    Host printer

    Enter the name of the output device as it is specified in the UNIX system. Pay attention to capitalization.

  3. Optional: Classify the device.
  4. Choose Edit ® Classification. Choose the output-type classification appropriate for this device.

    Background: If you classify your servers as well, the spool system checks that the device and server classifications match. This helps to ensure an optimal output configuration.

  5. Optional: Define or select a command set for this device (local printers, access method L only).

If this device requires print and query commands that differ from the default commands, you can specify a command set for use with this device.

To do so, do the following:

Choose Edit ® Command set.

If you have already defined an acceptable command set, then enter the identification letter of the set in the Command record ID field.

If you want to define a new command set, then enter a letter to name the set in the Command record ID field.

Double-click the field. In the next dialog box, enter the commands that are to be used with this device. The command set can also be used in other access method L device definitions.

  1. Save the device definition.

 

Result

You can now use the output device in your SAP System.

 

  First Page of SAP Printing Guide