Sunday, August 28, 2011

Howto Install SAPlpd Print server (Can be apply for SAPSprint)


Prerequire
-          NT resouce kit (ntreskit) 
INSTSRV.EXE,and SRVANY.EXE
-          Create New SAPlpd.reg Regedit for SAPLpd  and modify content (below information)

Step

1.      Login Local Administrator and install saplpd on Print server
2.      Copy folder ntreskit to c:\Program Files\
3.      Run DOS prompt and change to c:\Program Files\ntreskit .
4.      Run command :
instsrv.exe SAPlpd c:\Program Files\ntreskit\srvany.exe
5.      Check values in SAPlpd.reg for saplpd installation path
Value-Name                     String:
Application                     C:\Program Files\SAP\FrontEnd\SAPgui\SAPlpd\SAPlpd.exe
AppDirectory                  C:\Program Files\SAP\FrontEnd\SAPgui\SAPlpd
AppParameters              -d
6.      Double click  SAPlpd.reg to add in regedit
Check
HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services
-> SAPlpd ->
    ObjectName -> value LocalSystem
-> SAPlpd ->
    -> ObjectName -> value ImagePath
And
-> SAPlpd ->Parameters
  -> ObjectName -> value ImagePath
7.      Open services on windows and start service SAPLPD and verify automatic start(and click start)
8.      Check port 515 Run command :
netstat -an|more

Active Connections
  Proto  Local Address          Foreign Address        State
  TCP    0.0.0.0:135            0.0.0.0:0              LISTENING
  TCP    0.0.0.0:445            0.0.0.0:0              LISTENING
  TCP    0.0.0.0:515            0.0.0.0:0              LISTENING


-----------------------
SAPlpd.reg content
------------------------
REGEDIT4

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SAPlpd]
"Type"=dword:00000010
"Start"=dword:00000002
"ErrorControl"=dword:00000001
"ImagePath"=hex(2):63,3a,5c,50,72,6f,67,72,61,7e,31,5c,6e,74,72,65,73,6b,69,74,\
  5c,73,72,76,61,6e,79,2e,65,78,65,00
"DisplayName"="SAPlpd"
"ObjectName"="LocalSystem"
C:\Program Files\SAP\FrontEnd\SAPgui\SAPlpd

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SAPlpd\Parameters]
"Application"="C:\\Program Files\\SAP\\FrontEnd\\Sapgui\\SAPlpd\\SAPlpd.exe"
"AppDirectory"="C:\\Program Files\\SAP\\FrontEnd\\Sapgui\\SAPlpd"
"AppParameters"="-d"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SAPlpd\Security]
"Security"=hex:01,00,14,80,c0,00,00,00,cc,00,00,00,14,00,00,00,34,00,00,00,02,\
  00,20,00,01,00,00,00,02,80,18,00,ff,01,0f,00,01,01,00,00,00,00,00,01,00,00,\
  00,00,20,02,00,00,02,00,8c,00,05,00,00,00,00,00,18,00,8d,01,02,00,01,01,00,\
  00,00,00,00,01,00,00,00,00,74,00,73,00,00,00,1c,00,fd,01,02,00,01,02,00,00,\
  00,00,00,05,20,00,00,00,23,02,00,00,76,00,63,00,00,00,1c,00,ff,01,0f,00,01,\
  02,00,00,00,00,00,05,20,00,00,00,20,02,00,00,76,00,63,00,00,00,1c,00,ff,01,\
  0f,00,01,02,00,00,00,00,00,05,20,00,00,00,25,02,00,00,76,00,63,00,00,00,18,\
  00,fd,01,02,00,01,01,00,00,00,00,00,05,12,00,00,00,25,02,00,00,01,01,00,00,\
  00,00,00,05,12,00,00,00,01,01,00,00,00,00,00,05,12,00,00,00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SAPlpd\Enum]
"0"="Root\\LEGACY_SAPLPD\\0000"
"Count"=dword:00000001
"NextInstance"=dword:00000001

1 comment:

SAPDEV said...

SAPlpd was replaced by SAPSprint many years ago. The above instruction does not apply to SAPSprint. https://launchpad.support.sap.com/#/notes/894444/E contains all the required information about SAPSprint.