How can I print in c# without me selecting the printer I'm gonna use? I already set the POS printer as default but I'm still getting this..
Automatic Print In C#
Collapse
X
-
Tags: None
-
I print from FastReport, there it is done very simply.
in "reportSettings " you can configure a lot of things, in particular everything that can be configured in the print dialog.Code:Report report = new Report (); report.Load ("filename"); report.Prepare (); // print report to pdf printer report.PrintSettings.Printer = "PDFCreator"; report.PrintSettings.ShowDialog = false; report.Print ();
Comment