EricksonLopez.Printing

dotnet-printing · Integrations & Protocols

On this page (20 sections)

1. Identity, Tier & Maturity Profile#

L3 Persistence & IntegrationsStableMaintenance: ActiveAOT: PartialMIT LicenseConfidence: HIGH
Infrastructurenet8.0net9.0net10.0

2. Value Proposition & Problem Solved#

High-performance, Native AOT-ready .NET printing ecosystem for ESC/POS thermal receipts and Zebra ZPL II industrial labels over TCP socket pooling, RS-232 serial, and SignalR cloud-to-edge bridge.

Windows Print Spooler and System.Drawing lock POS/warehouse printing to Windows desktop drivers and throw unhandled SocketException/IOException errors on paper-out or offline printers.

3. Quick Install#

Primary package: EricksonLopez.Printing

dotnet add package EricksonLopez.Printing --version 1.0.0
Also published in this family:
EricksonLopez.Printing.EscPosEricksonLopez.Printing.ZplEricksonLopez.Printing.SignalREricksonLopez.Printing.EscPos.ImagingEricksonLopez.Printing.SerialEricksonLopez.Printing.EscPos.Status

4. Verified Ecosystem Metrics#

v1.0.0
NuGet Published Version
v2.0.0
Repo HEAD Version
1,297
NuGet Downloads
8
Packable Packages
232
Public API Members
0
Benchmark Rows (RyuJIT)

Snapshot retrieved UTC: 2026-12-01

5. When to Use & When Not to Use#

When to use

  • You print ESC/POS thermal receipts or Zebra ZPL II labels cross-platform over TCP pooling, RS-232 serial, or SignalR bridges using Result<bool>.

When NOT to use

  • You are generating multi-page PDF business reports or desktop laser documents.

6. Core Capabilities & Design Invariants#

ESC/POS, ZPL II & Managed Imaging

Pure managed C# monochrome Floyd-Steinberg dithering with zero SkiaSharp or System.Drawing native dependencies.

Pooled TCP, Serial & Status Telemetry

Supports PooledTcpPrinterClient, RS-232 serial ports, SignalR edge bridge, and DLE EOT paper/cover sensor checks.

7. Included NuGet Packages & Adapters#

Package IDStatusNuGet / LocalTFMsAOT StatusDownloadsDescription
EricksonLopez.PrintingPrimaryPublishedv1.0.0 / v2.0.0net8.0, net9.0, net10.0AOT: Full258Foundational abstractions and network socket printer drivers for thermal receipt and industrial label printing. Features functional result handling and Native AOT compatibility.
EricksonLopez.Printing.EscPosPublishedv1.0.0 / v2.0.0net8.0, net9.0, net10.0AOT: Full177Epson ESC/POS thermal receipt command compiler for .NET. Builds POS receipts, text styles, barcodes (Code128), QR codes, cash drawer triggers, and partial paper cuts with Native AOT compatibility.
EricksonLopez.Printing.ZplPublishedv1.0.0 / v2.1.0net8.0, net9.0, net10.0AOT: Full152Zebra Programming Language (ZPL II) industrial barcode and label generator for .NET. Supports high-resolution text, boxes, Code128 barcodes, and QR codes with Native AOT compatibility.
EricksonLopez.Printing.SignalRPublishedv1.0.0 / v3.0.0net8.0, net9.0, net10.0AOT: Incompatible145Real-time SignalR hardware print bridge for EricksonLopez.Printing. Dispatches print jobs to local edge printer agents via ASP.NET Core SignalR hubs.
EricksonLopez.Printing.EscPos.ImagingPublishedv1.0.0 / v2.0.0net8.0, net9.0, net10.0AOT: Full143High-performance monochrome image processing and raster bit image generator for ESC/POS thermal receipt printers. Native AOT-compatible compatible with zero external native dependencies.
EricksonLopez.Printing.SerialPublishedv1.0.0 / v2.0.0net8.0, net9.0, net10.0AOT: Full142Serial COM / RS-232 / Virtual COM port transport driver for thermal receipt and label printers.
EricksonLopez.Printing.EscPos.StatusPublishedv1.0.0 / v2.0.0net8.0, net9.0, net10.0AOT: Full141Real-time hardware status monitoring, sensor telemetry, and parsing for ESC/POS thermal receipt printers. Native AOT-compatible compatible.
EricksonLopez.Printing.Zpl.ImagingPublishedv1.0.0 / v2.0.0net8.0, net9.0, net10.0AOT: Full139High-performance monochrome image processing and ^GF Graphic Field generator for Zebra ZPL II industrial label printers. Native AOT-compatible compatible with zero external native dependencies.

8. Quick Start Code Example#

Grounded in verified public APIs from EricksonLopez.Printing. Compile with `<ImplicitUsings>disable</ImplicitUsings>` and explicit imports.

using EricksonLopez.Printing;
using EricksonLopez.Printing.EscPos;

using var builder = new EscPosBuilder();
IPrintDocument document = builder
    .Initialize()
    .Align(EscPosAlignment.Center)
    .DoubleSize()
    .Line("METROPOLITAN MARKET")
    .FontSize(widthMultiplier: 1, heightMultiplier: 1)
    .Align(EscPosAlignment.Left)
    .Divider(width: 42, character: '-')
    .TableRow("1    Artisan Sourdough Loaf", "$6.50", totalWidth: 42, fillChar: '.')
    .Cut()
    .Build();

9. Architecture & Dependency Flow#

flowchart LR
  lib_printing["EricksonLopez.Printing (L3)"]
  lib_result["EricksonLopez.Result (L0)"]
  lib_printing --> lib_result
EricksonLopez.Printing Dependency Topology1 upstream library dependencies and 0 downstream dependent libraries verified in dependencies.json.
View accessible text summary and structure

1 upstream library dependencies and 0 downstream dependent libraries verified in dependencies.json.

DirectionLibraryTierRelationship Kinds
UpstreamEricksonLopez.ResultL0Compile-Time, NuGet Package
flowchart LR
  lib_printing["EricksonLopez.Printing (L3)"]
  lib_result["EricksonLopez.Result (L0)"]
  lib_printing --> lib_result

10. Target Frameworks & Native AOT / Trimming Matrix#

MSBuild `.csproj` inspection across 8 packages: 7 Full, 0 Partial, 1 Incompatible, 0 NotApplicable (analyzers/generators).

Package IDIsAotCompatibleEnableTrimAnalyzerVerified AOT StatusTarget Frameworks
EricksonLopez.PrintingtruetrueFullnet8.0, net9.0, net10.0
EricksonLopez.Printing.EscPostruetrueFullnet8.0, net9.0, net10.0
EricksonLopez.Printing.ZpltruetrueFullnet8.0, net9.0, net10.0
EricksonLopez.Printing.SignalRfalsefalseIncompatiblenet8.0, net9.0, net10.0
EricksonLopez.Printing.EscPos.ImagingtruetrueFullnet8.0, net9.0, net10.0
EricksonLopez.Printing.SerialtruetrueFullnet8.0, net9.0, net10.0
EricksonLopez.Printing.EscPos.StatustruetrueFullnet8.0, net9.0, net10.0
EricksonLopez.Printing.Zpl.ImagingtruetrueFullnet8.0, net9.0, net10.0

11. Upstream Dependencies & Downstream Dependents#

Upstream Dependencies (1)

Downstream Dependents (0)

No other EricksonLopez.* libraries currently depend on this family.

12. Optional Adapters & Third-Party Integrations#

Internal Adapter Edges & Integration Packages

No optional cross-family adapter edges or integration packages are recorded for this library.

Verified External NuGet Dependencies (4)

Microsoft.Extensions.DependencyInjection.AbstractionsMicrosoft.Extensions.Logging.AbstractionsMicrosoft.IO.RecyclableMemoryStreamSystem.IO.Ports

13. Configuration & DI Registration Summary#

Verified DI & Configuration Entry Points

  • PrintingSerialServiceCollectionExtensions.AddKeyedSerialPrinter

    Registers a keyed `SerialPrinterClient` as a `ServiceLifetime.Singleton` `IPrinterClient` in the service collection.

  • PrintingSerialServiceCollectionExtensions.AddSerialPrinter

    Registers a `SerialPrinterClient` as a `ServiceLifetime.Singleton` `IPrinterClient` in the service collection.

  • PrintingServiceCollectionExtensions.AddKeyedPooledTcpPrinter

    Registers a keyed persistent `PooledTcpPrinterClient` as a `ServiceLifetime.Singleton` `IPrinterClient` in the service collection.

  • PrintingServiceCollectionExtensions.AddKeyedTcpPrinter

    Registers a keyed `TcpPrinterClient` as a `ServiceLifetime.Singleton` `IPrinterClient` in the service collection.

  • PrintingServiceCollectionExtensions.AddPooledTcpPrinter

    Registers a persistent `PooledTcpPrinterClient` as a `ServiceLifetime.Singleton` `IPrinterClient` in the service collection.

  • PrintingServiceCollectionExtensions.AddTcpPrinter

    Registers a `TcpPrinterClient` as a `ServiceLifetime.Singleton` `IPrinterClient` in the service collection.

  • PrintingSignalRServiceCollectionExtensions.AddPrintingSignalR

    Registers `ITenantPrintScopeValidator`, `IHubPrinterDispatcher`, and SignalR dependencies in the service collection.

Key Public Types & Contracts

  • EricksonLopez.Printing.IPrintDocument (interface)

    Defines a print document payload containing raw printer control sequences.

  • EricksonLopez.Printing.IPrinterClient (interface)

    Defines a client driver capable of transmitting print documents to a physical or network printer.

  • EricksonLopez.Printing.PooledTcpPrinterClient (class)

    Provides high-throughput network socket printing using a persistent TCP connection.

  • EricksonLopez.Printing.PrintingErrorCodes (class)

    Provides standard error code constants produced by the printing infrastructure.

  • EricksonLopez.Printing.PrintingEventIds (class)

    Provides pre-allocated logging event identifiers for structured telemetry.

  • EricksonLopez.Printing.PrintingSerialServiceCollectionExtensions (class)

    Provides extension methods for registering serial printing services in an `IServiceCollection`.

  • EricksonLopez.Printing.PrintingServiceCollectionExtensions (class)

    Provides extension methods for registering TCP printing services in an `IServiceCollection`.

  • EricksonLopez.Printing.RawPrintDocument (class)

    Represents an in-memory print document backed by a raw byte array.

  • EricksonLopez.Printing.ResilientPrinterClient (class)

    Provides resilient retry and exponential backoff capabilities by decorating an underlying `IPrinterClient`.

  • EricksonLopez.Printing.ResilientPrinterOptions (class)

    Specifies configuration options for resilient print operations and retry policies.

  • EricksonLopez.Printing.ResilientPrintingExtensions (class)

    Provides extension methods for decorating printer clients with resilience and retry capabilities.

  • EricksonLopez.Printing.SerialPrinterClientOptions (class)

    Specifies configuration options for communicating with a POS receipt or label printer over a serial COM or RS-232 port.

14. Verified Performance Benchmarks#

All verified measurements below come strictly from `BenchmarkDotNet.Artifacts` running on .NET RyuJIT (0 NativeAOT benchmark runs exist in this snapshot).

No non-MEGA-AUDIT `BenchmarkDotNet.Artifacts` files were verified for this library in the snapshot (`hasBenchmarks: false`).

15. Release History & NuGet vs Repo Status#

Version lag detected: NuGet.org latest published version is v1.0.0, while local repository HEAD is at v2.0.0.

VersionSourcePublished DateSummary
v1.0.0 ↗github2026-09-24Ecosystem Packages in this release | Package | Version | |---------|---------| | `EricksonLopez.Printing` | `1.0.0` | | `EricksonLopez.Printing.EscPos` | `1.0.0` | | `EricksonLopez.Printing.EscPos.Imaging` | `1.0.0` | | `EricksonLopez.Printing.EscPos.Status` | `1.0.0` | | `EricksonLopez.Printing.Serial` | `1.0.0` | | `EricksonLopez.Printing.SignalR` | `1.0.0` | | `EricksonLopez.Printing.Zpl` | ...
v1.0.0 ↗nuget2026-09-24Published EricksonLopez.Printing 1.0.0 to NuGet.org.

Libraries in the same tier, architectural layer, or directly paired via dependency edges.

17. Documentation, API Reference & Portal Links#

Per-library conceptual Starlight pages expand in M4; API Reference pages expand in M3.2.

18. Source Repository, License & Contributing#

Released under the MIT License. All assemblies follow EricksonLopez.* build invariants: explicit imports, strong-name signing (`EricksonLopez.snk`), and ASCII author metadata (`Erickson Lopez`).

19. Troubleshooting, Pitfalls & Migration Guidance#

  • EricksonLopez.Printing.SignalR sets IsAotCompatible=false; core ESC/POS, ZPL, and Serial packages are Full AOT.
  • Version lag detected: NuGet.org latest published version is v1.0.0, while local repository HEAD is at v2.0.0.

20. Quality & Verification Evidence#

Strong-Name Signing (`EricksonLopez.snk`)
EricksonLopez.snk
`ImplicitUsings=disable`
disable
XML Documentation Extraction
Verified (8 namespaces, 46 types, 232 members)
MSBuild AOT / Trim Attributes
7 Full / 0 Partial / 1 Incompatible / 0 N/A
BenchmarkDotNet Artifacts
0 total (0 measured, 0 na_error)

Explicit Verification Boundaries & Limitations

  • All verified measurements below come strictly from `BenchmarkDotNet.Artifacts` running on .NET RyuJIT (0 NativeAOT benchmark runs exist in this snapshot).

Search EricksonLopez.* Ecosystem

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