Method and device for printing on optical recording medium and optical recording medium