The pc that is supposed to use the printer wireless won’t connect to my printer. When it searches for printers in a network it comes up with the pc name of the computer that is plugged into the printer. Isn’t it supposed to come up with the name of the printer?

Try installing drivers on both computers.