EscPosNv
public static class EscPosNvESC/POS non-volatile (NV) graphics: store a logo in the printer's flash once, then print it by key. Modern printers use GS ( L / GS 8 L (keyed NV graphics); older ones FS q / FS p (numbered NV bit images). Note: printers limit how often NV memory may be written — download logos once, not per receipt.
Methods
| Method Signature | Returns | Description |
|---|---|---|
static # DefineBitImages(IReadOnlyList<SKBitmap> images) | byte[] | FS q: define NV bit images 1…n (legacy; replaces all previously stored images). Images are padded to multiples of 8 dots and sent column by column (MSB = top), as the command requires. |
static # DefineGraphic(SKBitmap bitmap, string key = "G1") | byte[] | GS ( L fn 67: define a keyed monochrome raster NV graphic (GS 8 L for data > 64 KB). bitmap: Logo; converted to 1 bit. · key: Two printable ASCII characters (32–126), e.g. "LG". |
static # DeleteAllGraphics() | byte[] | GS ( L fn 65: delete all NV graphics. |
static # DeleteGraphic(string key = "G1") | byte[] | GS ( L fn 66: delete one NV graphic. |
static # PrintBitImage(int number = 1, int mode = 0) | byte[] | FS p n m: print NV bit image number (1-based); mode 0 normal … 3 quadruple. |
static # PrintGraphic(string key = "G1", int scaleX = 1, int scaleY = 1) | byte[] | GS ( L fn 69: print the NV graphic with the given key (scale 1 or 2 per axis). |

