Very Simple Grid Marks
J, 9 5 bytes

$":&amp;1


Uses spaces and 1's and expects input in the form H W f N

Explanation:

$":&amp;1
   &amp;1 bonds the fixed right argument 1 to ":
 ":   formats the right argument number (1) to take up left argument (N) number of cells
      padding with spaces, resulting  in "  1"
$     reshape to H-by-W with repeating the string if necessary 


Usage:

   3 7 ($":&amp;1) 3
  1  1 
 1  1  
1  1  1


Try it online here.