ZplParser
public static class ZplParserTokenizes raw ZPL into commands. Handles caret/tilde/delimiter changes (^CC, ^CT, ^CD) and commands with non-standard name lengths (^A font, ^B barcodes, ^XA etc. are all two chars, except ^A which is followed by the font name directly).
Methods
| Method Signature | Returns | Description |
|---|---|---|
static # DecodeFieldHex(string data, char indicator, Encoding encoding) | string | Decodes ^FH hex escapes (default indicator '_') inside field data. |
static # LineColumn(string source, int offset) | (int, int) | 1-based line and column of a character offset in source (CR LF, LF and CR end a line). |
static # Parse(string zpl) | List<ZplCommand> |

