Hiển thị các bài đăng có nhãn SAPLPD. Hiển thị tất cả bài đăng
Hiển thị các bài đăng có nhãn SAPLPD. Hiển thị tất cả bài đăng

Thứ Ba, 27 tháng 12, 2011

Creating a Local Frontend Printer or Desktop Printer


Local or frontend printing is sometimes confusing in concept but actually very easy to understand. As a rule, local printer is simply another way of saying that the user is going to print to the default printer designated on his/her workstation. You probably do this all the time with Windows to printerspreadsheets, Word documents, etc without thinking about it. You can do the same thing using SAP.
1. Log on to any client in the appropriate SAP system.
2. Go to transaction SPAD.
3. On the Spool Administration: Initial Screen screen, click the Output Devices
button.
4. On the Spool Administration: List of Output Devices screen, click the
Change button and then the Create button.
5. On the Spool Administration: Create Output Device screen, fill in the
Output Name and Short name – I normally use a short name of “DESK” for
“Desktop Printing” but alot of people use a Short name “SWIN” or “LOCL”
as well. Use the following DeviceAttributes fields:
Device type = SWIN
Device Class = standard printer
And the following Access Method fields:
Host spool access method = F: Printing on frontend computer Host printer = __DEFAULT. That is _ _ D E F A U L T
Save the printer.
6. You may now leave the SPAD transaction.
Using this printer will cause print to go to SAPLPD which will use the default printer of the current workstation.

Chủ Nhật, 28 tháng 8, 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