Code to generate earrings suitable for laser printing