public PrintBarcode ( BarcodeType type, string data ) : void | ||
type | BarcodeType | /// Type of barcode. /// |
data | string | /// Data to print. /// |
return | void |
static void TestBarcode(ThermalPrinter printer) { ThermalPrinter.BarcodeType myType = ThermalPrinter.BarcodeType.ean13; string myData = "3350030103392"; printer.WriteLine(myType.ToString() + ", data: " + myData); printer.SetLargeBarcode(true); printer.LineFeed(); printer.PrintBarcode(myType,myData); printer.SetLargeBarcode(false); printer.LineFeed(); printer.PrintBarcode(myType,myData); }