It would help in providing suggestions if the make/model of both the printer and computer were known.
Just Google "wireless print server" for a wide selection of devices that will give you the ability to print over wifi (assuming your own printer isn't wifi capable). Just be sure the device you select is compatible with the printer.
I use wifi to connect to the Internet so I don't have a modem. Is there any kind of router system or any thing I can use to connect my printer to my computer with out using a cord