Penalties. Any owner, general agent, manager, contractor, builder, architect, tenant, lessee or occupant of an entire building or premises in which any violation of this chapter has been committed or shall exist, and any owner, general agent, manager, contractor, builder, architect, tenant, lessee or occupant of any part of a building or premises in which such violation has been committed or shall exist, and any person who knowingly commits, participates in or permits any such violation shall, upon conviction thereof before any Magisterial District Judge in a summary proceeding, be sentenced for each such violation to pay a fine not exceeding $300 and, in a default thereof, to undergo imprisonment in the Northumberland County jail for a period not exceeding 60 days. Whenever any such person shall have been notified by the Zoning Officer by prosecution or in any other manner of such violation, each day thereafter that such violation shall continue shall constitute a separate violation hereof and may be punishable as such hereunder.