TAILIEUCHUNG - Windows Server 2008 Inside Out- P19

Tham khảo tài liệu 'windows server 2008 inside out- p19', công nghệ thông tin, quản trị mạng phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | Setting Up Print Servers 867 In the Specify A Printer dialog box choose a method for finding the network printer as follows Choose Find A Printer In The Directory if you want to search Active Directory for the printer. Choose Connect To This Printer and type the printer name or browse the network for shared printers just as you d browse in My Network Places. Choose Connect To A Printer On The Internet if you want to enter the Uniform Resource Locator URL of an Internet printer. When the printer is selected click OK. Select whether the printer is the default used by Windows applications by selecting Yes or No and then clicking Next. Click Finish to complete the operation. Connecting to Shared Printers Using the Command Line and Scripts With any Windows operating system you can connect users to shared printers using the command line and scripts. In a logon script that uses batch scripting or at the command line you can use the Net Use command to connect to a network printer. Consider the following example net use corpsvr02 engmain persistent yes Here you use the Net Use command to add a persistent connection to the EngMain printer on CORPSVR02. That s all there is to it. You could also use Microsoft VBScript in a logon script to set a printer connection. With VBScript you must initialize the variables and objects you plan to use and then call the AddWindowsPrinterConnection method of the Network object to add the printer connection. If desired you can also use the SetDefaultPrinter method of the Network object to set the printer as the default for the user. After you are done using variables and objects it is good form to free the memory they use by setting them to vbEmpty. Consider the following example Option Explicit Dim wNetwork printerPath Set wNetwork printerPath corpsvr02 engmain printerPath printerPath Set wNetwork vbEmpty Set printerPath vbEmpty Here you use

TỪ KHÓA LIÊN QUAN
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.