Using energy delivered by a laser, holes of different shapes and sizes can be perforated into a substrate to produce serial numbers and other data, such as in an ID document.