When printing a document through a standard print dialog box, the program crashes without any errors or exceptions. Part of the output code is standard:
PrintDialog printDialog = new PrintDialog(); if (printDialog.ShowDialog() == true) { DocumentPaginator paginator = ((IDocumentPaginatorSource)fdpvDocumentViewer.Document).DocumentPaginator; printDialog.PrintDocument(paginator, "Акт"); }
I assumed that there was an error in the installed drivers on the printer. Ran printing using multiple printers. I found out the following: on all printers where a standard universal driver is used (From the description: IEEE 1284.4 universal print support) the program, when you click on print, crashes. But, when printing from the same text editor, everything prints well, without errors and closures. How can this problem be solved??
Reinstallation of drivers for relatives is impossible, since Printers whose drivers do not support axes younger than Win XP are used.