all! I have a pdf-file with mixed page orientation: 1 page portrait and 1 landscape. I load it and send to the printer:
var ds = new C1PdfDocument