Start of Content Area

Background documentation Parameter Settings   Locate the document in its SAP Library structure

This section provides summaries on profile parameters used by the spool system for access method L, local printing. For more detailed information, refer to transaction RZ11 in the system. Note that you no longer need to enter commands for access mode L in system profile parameters. Instead, you can define command sets in device definitions that use access method L.

You can configure the SAP formatting programs with the system profile parameters shown in the list below. You may have to change default values in some UNIX systems in order to accommodate vendor-specific print commands. In other operating systems, no change from the default values of these parameters is necessary.

In Microsoft Windows systems, the SAP spool system uses the Microsoft Windows application interface for printing. You therefore do not need to set any spool parameter that specifies a print command or response format. No harm is done if the parameters are set, however.

The spool system itself is internally configured.

More information: Computing Center Management System documentation.

      rspo/host_spool/print: The command that a printer program should use to have a host spooler perform an output request.

Not required for Microsoft Windows systems.

To have the formatting program pass spool request attributes to the host spool system, you can enter the following variables in the command text:

&P

Host system name of the output device

&p

Path of the file to be printed

&F

Name of the file to be printed (with path specification). The name is supplied in the rspo/to_host/data_file parameter, described below.

&f

Name of the file to be printed (without path specification).

&C

Number of printed copies

&&

A single '&'

&I

Request name from the SAP spool system

&J

Request name from the SAP spool system, with database name

&L

Format (layout)

&M

Client of the owner

&O

Owner

&m

Client of the user printing

&o

User

&t

Telephone number (FAX)

&T

Title

&R

Recipient (cover sheet)

&D

Department (cover sheet)

&S

SAP name of output device

&Y

Priority

&U

UNIX cover sheet required? ('N'=no, 'X'=yes, 'D'=default)

&N

Spool request number

&n

Output request number

&c

Number of pages in the request

&s

Print parameter RQ2NAME

 

To give this information to a shell script or UNIX command, replace the profile value of rspo/host_spool/print, with a statement similar to:
/usr/local/bin/print &P &F &C &L &R &D
Normally, rspo/host_spool/print has the following value:
/usr/bin/lpr -P&P -J&F -h -#&C &F 2>&&1; /bin/rm &F

To find out the print command of your host system, consult the system documentation. Some sample commands include the following:

Host System

Print command

HP-UX

/usr/bin/lp -d&P -n&C -onb -or &F; rm &F

AIX

qprt -dp -P&P -Bnn -N&C -r -R14 -X850 &F

Other UNIX

/usr/bin/lp -d&P -n&C -c &F; rm &F

Solaris (more information: SAP Note 16149 in the SAP Service Marketplace)

saplp &P &C &F where saplp is a shell script containing the following lines:
/usr/bin/lp -d"$1" -n"$2" -onb -or -c "$3"
/bin/rm "$3"

 

      rspo/host_spool/query: The command to use to request the status of a print job from the host spooler.

Not required for Microsoft Windows systems.

You can enter the variables shown above in the description of the rspo/host_spool/print parameter in the command text.

Some sample commands are shown below:

Host System

Query command

HP-UX, other UNIX

/usr/bin/lpstat -o&P

 

      rspo/to_host/data-file: The name for the files passed by the formatting process to the host spooler.

The name that you select must meet the following requirements:

-       It must contain a string of eight plus characters (+).

The formatting program replaces these characters to create a unique file name.

-       It must not exceed any length limitations imposed by the host spool system.

In normal operation, these files are deleted almost immediately. Should you want to check the contents of these files, change the print command in rspo/host_spool/print so that the files are not deleted.

This graphic is explained in the accompanying text SAP Printing Guide Start Page

 

 

End of Content Area