I am developing a full screen kiosk application using c#. I need to print tickets and receipts. I use the PrintDocument class for the printing. Printer prints perfectly, but i need to disable the pop-up dialog shown during printing.
I heard it can be disabled with Printers and Faxes in control panel, but i do not have Printers and Faxes in control panel.
Can i disable the dialog shown? If i could, how can i do it?
I believe setting your PrintDocument
's PrintController
to StandardPrintController
should solve this.
PrintDocument printDocument = new PrintDocument();
PrintController printController = new StandardPrintController();
printDocument.PrintController = printController;
Hope this helps some.