Skip to content

Search EricksonLopez.* Ecosystem

Type a library name, NuGet package ID, .NET type, or architectural concept to search across the portal.

Troubleshooting — EricksonLopez.Printing

Common API and runtime edge cases in EricksonLopez.Printing (1.0.0).

  • Cause: In published 1.0.0, EscPosImageBuilderExtensions.Image(...) and .RasterImage(...) delegate to EscPosBuilder.Raw(...), which throws NotSupportedException when safeMode is true (the default).
  • Fix for 1.0.0: Construct new EscPosBuilder(safeMode: false) when emitting raster images on 1.0.0. (Unreleased local 2.0.0 BC-005 routes raster bitmaps through internal AppendRawRaster, permitting safeMode = true.)
  • AddSerialPrinter namespace: Import using EricksonLopez.Printing; (not EricksonLopez.Printing.Serial) because PrintingSerialServiceCollectionExtensions is declared in EricksonLopez.Printing.
  • ZplFont identifiers: Use ZplFont.Font0, ZplFont.FontA..ZplFont.FontH (there is no ZplFont.Default).
  • SignalR in AOT hosts: EricksonLopez.Printing.SignalR sets IsAotCompatible=false; exclude it from <PublishAot>true</PublishAot> targets.