xmp: Add two-page output (Trial)

Got stuck and therefore created this branch