
Access Method "L" for Local Printing in Windows NT Systems
Use this access method to use output management systems; these are started using a print command.
Access method L implements command-driven output on Windows NT. That is, a file containing the output data is downloaded to the Windows NT file system. The SAP System then issues a print command to have the file printed. The print command to use is recorded in a system profile parameter, rspo/host_spool/print.
Output method C, by contrast, uses the NT programming interface to pass output data directly to the Print Manager. Unless you have an output management system, you should use access method C.
The Print Command
SAP provides a predefined print command for access method L. You will probably need to change this command to work with the output management system that you intend to use.
The default print command simply calls MS-DOS print. The command as issued by the SAP System is:
print /d:&P &F
where:You can have the SAP System issue a different print command by entering the command in the system profile parameter rspo/host_spool/print or by defining a command set (Edit
® Command set in the device definition) for the device.You can also define a special command set for use with your Windows NT printers. A command set lets you specify print and query commands that differ from the default commands.
To define a command set, proceed as follows in the definition of the output device:
Double-click on the field. In the subsequent dialog window, you can enter the commands that are to be used with this device. The command set is also usable in other access method L device definitions.
Status of print requests for host spool access method L
You can only query the status of print requests from output controller system in the host system for access method L in Windows NT systems if the following is true:
If the output controller used does not fulfill these prerequisites, you must select the Do not query host spool for output status field in the R/3 output device definition.
If the output controller does fulfill these prerequisites, you can enter the query command to use in the SAP System profile. Enter the command in the parameter rspo/host_spool/query and the format of the status message in the parameter rspo/host_spool/answer_format.
Set these parameters in the profile of the application server in the Windows NT system.
For more information, see SAP Note 161516.