Another way you can connect your printer to wifi is if it has a ethernet cord just connect it directly to the router and have the printer print a diagnostic page and it should give you a IP address. When it does set up a new printer as a network printer type in the ip and you have wireless.
I might do what with one of the printers in my house.