private void butPrint_Click(object sender, EventArgs e) { _pagesPrinted = 0; ODprintout.InvalidMinDefaultPageWidth = 0; //No print previews, since this form is in and of itself a print preview. PrinterL.TryPrint(pd_PrintPage, margins: new Margins(50, 50, 50, 50), duplex: Duplex.Horizontal); }
private void butPrint_Click(object sender, EventArgs e) { PrinterL.TryPrint(pd2_PrintPage, Lan.g(this, "Graphical perio chart printed"), _patCur.PatNum, PrintSituation.TPPerio, new Margins(0, 0, 0, 0), PrintoutOrigin.AtMargin ); }
private void butPrint_Click(object sender, EventArgs e) { curPrintPage = 0; PrintoutOrientation orient = (landscape?PrintoutOrientation.Landscape:PrintoutOrientation.Portrait); if (PrinterL.TryPrint(pd1_PrintPage, printoutOrigin: PrintoutOrigin.AtMargin, printoutOrientation: orient)) { numTimesPrinted++; } printerGraph = null; Display(); }
protected override void butPrint_Click(object sender, EventArgs e) { pagesPrinted = 0; PrinterL.TryPrint(pd_PrintPage, margins: new Margins(50, 50, 50, 50), duplex: Duplex.Horizontal); }
private void butPrint_Click(object sender, EventArgs e) { PrinterL.TryPrint(pd2_PrintPage, Lan.g(this, "Employee time graph printed")); }