Entering content frameSetting Parameters Locate the document in its SAP Library structure

This section provides summaries of profile parameters used by the spool system for access method L (local printing). For more information, see the profile parameter documentation, available online in transaction RZ11. Note that you need no longer set 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 R/3 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 manufacturer-specific print commands. In other operating systems, you do not have to change from the default values of these parameters.

In Windows systems, the SAP spool system uses the Windows application interface for printing. You therefore do not need to set any spool parameter that specifies a print command or response format. Setting the parameters, however, does not cause any problems.

The spool system itself is internally configured.

For more information, see the Computing Center Management System documentation.

Not required for Windows systems.

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

&P

The host-system name of the output device

&p

Path of the file to output

&F

The name of the file to be printed. The name is supplied in the rspo/to_host/data_file parameter, described below.

&f

Name of the file to output (without path)

&C

The number of copies to print.

&& :

A single '&'

&I :

Job name in the SAP spool system

&J :

Job name in the SAP spool system, with database name

&L:

Format (layout)

&M :

Client of the owner

&O :

Owner

&m :

Client of the user

&o :

User

&t :

Telephone number (FAX)

&T :

Title

&R :

Recipient (cover page)

&D :

Department (cover page)

&S :

R/3 name of the 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 request

&s

Print parameter RQ2NAME

To pass 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

The value of rspo/host_spool/print is usually set to:
/usr/bin/lpr -P&P -J&F -h -#&C &F 2>&&1; /bin/rm &F

To determine the print command for 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

OSF/1

/usr/ucb/lpr -P&P -J&F -h -#&C &F 2>&&1;/bin/rm &F

SINIX and Spool 4.x

/var/spool/Spool/config/cmd/xpadd -job -dr &F -de &P -fc &C -rw -rm

Other UNIX systems

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

Solaris (see SAP Note 16149)

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"

Not required for Windows systems.

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

Sample commands:

Host System

Query Command

SINIX with Spool 4.x

/var/spool/Spool/config/cmd/xpstat

OSF/1

/usr/ucb/lpq -P&P

You should also set rspo/host_spool/print_answer_ignore1 to "Job number is" to allow the spool system to recognize the query answer.

HP-UX, other UNIX

/usr/bin/lpstat -o&P

The name that you select must meet the following requirements:

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

In normal operation, these files are deleted almost immediately. If 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.

Default: 1K blocks. In some network environments, larger block sizes, such as 8K, cause communications problems.

Default: 60K. If it overflows, the buffer is automatically reorganized. The buffer is also reorganized if any character set is invalidated. Creation and reorganization of the buffer result in system log messages with the reference "Buffer RSTSCCC".

You should enlarge the buffer if automatic reorganizations occur repeatedly. Before enlarging the buffer, you must invalidate all entries as described under "Activating a Character Set" in Defining a Character Set.

 

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

Leaving content frame