Print method, printing to different trays

I have a batch printing job that needs to be taken care of through notes, though I wan’t to be able to split the job up through different print trays. has anyone done this through a custom class or something similar? Any help would be appreciated.