public PrinterThuChi(int thuchiID, Data.BOMayIn mayin, Data.BOXuliMayIn xuli)
        {
            mThuChiID = thuchiID;
            mBOMayIn = mayin;
            mBOXuliMayIn = xuli;
            mPOSPrinter = new POSPrinter();
            mPOSPrinter.POSSetPrinterName(mBOMayIn.TenMayIn);
            mPOSPrinter.PrintPage += new System.Drawing.Printing.PrintPageEventHandler(mPOSPrinter_PrintPage);

            mPrinterFont = new PrinterFont(mBOXuliMayIn);
        }
Esempio n. 2
0
        public PrinterThuChi(int thuchiID, Data.BOMayIn mayin, Data.BOXuliMayIn xuli)
        {
            mThuChiID    = thuchiID;
            mBOMayIn     = mayin;
            mBOXuliMayIn = xuli;
            mPOSPrinter  = new POSPrinter();
            mPOSPrinter.POSSetPrinterName(mBOMayIn.TenMayIn);
            mPOSPrinter.PrintPage += new System.Drawing.Printing.PrintPageEventHandler(mPOSPrinter_PrintPage);

            mPrinterFont = new PrinterFont(mBOXuliMayIn);
        }
        public PrinterReportDaily(DateTime dtFrom,DateTime dtTo,Data.BOMayIn mayin,Data.BOXuliMayIn xuli)
        {
            mDateTimeFrom = dtFrom;
            mDateTimeTo = dtTo;
            mBOMayIn = mayin;
            mBOXuliMayIn = xuli;
            mPOSPrinter = new POSPrinter();
            mPOSPrinter.POSSetPrinterName(mBOMayIn.TenMayIn);
            mPOSPrinter.PrintPage += new System.Drawing.Printing.PrintPageEventHandler(mPOSPrinter_PrintPage);

            mPrinterFont = new PrinterFont(mBOXuliMayIn);
        }
Esempio n. 4
0
        public PrinterReportDaily(DateTime dtFrom, DateTime dtTo, Data.BOMayIn mayin, Data.BOXuliMayIn xuli)
        {
            mDateTimeFrom = dtFrom;
            mDateTimeTo   = dtTo;
            mBOMayIn      = mayin;
            mBOXuliMayIn  = xuli;
            mPOSPrinter   = new POSPrinter();
            mPOSPrinter.POSSetPrinterName(mBOMayIn.TenMayIn);
            mPOSPrinter.PrintPage += new System.Drawing.Printing.PrintPageEventHandler(mPOSPrinter_PrintPage);

            mPrinterFont = new PrinterFont(mBOXuliMayIn);
        }
        public PrinterBillOrder(PrinterBillOrderType type, int banHangID, Data.BOMayIn mayin, Data.BOXuliMayIn xuli)
        {
            mBOMayIn = mayin;
            mBOXuliMayIn = xuli;
            mBanHangID = banHangID;
            mPrinterBillOrderType = type;

            mPrinterFont = new PrinterFont(mBOXuliMayIn);

            mColorBlack = System.Drawing.Color.Black;


            mPOSPrinter = new POSPrinter();
            mPOSPrinter.POSSetPrinterName(mBOMayIn.TenMayIn);
            mPOSPrinter.PrintPage += new System.Drawing.Printing.PrintPageEventHandler(PrinterData_PrintPage);
        }
Esempio n. 6
0
        public PrinterBillOrder(PrinterBillOrderType type, int banHangID, Data.BOMayIn mayin, Data.BOXuliMayIn xuli)
        {
            mBOMayIn              = mayin;
            mBOXuliMayIn          = xuli;
            mBanHangID            = banHangID;
            mPrinterBillOrderType = type;

            mPrinterFont = new PrinterFont(mBOXuliMayIn);

            mColorBlack = System.Drawing.Color.Black;


            mPOSPrinter = new POSPrinter();
            mPOSPrinter.POSSetPrinterName(mBOMayIn.TenMayIn);
            mPOSPrinter.PrintPage += new System.Drawing.Printing.PrintPageEventHandler(PrinterData_PrintPage);
        }