public async void PrintNow()
        {
            //if (_checkin.CheckinStatus == Enums.CheckinStatus.Checkout)
            //{

            //}
            //else
            //    this.DisplayAlert(MocoApp.Resources.AppResource.alertAlert, "A conta precisa estar fechada para realizar a impressão.", AppResource.textOk);

            try
            {
                Acr.UserDialogs.UserDialogs.Instance.ShowLoading(AppResource.alertPrinting, Acr.UserDialogs.MaskType.Black);
                await Task.Delay(500);

                await DependencyService.Get <IBluetoothManager>().OpenOutputStream();

                PrinterService _printer = new PrinterService();

                await _printer.PrintText(PrintText.PrintLocationBill(_checkin, _checkinSubOrders));
            }
            catch (Exception ex)
            {
                this.DisplayAlert(MocoApp.Resources.AppResource.alertAlert, ex.Message, AppResource.textOk);
            }
            finally
            {
                Acr.UserDialogs.UserDialogs.Instance.HideLoading();
            }
        }
        public async void PrintNow()
        {
            try
            {
                Acr.UserDialogs.UserDialogs.Instance.ShowLoading(AppResource.alertPrinting, Acr.UserDialogs.MaskType.Black);
                await Task.Delay(500);

                await DependencyService.Get <IBluetoothManager>().OpenOutputStream();

                PrinterService _printer = new PrinterService();

                await _printer.PrintText(PrintText.PrintCheckin(_checkin, _listSubCheckin));
            }
            catch (Exception ex)
            {
                this.DisplayAlert(MocoApp.Resources.AppResource.alertAlert, ex.Message, AppResource.textOk);
            }
            finally
            {
                Acr.UserDialogs.UserDialogs.Instance.HideLoading();
            }
        }
 private void PrintCommandImpl()
 {
     PrinterService.PrintText(
         ConsoleService.GetText());
 }