split of jobs at the printer
i have a z Program which is printing transfer orders using the z function module reading a set of Z tables.
The destination printer is currently picked from the first entry in one of the tables. We need to implement a check/split which reads all entries and sort them on destination printer and then issue one or more print jobs - one for each set of data. The "hard coding" of printer is currently done in the program.
can anyone please help me on this issue.