502. Whoever sells or offers for sale any printed or engraved substance, containing defamatory matter, knowing that it contains such matter, shall be punished with imprisonment for a term which may extend to two years or with fine or with both.