most printers today are USB only and no longer have a parrellel port (ie printer port) depending on the printer and its manufactuers recomendations, you might be able to they a parrallel to USB converter .
Because I’ve never see a WiFi Only Printer but assuming that your New Printer is WiFi only you’ll need a WiFi Connection to it.
The current generation of Printers have one or more of these Connectors USB by far the most common, Ethernet can be seen alone but generally in conjunction with USB, WiFi again it could be WiFi only but generally in conjunction with USB.
If you are asking how you fit a Suitable Port to your Computer that doesn’t have WiFi, Ethernet or USB the easy answer is to fit a suitable Card to the computer.
As to what type of card that would be it all depends on what you have as a computer as Note Books have a different Attachment Point to Desktops. 😉
You will either have USB or WiFi connectivity options available for your new printer. It will be easier to assist, if you could share more details about your printer (like make and model).