Hi,
I want to print a pdf file without opening adobe acrobat or other pdf readers and I can't really do that. I tried using you library (Spire.pdf) and when i print the text is incredibly streched in height. This is the c# code:
PdfDocument doc = new PdfDocument();
doc.LoadFromFile(@"C:\Users\Daniele\Desktop\etichettaGruppo.pdf");
doc.PrinterName = "Star TSP100 Cutter (TSP143)";
// doc.PageSettings.Orientation = PdfPageOrientation.Portrait; <<<these are examples of what i tried to do
//doc.PageSettings.Height = 5; <<<
doc.PrintDocument.Print();
I'm printing on a Star TSP100 Cutter (TSP143) which is printer for receipts.
It's not the file because when i try to print it the old fashioned way it's fine
thank you in advance for your help