Exemple #1
0
        public void PrintSlip_ja_summary(string total_slip_seq, string total_sum_amt, string total_tax_amt, string total_fee_amt, string total_refund_amt)
        {
            GTF_JPETRS dd = new GTF_JPETRS();

            dd.printer_name = m_PrinterName;
            dd.JPNPrintSummaryTicket(total_slip_seq, total_sum_amt, total_tax_amt, total_fee_amt, total_refund_amt);
            dd = null;
        }
Exemple #2
0
        public int A4PrintTicket()
        {
            GTF_JPETRS dd = new GTF_JPETRS();

            dd.printer_name = m_PrinterName;
            //dd.PrintA4Recipt();
            dd = null;
            return(0);
        }
Exemple #3
0
        public int A4PrintTicket(string docid, string retailer, string goods, string tourist, string adsinfo, string signInfo = "")
        {
            GTF_JPETRS dd = new GTF_JPETRS();

            dd.printer_name = m_PrinterName;
            dd.PrintA4Recipt(docid, retailer, goods, tourist, adsinfo, signInfo);
            dd = null;
            return(0);
        }
Exemple #4
0
        public void PrintSlip_ja(string docid, string retailer, string goods, string tourist, string adsinfo, Boolean bPreview = true, string signInfo = "", string print_goods_type = "0")
        {
            GTF_JPETRS dd = new GTF_JPETRS();

            dd.printer_name = m_PrinterName;
            if (bPreview)
            {
                dd.JPNPrintPreview(docid, retailer, goods, tourist, adsinfo, signInfo);
            }
            else
            {
                dd.JPNPrintTicket(docid, retailer, goods, tourist, adsinfo, signInfo, print_goods_type);
            }
            dd = null;
        }