A method and device, for use in an operating theater just prior to implantation, for selectively applying a medical device coating to an implantable medical device (2). Disclosed is a device (1) for use with a stent deployed on a catheter balloon configured to apply a medical coating of a desired thickness to the surface of the stent (2) only. A drop-on demand inkjet printing system (34) in association with an optical scanning device (32) is described. The device is further configured to apply a plurality of layered coats, each layered coat being of a different coating material, and if appropriate, different thickness and to coat a portion of the medical device (2) as a function of its geometric configuration. The coating is applied by moving an applicator (34) over the device in a path that is independent of the deposited coating pattern.