We are facing an issue with pages curling on early portions of a print job that we have not seen before. The issue only occurs when we send multiple PDF documents in a single print job and only if the are more than 30 pages in the print job. We have tested printing a single print job of a single PDF with more than 100 pages using the same code, however all of the pages print fine in this scenario.
We are using a high volume Konica Minolta 958 Printer. The code that we are using is pasted below:
public void Print() {
printJob = new PrintJob(PrinterName);
printJob.PrintOptions.Scaling = new AutoPageScaling();
printJob.PrintOptions.DuplexMode = DuplexMode.DuplexVertical;
printJob.DocumentName = jobName;
printJob.Succeeded += printJobSucceeded;
printJob.Failed += printJobFailed;
foreach (string file in Files) {
printJob.Pages.Add(file);
if (printJob.Pages.Count % 2 != 0) {
printJob.Pages.Add(BlankPagePdfPath);
}
}
printJob.Print();
}
private void printJobSucceeded(object sender, PrintJobEventArgs e) {
var args = new PrintCompletedEventArgs();
jobSuccess = true;
args.Status = Enums.PrintCompletedStatus.Successful;
OnPrintCompleted(this, args);
}
private void printJobFailed(object sender, PrintJobFailedEventArgs e) {
var args = new PrintCompletedEventArgs();
jobSuccess = false;
args.Status = Enums.PrintCompletedStatus.Successful;
OnPrintCompleted(this, args);
}
protected void OnPrintCompleted(object sender, PrintCompletedEventArgs data) {
// Check if there are any Subscribers
PrintCompleted?.Invoke(this, data);
}
printJob is a private variable of type PrintJob. jobName is a private variable of type string. Please let me know if you have any insight as to why the print command could cause any type of paper curling which ultimately leads to jamming the printer when multiple PDFs have been added to the print job.
Thanks in advance,
Tyler