I have issue with printing ITF bar code using escape characters. I have a .NET application that uses Pos for .NET and I cannot use 'PrintBarCode' method. My code looks like this:
public static void PrintBarCode()
{
var barCodeStr = ((char)29).ToString() + "k5123456" + ((char)0).ToString();
var printer = new PosPrinter();
printer.PrintNormal(PrinterStation.Receipt, barCodeStr);
}
This chunk of code only prints "123456" and I cannot manage to make it print bar code.
PosPrintershould work for your use case? And why are you usingPrintNormalrather thanPrintBarcode?TransactionPrintto batch the beginning text, barcode print, ending text into one print? Or rather,PageModePrintshould allow you to use more than onePrintXXXon a single receipt.