pdfjam <input file> <page ranges> -o <output file>