Lazyweb, I'm looking for a utility to combine pages preared for print (in PDF) i...

@dalias@hachyderm.io

Lazyweb, I'm looking for a utility to combine pages preared for print (in PDF) in a very particular way for printing double-sided.

16 source pages get mapped to one 2-sided output page as:

Front:
2 3
6 7
10 11
14 15

Back:
4 1
8 5
12 9
16 13

So that each page cuts into 4 horizontal strips which then fold in half to produce 4 consecutive pages.

ISTR there was a command line utility that could script this sort of thing, but I can't remember the name...