How do I connect a printer to support 2 computers using a router? 2011-12

anyone can help me on this problem