Device and method for generating an optimal writing signal for an optical recording medium, the method having the steps of providing a writing pulse according to a data to be written, and applying a writing power level with reference to the writing pulse to a laser diode to drive the laser diode for forming a pit, the method including the steps of (1) confirming a length of a prior blank and a length of the present pit from the writing pulse, (2) providing a writing power compensating signal such that a writing power level of a starting portion of the pit is determined with reference to the length of the prior blank confirmed in the step (1), and a writing power level of the end portion of the pit is determined with reference to the length of the present pit, and (3) adding the provided writing power compensating signal to the writing power level.
展开▼