How to print (PDF) for book-like binding?

This means, that pages should be reordered complex way and located on sheets appropriately, according to folding and gathering (into sections or quires)?

**UPDATE**

Standard imposition options do not allow what I need. Suppose I want to print 500 page book. I can't print just four pages per sheet as usual, because it is impossible to fold 500 sheets twice.

So, I need to split pages into several "sections" or "gatherings", like here

![enter image description here](https://i.stack.imgur.com/BnWmI.jpg)