Any licensee or his officer or employee who knowingly violates any provision of §§ 12–303 through 12–306, § 12–308, § 12–311, or § 12–314 of this subtitle is guilty of a misdemeanor and on conviction is subject to a fine not exceeding $500 or imprisonment not exceeding 6 months or both.