SAP ABAP Data Element RSPOCMDTXT (Print command)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-CCM-PRN (Application Component) Print and Output Management
     SPOO (Package) Spool
Basic Data
Data Element RSPOCMDTXT
Short Description Print command  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type TEXT60    
Data Type CHAR   Character String 
Length 60    
Decimal Places 0    
Output Length 60    
Value Table      
Further Characteristics
Search Help: Name    
Search Help: Parameters    
Parameter ID   
Default Component name    
Change document    
No Input History    
Basic direction is set to LTR    
No BIDI Filtering    
Field Label
  Length  Field Label  
Short 10 Command 
Medium 15 Command 
Long 20 Print command 
Heading  
Documentation

Definition

This command is used to hand over data to the host spooler or to query the request list for a printer at the host spooler. It is only used in connection with access method 'L' or 'N' (old).

The print command receives a file name and the name of a host spooler printer, and must pass the file to the host spooler for printing. You must ensure that the file is deleted after printing.

The query command receives a printer name as the parameter. It must return the current list of non-processed print requests to this printer on the standard output channel (stdout for UNIX).

There are some parameters that can be used in the command:
&F Name of the output file
&P Name of the output device (host spooler name)
&C Number of prints
&L Format (e.g. X_PAPER)
&O Owner of the spool request
&M Client in which the spool request is stored
&o Person who created the print request
&T Title of the print request
&t Telecommunications number (e.g. fax number)
&R Request recipient
&S SAP printer name
&Y Priority
&& Replaced by &

Example HP-UX Systems: /usr/bin/lp -d&P -n&C -onb -or &F; rm &F

History
Last changed by/on SAP  20010130 
SAP Release Created in