コード例 #1
0
        private void PrintReceipt()
        {
            lock (lockObject)
            {
                ReceiptInformationManager receiptInfo = SharedInformationManager.ReceiptInformationManager;

                byte[] commands = PrinterSampleManager.CreateLocalizeReceiptCommands(receiptInfo);

                Communication.SendCommandsWithProgressBar(commands, port);
            }
        }
コード例 #2
0
 public override void Execute(object parameter)
 {
     PrinterSampleManager.PrintPhotoFromLibrary();
 }
コード例 #3
0
 public override void Execute(object parameter)
 {
     PrinterSampleManager.PrintLocalizeReceipt(ReceiptInformationManager);
 }
        public static void PrintLocalizeReceiptUsingRedirection(ReceiptInformationManager receiptInfo)
        {
            byte[] commands = PrinterSampleManager.CreateLocalizeReceiptCommands(receiptInfo);

            PrintRedirection(commands);
        }