Entering content frame

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, see 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.

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

·        rspo/host_spool/print: the command that a print 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 make this information available to a shell script or a UNIX command, replace the value of rspo/host_spool/print with a statement similar to the following:
/usr/local/bin/print &P &F &C &L &R &D
rspo/host_spool/print usually 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

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

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

Solaris (see 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

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

 

·        rspo/to_host/datafile: the name for the files passed by the formatting program to the host spooler.

The name that you select must meet the following requirements:

-       It must contain a string of eight + 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.

·        rspo/rspoget2_daemon/tcp_block_size: the block size for TCP/IP communications between the formatting program and the transfer program.

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

·        rsts/ccc/cachesize: the size of the shared memory area that is created for translation tables for character codes.

Default value: 60 KB. 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. However, you must first declare all entries invalid. For details, see the Activating Character Sets section in Defining Character Sets.

This graphic is explained in the accompanying text SAP Printing Guide start page

 

 

Leaving content frame