Hi,
I want to print a paginator (type is inherited of DocumentPaginator) with an instance of a PrintQueue:
var writer = PrintQueue.CreateXpsDocumentWriter(printer); writer.Write(paginator);
I can configure the printer and I see some reaction (the icon in the system tray appears). But that's all, there is no printing.
When I use the same paginator within the following code
PrintDialog dlg = new PrintDialog();
if (dlg.ShowDialog() == true)
{
dlg.PrintDocument(paginator, "Sample");
}everything works fine. What do I wrong?
Best regards,
Torsten