private void PrintReceipt() { lock (lockObject) { ReceiptInformationManager receiptInfo = SharedInformationManager.ReceiptInformationManager; byte[] commands = PrinterSampleManager.CreateLocalizeReceiptCommands(receiptInfo); Communication.SendCommandsWithProgressBar(commands, port); } }
public override void Execute(object parameter) { PrinterSampleManager.PrintPhotoFromLibrary(); }
public override void Execute(object parameter) { PrinterSampleManager.PrintLocalizeReceipt(ReceiptInformationManager); }
public static void PrintLocalizeReceiptUsingRedirection(ReceiptInformationManager receiptInfo) { byte[] commands = PrinterSampleManager.CreateLocalizeReceiptCommands(receiptInfo); PrintRedirection(commands); }