Within the company's local area network, a computer is connected to a cannon laser printer, shared with other computers on the local area network, and shares the name cannon. Suddenly one day I can't print on the network, but the local printer is OK. On other computers, the icon for the printer appears dimmed, and the status is always "Use printer offline."
The computer directly connected to it prints correctly, indicating that the printer itself does not have a hardware failure. Use My Network Places on other computers to view your computer's shared resources and shared printers to display correctly, which means that the communication is normal.
Then suspect the print port error, and then add the network print port to the printer properties, the network print port is correctly added, same as the original print port, but still unable to print online. When you look at the printer's information in My Network Places, you suddenly find that the name is not cannon, but cannon, with a trailing space. When the space is removed, the print returns to normal.
Therefore, it can be concluded that the printer name and file name, you can add a space at the end, but when adding a network print port, the computer will name the trailing spaces as invalid characters discarded, resulting in the actual printer name does not match, cannot print.