コード例 #1
0
        private void ClaimPOSDevices()
        {
            //  open (if not already opened), claim and enable the cash drawer and receipt printer.
            ICashDrawer drawer = _posDeviceManager.GetCashDrawer();

            drawer.Claim();
            drawer.Enable();
            IReceiptPrinter printer = _posDeviceManager.GetReceiptPrinter();

            printer.Claim();
            printer.Enable();
        }