Provided is a method and apparatus for generating a label for use in a medical application. Label content specified by a user that is to be applied to a surface of the label is received. The label content, which includes a machine-generated character, is printed on demand onto the surface of the label. The label bearing the label content is dispensed in a condition suitable for use in the sterile environment.