That's the easiest and most economical way to do it. If you want to know how to do it, make a thread in the networking forum and I'll be more than happy to help you.
Or you can spend like $200 for a networking printer that plugs directly into a router, your choice.