Start of Content Area

Procedure documentation Setting Up Frontend Printing Using the Windows Terminal Server  Locate the document in its SAP Library structure

If you are using a Windows Terminal Server, applications run on the server and the screen data is sent to the relevant clients.

There are no constraints for any print methods, such as local and remote printing for printing using the Windows Terminal Server. However, there are a number of special features that must be considered for frontend printing using the Windows Terminal Server. These are explained below.

Procedure

To set up frontend printing using a WTS, you must make the following settings:

...

       1.      Delete the entry LPRINT_DEST in the table TSPOPTIONS, if it exists.

       2.      Set the system variable LP_CMD to the following value on the Windows Terminal Server for NT (Start ® Settings ® Control Panel ® System ® Environment or for Windows 2000: Start ® Settings ® Control Panel ® System ® Advanced ® Environment Variables):

<GUI-path>\saplpd\saplpd.exe -f&F -c&C -P&P

Note 

Only lowercase letters can be used for the word saplpd in the above command.                                            

If spaces appear in the GUI path, place the expression, except the arguments, in double quotation marks, as in the example below:

"c:\program files\sappc\sapgui\salpd\saplpd.exe" -f&F -c&C -P&P

Result

If you made the above settings correctly, SAPlpd is restarted for each print and automatically stopped after every print, which is necessary for the correct execution of the print.

Note

If SAPlpd remains started after printing, variable LP_CMD is not set or is incorrectly set.

Error Analysis

Check the following if SAPlpd remains started:

·        Was the variable LP_CMD set correctly?

You can check whether the variable LP_CMD was set correctly by opening the DOS command prompt in the Terminal Client and entering set.

LP_CMD should appear with the correct value in the list returned.

·        Is the path for SAPlpd correct?

 You can also use the DOS command prompt to check whether the path is correct, by copying the program name (<SAPGUI path>\saplpd\saplpd.exe) from the listed variable values or entering it again without the other parameters. If the path is correct, SAPlpd will start.

·        What happens if the variable LP_CMD was not set? 

If the variable LP_CMD is not set, all users print using the default printer of the first user to print using this terminal server.

For more information, see SAP Note 150533 in the SAP Service Marketplace.

 

See also:

Frontend Printing on Local Printers

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

 

 

End of Content Area