Can I connect a printer through wifi if I only have internet through ethernet cable?

view full story

http://askubuntu.com – I am in residential accommodation that only uses ethernet cable to connect with the internet. I am thinking of buying a printer and the ones that I am looking for connect to a computer/laptop with Wifi. Do i need wifi or can i connect with the printer in another way. (HowTos)