duplicate a selection as many times as needed to fit it within a desired media space WITH CROP MARKS?

hi is there any macro that can duplicate a selection as many times as needed to fit it within a desired media space WITH CROP MARKS. It also can rotate it if need be to fit more as to prevent a large amount of wasted media but with crop marks ????