got printing working for window size 2 and 3