Hi!
I faces with some problems. I try to print DHL invoice PDF. When I do it via Acrobat Reader I get correct document. But when i go through Spire.PDF I get mistakes in the layout.
Add xps file of first page and original pdf document.
My code:
using (var document = new PdfDocument())
{
document.LoadFromFile(request.FileName);
document.PrintSettings.Collate = true;
document.PrintSettings.SetPaperMargins(0, 0, 0, 0);
document.PrintSettings.SelectSinglePageLayout(PdfSinglePageScalingMode.ActualSize);
document.PrintSettings.SelectPageRange(1, 1);
document.PrintSettings.
document.PrintSettings.PrinterName = request.PrinterName;
document.PrintSettings.PrintToFile("firstPage.xps");
document.Print();
}