The pdsap command

Syntax

pdsap SAP_SID_NAME [list | create | modify |delete] [splserver | roms | loms | cmd | devtype | prtoptions | printer] parameter=value parameter=value ...

Description

The pdsap command allows the management of SAP printers from the OMS.

Note: The pdsap command can only be run by root or ipm1 on Linux and AIX (dropping privileges to ipm1), or an administrator on Windows.

Flags

SAP_SID_NAME
Identifies the SAP instance created using the SAP callback daemon.

list, create, modify, and delete are the operations that the pdsap command executes.

list
Lists the attributes for one or more SAP objects.
create
Creates an SAP object by using the attributes specified on the command line.
modify
Modifies several properties of an SAP object.
delete
Deletes an SAP object if there are no other SAP objects that depend on it.

splserver (Spool Server), roms (Real Output Management Systems), loms (Logical Output Management Systems), cmd (Operating System Commands), devtype (Device Types), prtoptions (Print Options), and printer (Output Device) are the SAP objects to which an operation applies.

Note: All flag and attribute names are case insensitive.

The following table shows the operations that are applied to each SAP object:

Object Operation
splserver list
roms create
delete
list
modify
loms create
delete
list
modify
cmd create
delete
list
modify
devtype list
prtoptions list
printer create
delete
list
modify

To create a printer, follow these steps:

  1. Log in as root or ipm1 on Linux and AIX or as an administrator on Windows.
  2. Enter the pdsap command to list splserver and look for the SPOOLSRV attribute value.
  3. InfoPrint Manager creates a default “IBM IPM” ROMS as part of the SAP client configuration. You can use the default ROMS or create a new one.
    Important: You must always use an "IBM IPM" ROMS with InfoPrint Manager. Do not delete the “IBM IPM” ROMS.
  4. Create a LOMS by using the ROMS from step 3. Use the SPOOLSRV attribute value from step 2 for CMDSERVER and CALLBTRGT.
  5. List devtype and choose the device type to use for the SAP printer.
  6. Optionally, you can list prtoptions for the device from step 5.
  7. Create the printer using the LOMS from step 4, the device name from step 5, and enabling or disabling the print options listed in step 6.
    Note: The print options set when the SAP printer is created cannot be removed with this tool. You can only set additional print options. To remove print options, use SAP NetWeaver SAPGUI.