Ejemplo n.º 1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            rPrintTag rpt = new rPrintTag();

            rpt.Site = this.Site;
            return(rpt);
        }
Ejemplo n.º 2
0
        private void TagPrint()
        {
            rPrintTag oRpt = new rPrintTag();

            SetDBLogonForReport(oRpt);
            oRpt.SetParameterValue(0, clsDbForReports.pubLayBatNo);
            oRpt.SetParameterValue(1, cmbLetters.Text);
            oRpt.SetParameterValue(2, Convert.ToInt32(cmbParts.SelectedValue));
            oRpt.SetParameterValue(3, Convert.ToInt32(txtBunFrom.Text));
            oRpt.SetParameterValue(4, Convert.ToInt32(txtBunTo.Text));
            oRpt.PrintOptions.PrinterName = "Datamax-O'Neil E-4204B Mark III";
            oRpt.PrintToPrinter(1, false, 1, -1);
        }