Exemplo n.º 1
0
        private void printDocument1_PrintPage(object sender, System.Drawing.Printing.PrintPageEventArgs e)
        {
            printDocument1.DefaultPageSettings.PaperSize.RawKind = (int)System.Drawing.Printing.PaperKind.USStandardFanfold;
            string FormatoTotalesTicket = ObjCL_Venta.FormatoTickeCuadreCaja(Empresa, Sede, Cajero, totb, totf, tott + tottf, toti, tote, FechaIni, FechaFin, CajeroID, EmpresaID, SedeID, DS.Tables["Comprobante"], DineroEntregado, Entrega12);

            e.Graphics.DrawString(FormatoTotalesTicket, this.Font, Brushes.Black, 1, 1); //total pagar en letras
        }