When "combination print" via the DOM API, make changes for each project (e.g. change printer)

In a project, for example, the printer can be changed via the DOM API and it works

If you use the “combination print” (several projects), the behaviour is different.
In this case, the DefinePrintOptions() is only called for the first project.
This means that changes can only be made there.

The methods are called in the following order:
LL_NextCombinationPrintStep() e.Index == 0
LL_DefinePrintOptions()
LL_NextCombinationPrintStep() e.Index == 1
LL_NextCombinationPrintStep() e.Index == 2
LL_NextCombinationPrintStep() e.Index == 3
LL_NextCombinationPrintStep() e.Index == 4

It would be good if the ‘DefinePrintOptions’ for the project were also called for each PrintStep.

Furthermore, a PrintStep for the table of contents, index, … would be desirable. You could proceed in the same way as with the other projects. Or register a variable so that you know whether it is currently the table of contents (e.g. to switch the display of the number of pages) (page in Roman numerals or page as a normal number).

LL_NextCombinationPrintStep() e.Index == 0
LL_DefinePrintOptions()
LL_NextCombinationPrintStep() e.Index == 1
LL_DefinePrintOptions()
LL_NextCombinationPrintStep() e.Index == 2
LL_DefinePrintOptions()
LL_NextCombinationPrintStep() e.Index == 3
LL_DefinePrintOptions()
LL_NextCombinationPrintStep() e.Index == 4 (last PrintStep = table of contents)
LL_DefinePrintOptions()