zplCore.comzplCore.com

RasterExport

public static class RasterExport

Converts a rendered label (black on white) to 1-bit raster formats and printer languages.

Online ausprobieren auf zplCloud.com: ZPL zu ESC/POS · ZPL zu PCL

Methods

Method SignatureReturnsDescription
static # Epl(SKBitmap bitmap)byte[]EPL2 label printing the bitmap with GW (Latin-1 bytes, binary data with 0 = black).
static # EscPos(SKBitmap bitmap, bool cut = true)byte[]ESC @, GS v 0 raster image, feed and GS V cut.
static # Fingerprint(SKBitmap bitmap)byte[]Intermec Fingerprint / Direct Protocol: whole label as a PRBUF image, then PF.
static # Fingerprint(SKBitmap bitmap, bool disableRun)byte[]Fingerprint raster; disableRun omits the PF print statement (image only buffered).
static # Pcl(SKBitmap bitmap, PclOptions options)byte[]PCL raster with colour mode and compression options (see PclWriter).
static # Pcl(SKBitmap bitmap, int dpi = 300, bool compress = true)byte[]PCL5 raster graphics, one page per call.
static # Pcx(SKBitmap bitmap, int dpi = 203)byte[]1-bit monochrome PCX (version 5, RLE).
static # Tiff(IEnumerable<SKBitmap> pages, TiffOptions options)byte[]Multi-page TIFF with any compression and pixel format (see TiffWriter).
static # Tiff(IEnumerable<SKBitmap> pages, TiffCompression compression = TiffCompression.PackBits, int dpi = 203)byte[]Multi-page 1-bit TIFF (little endian, WhiteIsZero, one strip per page).