X39.Solutions.Papercraft.Rendering.EscPos 8.2.2

dotnet add package X39.Solutions.Papercraft.Rendering.EscPos --version 8.2.2
                    
NuGet\Install-Package X39.Solutions.Papercraft.Rendering.EscPos -Version 8.2.2
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="X39.Solutions.Papercraft.Rendering.EscPos" Version="8.2.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="X39.Solutions.Papercraft.Rendering.EscPos" Version="8.2.2" />
                    
Directory.Packages.props
<PackageReference Include="X39.Solutions.Papercraft.Rendering.EscPos" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add X39.Solutions.Papercraft.Rendering.EscPos --version 8.2.2
                    
#r "nuget: X39.Solutions.Papercraft.Rendering.EscPos, 8.2.2"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package X39.Solutions.Papercraft.Rendering.EscPos@8.2.2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=X39.Solutions.Papercraft.Rendering.EscPos&version=8.2.2
                    
Install as a Cake Addin
#tool nuget:?package=X39.Solutions.Papercraft.Rendering.EscPos&version=8.2.2
                    
Install as a Cake Tool

X39.Solutions.Papercraft.Rendering.EscPos

X39.Solutions.Papercraft.Rendering.EscPos is a first-pass Papercraft render backend for ESC/POS printer command output. It emits printer command bytes directly from Papercraft display lists and does not add SkiaSharp, PDF renderer, or printer transport dependencies.

Use this package when you want application/vnd.papercraft.escpos output from generated Papercraft documents and will handle printer transport elsewhere.

Package Role

Area Provided by this package
DI entry point services.AddPapercraftEscPosRenderer()
Backend implementation EscPosRenderBackend
Backend id escpos
Supported media types application/vnd.papercraft.escpos
Output kind RendererOutputKind.PrinterCommands

Register The Renderer

using Microsoft.Extensions.DependencyInjection;
using X39.Solutions.Papercraft.Rendering.EscPos;

var services = new ServiceCollection();
services.AddPapercraftEscPosRenderer();

AddPapercraftEscPosRenderer() also registers Papercraft Core services. Render with EscPosRenderBackend.Target or another explicit RenderTarget using RendererOutputKind.PrinterCommands.

Output Notes

The backend emits ESC @ initialization by default, writes DrawTextCommand text using the configured encoding, appends LF after text, maps bold font weight and large text to common ESC/POS emphasis commands, and approximates horizontal lines as dashed text rules.

The default text encoding is Latin-1. Characters not representable by the configured encoding are handled by that encoding's fallback behavior.

The backend declares degraded support for text measurement, fonts, color, absolute positioning, and multipage output. It declares images, clipping, transparency, and link annotations unsupported. Filled rectangles, non-horizontal lines, and backend-specific drawing callbacks are reported by validation as unsupported.

This package only writes command bytes to RenderOutput.Stream. It does not open printer connections, spool jobs, discover devices, or perform PDF-to-printer conversion.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
8.2.2 105 8/2/2026
8.2.1 101 8/2/2026
8.2.0 104 8/1/2026
8.1.2 126 7/4/2026
8.1.1 122 6/21/2026
8.1.0 123 6/17/2026
8.0.1 116 6/13/2026
8.0.0 116 6/11/2026