Often, if there is no display on the printer, and no way to type in a password, you need a USB cable from the printer to the PC, even to setup wireless printing.
The advantage is, once it is on the network, other pc and devices on wifi can then print. But you still need that usb printer cable...