Search Results

Search found 1 results on 1 pages for 'user3702654'.

Page 1/1 | 1 

  • Zebra Label Printer with C#

    - by user3702654
    I'm having trouble printing a label using ZDesigner GK420T using C# .NET. I converted the following string to Bytes and passed into the printer. ^XA ^FO3,3^AD^FDZEBRA^FS ^XZ The expected outcome was that the printer was supposed to print 'ZEBRA' but it didn't. My C# Code: StringBuilder sb; sb = new StringBuilder(); if (frmPrintJob._type != 1) { sb.AppendLine("^XA"); sb.AppendLine("^FO3,3^AD^FDZEBRA^FS"); sb.AppendLine("^XZ"); } int intTotalPrinted = 0; for (int i = 1; i <= NoOfCopies; i++) { if (RawPrinterHelper.SendStringToPrinter(PrinterName, sb.ToString()) == true) intTotalPrinted++; } What am I doing wrong here? Do I need any extra code?

    Read the article

1