(2)If any worker employed in a factory contravenes any of the provisions of this section or of any rule or order made thereunder, he shall be punishable with imprisonment for a term which may extend to three months, or with fine which may extend to one hundred rupees, or with both.