Preserving the direction of documents

If I want to preserve the two different directions of a document, how can I do it in joining documents ? 

i.e. a first document is in HORIZONTAL format, the following in regular PORTRAIT fomat. how can I preserve this orientation in the final PDF ? 

many thanks 

ben, cologne