public static void Print(CanonPrinter p1) { Log("Print started"); var o = new OpenFileDialog(); o.ShowDialog(); var f = File.OpenRead(o.FileName); p1.Print(f); Log("Print finished"); }
private static void Print(CanonPrinter canonPrinter) { PrinterManager.Print(canonPrinter); PrinterManager.Log("Printed on Canon"); }