User Activity

I have two computers in my home that I want to connect to a wireless printer.  The main one is on the internet but the 2nd one is not and I do not want it to be. Can these be connected?