打印

[軟件] 有冇ad高手係度?

有冇ad高手係度?

我想deploy ip printer..搞唔掂

TOP

08

TOP

聽日試先下,thanks

TOP

引用:
Originally posted by 白戶則道 at 2010-3-11 17:35:
裝個print server role之後試下用佢deploy個printer出黎
print management can deploy shared printer only??
my company using ip printer.., if share those ip printers from a server..it is a bit stupid..
(and the problem of 1 point failure.)

can group policy deploy a rule/script to make it self install the ip printer?

TOP

得左

               
                set ip1=10.3.1.47
                set prt_name1=FX DocuPrint C4350 (26/F TAB)
                set prt_inf1=L:\Common\XPPrinterDrivers\FujiXerox C4350\PCL6 XPSP3_VISTA\English\Win2000_XP\fxxjrqi.inf
                set dev_name1=FX DocuPrint C4350 PCL 6
                set name1=TAB4350
                set ip2=10.3.1.46
                set prt_name2=HP Color LaserJet 4650 (26/F RAD)
                set prt_inf2=L:\Common\XPPrinterDrivers\HP LJ 4650C\hpc4650c.inf
                set dev_name2=HP Color  LaserJet 4650 PCL 6
                set name2=RAD4650

                :LOOP
                IF NOT EXIST C:\windows\%ip1%.txt GOTO :I1
                IF NOT EXIST C:\windows\%ip2%.txt GOTO :I2
                GOTO :EOF

                :I1
                REM reg file header and parent key
                ECHO Windows Registry Editor Version 5.00 > ip_%ip1%.reg
                (
               
                ECHO.
                ECHO [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Print\Monitors\Standard TCP/IP Port\Ports]
                ECHO "StatusUpdateInterval"=dword:0000000a
                ECHO "StatusUpdateEnabled"=dword:00000001
                ECHO.
                ECHO.

                ) >> ip_%ip1%.reg



                REM LOOP IP addresses and create keys

                (
                ECHO ;port %ip1%
                ECHO.
                ECHO [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Print\Monitors\Standard TCP/IP Port\Ports\IP_%ip1%]
                ECHO "Protocol"=dword:00000001
                ECHO "Version"=dword:00000001
                ECHO "HostName"=""
                ECHO "IPAddress"="%ip1%"
                ECHO "HWAddress"=""
                ECHO "PortNumber"=dword:0000238c
                ECHO "SNMP Community"="public"
                ECHO "SNMP Enabled"=dword:00000000
                ECHO "SNMP Index"=dword:00000001
                ECHO.
                ECHO.
                )  >> ip_%ip1%.reg


                REM silently import the keys into the registry
                REGEDIT /S ip_%ip1%.reg

                REM delete the reg file (in this case, consider using %temp%\tcpipports.reg )
                REM DEL tcpipports.reg
                net stop "Print Spooler"
                net start "Print Spooler"
                rundll32 printui.dll,PrintUIEntry /if /b "%prt_name1%" /f "%prt_inf1%" /r "IP_%ip1%" /m "%dev_name1%" /z
                ECHO %ip1% > C:\windows\%ip1%.txt
                GOTO :LOOP
               
                :I2
                REM reg file header and parent key
                ECHO Windows Registry Editor Version 5.00 > ip_%ip2%.reg
                (
               
                ECHO.
                ECHO [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Print\Monitors\Standard TCP/IP Port\Ports]
                ECHO "StatusUpdateInterval"=dword:0000000a
                ECHO "StatusUpdateEnabled"=dword:00000001
                ECHO.
                ECHO.

                ) >> ip_%ip2%.reg



                REM LOOP IP addresses and create keys

                (
                ECHO ;port %ip2%
                ECHO.
                ECHO [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Print\Monitors\Standard TCP/IP Port\Ports\IP_%ip2%]
                ECHO "Protocol"=dword:00000001
                ECHO "Version"=dword:00000001
                ECHO "HostName"=""
                ECHO "IPAddress"="%ip2%"
                ECHO "HWAddress"=""
                ECHO "PortNumber"=dword:0000238c
                ECHO "SNMP Community"="public"
                ECHO "SNMP Enabled"=dword:00000000
                ECHO "SNMP Index"=dword:00000001
                ECHO.
                ECHO.
                )  >> ip_%ip2%.reg


                REM silently import the keys into the registry
                REGEDIT /S ip_%ip2%.reg

                REM delete the reg file (in this case, consider using %temp%\tcpipports.reg )
                REM DEL tcpipports.reg
                net stop "Print Spooler"
                net start "Print Spooler"
                rundll32 printui.dll,PrintUIEntry /if /b "%prt_name2%" /f "%prt_inf2%" /r "IP_%ip2%" /m "%dev_name2%" /z
                ECHO %ip2% > C:\windows\%ip2%.txt
                GOTO :LOOP

TOP

引用:
Originally posted by hungjoyee at 2010-3-17 20:55:


其實仲有一個方法 係XP VISTA 同 WIN 7 都用到
都做到(XP 要裝額外裝PATCH)
佢有個administrative Templete
可以ADD 到PRINTER 用GROUP POLICY 食佢

要CAP 圖話我CAP 上來
print management?

TOP

引用:
Originally posted by hungjoyee at 2010-3-19 00:24:


剩係2008 先有
i am using server 08 ah

TOP

原來呢個要裝patch...唔怪之得唔得啦..

咩patch~~~???

TOP

引用:
Originally posted by hungjoyee at 2010-3-20 12:57:


XP 同VISTA
要裝一個 群組伸X 個PATCH
個PATCH 起WINDOWS UPDATE  (個NUMBER要搵搵)
唔係重要更新之列 要自己MANUAL 裝

裝咗之後CLIENT機 會見到 LOCAL GROUP POLICY 入面
有我貼依個圖表 起入 ...
我搵唔到個patch=.=

TOP