How to add a shared printer

Source: Internet
Author: User

Windows XP is installed on the LAN and cannot be accessed from Windows 98. Windows XP and Windows XP cannot communicate with each other. When the workstation accesses the server, the server name can be seen in the workstation's "Network Neighbor", but no shared content can be seen after clicking it, or the system prompts that no network path or access permission is found, summarized as follows:
When XP is used for the first time, you need to create a new network connection in the properties of the network neighbors for the Network Installation Wizard.
1. Check physical connections between computers
The NIC is the basic device for network connection. In the desktop computer, the indicator light behind each Nic should be on, which indicates that the connection is normal. If the link is not on, check that the hub or switch is on, and the indicator light for each client connection is on. This indicates that the link is normal. Next, check whether the crystal head of the network cable is in good contact.
2. Make sure that TCP/IP is installed on all computers and works properly.
TCP/IP is installed by default in Windows XP. However, if a network problem occurs, it is not easy to reinstall TCP/IP after uninstalling it: click the Internet Protocol (TCP/IP) item in the following project list on the "local connection" attribute. You will find that the unmount button is unavailable (disabled ). This is because the Transport Control Protocol/Internet Protocol (TCP/IP) Stack is a core component of Microsoft XP/2003 and cannot be deleted. In this case, if you need to reinstall TCP/IP to restore the TCP/IP stack to its original state. You can use the netshell utility to reset the TCP/IP stack and restore it to the status when the operating system is installed for the first time. Method: Enter the following command at the command prompt, and press Enter: netsh int IP reset C:/empty log file and complete path. The result of running this command is the same as that of deleting and re-installing the TCP/IP protocol.
3. Run the ping command to test the connection between two computers in the network.
Ping the IP addresses of other computers. In the command prompt, type Ping X. x. x. X (where X. x. x. X is the IP address of another computer), and then press Enter. You can see several replies from another computer, such:
Reply from x. x: bytes = 32 time <1 ms TTL = 128
If you do not see these answers or see "request timed out", the local computer may have a problem. If the ping command is successfully executed, you are sure that the computer can be correctly connected. You can skip the next step. If you do not see these answers or see "request timed out", the local computer may have a problem. Ping the local IP address. If "request timed out" is displayed, the local computer may be faulty.
4. Run the ping command to test whether the name resolution in the network is normal.
Ping computername, where computername is the name of the remote computer. Use the ping command to test the computer connection. To determine the computer name, enter systeminfo in the command prompt. Alternatively, right-click my computer-properties on the desktop and click the computer name tab. If you see a successful response to this command, you have a basic connection and name resolution between computers. Name resolution is closely related to NetBIOS. refer to the following steps.
5. Correctly install network components
First, right-click "Network Neighbor"-"properties" and select the NIC to be shared. Set the IP address to the same CIDR Block of the LAN. For example, 192.168.1.x. Check whether NetBIOS is enabled in the Advanced properties of TCP/IP. In a network system built using winnt4.0, the unique identifier of each host is its NetBIOS name, the system uses WINS service, information broadcast mode, and lmhost file to resolve NetBIOS names to corresponding IP addresses for information communication.
In the internal network system (also known as the LAN), it is very convenient and fast to use NetBIOS name for information communication. However, the unique identifier of a host over the Internet is its FQDN-format domain name (163.com). On the internet, DNS standards are used to resolve a domain name to a corresponding IP address, win2k supports dynamic dns. machines running the Active Directory Service can dynamically update the DNS table.
The WINS service is no longer needed in the Win2k network, but Win2k still supports wins, which is due to backward compatibility. Currently, most networks are hybrid networks, including systems such as WIN98 and WINXP and Win2k. Therefore, NetBIOS must be bound to the TCP/IP protocol to resolve the computer name. Check whether the "file and print service" component is selected. If it is deselected, "Browse service" is not bound to the NetBIOS interface. A Windows-based computer that becomes a backup browser and does not enable "file and print sharing" cannot share the browsing list with the client. Any computer that will be included in the browsing list must also enable "file and print sharing ".
6. Enable print and file sharing
In the network neighbor and Local Connection Properties, You can see whether the printer and file sharing are installed. Verify: if you cannot see your machine in the network neighbor, it means you have not installed a printer to share files.
Step 1: connect the printer to the host, power on the printer, go to the printer and fax folder through the control panel of the host, right-click the blank area, select the Add Printer command to open the Add Printer wizard window. Select "local printer connected to this computer" and check the "automatically detect and install plug-and-play printer" check box.
Step 2: At this time, the host will detect the new printer, and soon you will find the connected printer, as prompted, put the drive CD attached to the printer into the optical drive, after the driver of the printer is installed, the printer icon will appear in the "printer and fax" folder.

Step 3: Right-click the newly installed printer icon, select the share command, open the printer Properties dialog box, switch to the share tab, and select share this printer ", enter the name to be shared in the "Share Name" input box, such as compaqij. Click "OK" to complete sharing settings.

Tip: If you want other versions of the operating system in the LAN to share the host printer, you no longer need to find the driver, on the host, we can pre-install the drivers corresponding to these different versions of the selected operating system. Just click "other drivers" and select the corresponding operating system version, click OK.

2. Configure the network protocol

To ensure smooth printer sharing, we must install the "file and printer sharing protocol" on both the host and client ".

Right-click "Network neighbors" on the desktop, select the "properties" command, go to the "Network Connections" folder, right-click the "local connection" icon, and select the "properties" command, if "file and printer sharing for Microsoft Network" is not found in the "use projects for this connection" list on the "General" tab, click the "Install" button, in the displayed dialog box, select "service", click "add", and select "file and printer sharing" in the "select Network Service" window ", click OK.

3. Client installation and configuration

Now, all the work on the host has been completed. We need to configure the client that needs to share the printer. We assume that the client is also a Windows XP operating system. Print Drivers must be installed on every computer in the network that wants to use a shared printer.

Step 1: Click Start → settings → printer and fax to start the Add Printer wizard and select the Network Printer option.

Step 2: On the "specify printer" page, you can add network printers. If you do not know the specific path of the network printer, you can select "Browse printer" to find the printer shared by the LAN in the same working group. The computer with the printer installed, select the printer and click "OK". If you already know the network path of the printer, you can use the "Universal Naming Convention" (UNC) to access network resources) format: Enter the network path of the shared printer, for example, "// James/compaqij" (James is the host user name), and click "Next ".

Step 3: Enter the printer name again. After Entering the name, click "Next" and then press "finish". If the shared password is set for the host, enter the password here. Finally, we can see that the shared printer icon has appeared in the "printer and fax" folder of the client. Our network printer has been installed here.

4. Make the printer safer

Even so far, illegal users in the LAN may also take advantage of the shared printer, resulting in a "Soaring printing cost ". To prevent unauthorized users from sharing printers at will, it is necessary to restrict the use of printer objects by setting account permissions. Set the Security Attribute of the printer installed on the host to specify that only a valid account can use the shared printer.

Step 1: In the "printers and faxes" folder of the host, right-click the shared printer icon and choose "properties" from the context menu, in the shared printer Property setting box that appears, switch to the "Security" tab.

Step 2: Select "everyone" in the "name" list on the "option settings" page that is opened later, select "print" in the corresponding "permission" list as "deny", so that no user can access the shared printer at will.

Step 3: click "add" to import the valid account that can use the shared printer to the "name" list, and then select the imported legal account, select "allow" for the printing permission.

Repeat Step 3 to import all the other valid accounts that need to use the shared printer, set their print permission to "allow", and then click "OK.

Tip: if the "Security" tab cannot be found, you can choose "Tools> Folder Options> View" on the folder menu bar to cancel "use simple file sharing.
Reference: http://zhidao.baidu.com/question/1249197.html? SI = 1

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.