In certain offenses against the Police,---for instance, in selling bread by short weight, it is not an uncommon thing, where the degree of delinquency appears to be considerable, for the magistrate to threaten the offender, that upon the next conviction he shall be advertised in the newspapers. Such a punishment seems to be looked upon as more severe than the fine imposed by statute.

RP Book 3 Chapter 3 Section 1