Wed Nov 02, 2016 12:42 pm
Hi,
this is the code I'm using to send to printer
PdfDocument doc = new PdfDocument();
byte[] bytes = Convert.FromBase64String(base64String);
doc.LoadFromBytes(bytes);
doc.PrintDocument.DocumentName = fileName;
doc.PrintDocument.PrinterSettings.PrinterName = printerName;
doc.PrintDocument.Print();
The system sends it to the print queue, every two or three sheets printed the printer will stop a few seconds to start a new printing.
One of the tests we did was convert this array into a file and save it to disk, then upload the file and send to print. Using spire.pdf had the same problem of slow, the other test was open and print the adobe reader was too slow, we can only change the print speed going in preferences Adobe Reader and unchecking the checkbox print as picture, I am sending attachment the image with this option the printer prints straight without stopping
Login to view the files attached to this post.