PDFtoZPL 3.2.2
.NET 6.0
.NET Core 3.1
.NET Framework 4.6.2
Install-Package PDFtoZPL -Version 3.2.2
dotnet add package PDFtoZPL --version 3.2.2
<PackageReference Include="PDFtoZPL" Version="3.2.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add PDFtoZPL --version 3.2.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: PDFtoZPL, 3.2.2"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install PDFtoZPL as a Cake Addin
#addin nuget:?package=PDFtoZPL&version=3.2.2
// Install PDFtoZPL as a Cake Tool
#tool nuget:?package=PDFtoZPL&version=3.2.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
PDFtoZPL
A .NET library to convert PDF files (and bitmaps) into Zebra Programming Language commands.
This .NET library is built on top of
- PDFium (native PDF renderer)
- PdfiumViewer (wrapper for PDFium)
- SkiaSharp (cross-platform 2D graphics API)
You can use Labelary Online ZPL Viewer to render the resulting ZPL code.
Getting started
Just call one of the following static methods:
PDFtoZPL.Conversion.ConvertPdfPage()
PDFtoZPL.Conversion.ConvertPdf()
PDFtoZPL.Conversion.ConvertPdfAsync()
PDFtoZPL.Conversion.ConvertBitmap()
How does it work?
- Use PDFium to render a bitmap (for PDF files)
- Make the bitmap monochrome
- Convert the bitmap into a ^GF (Graphic Field) command
- Compress the command hexdecimal data to shrink the ZPL code in size
- Return the generated ZPL code
Product | Versions |
---|---|
.NET | net5.0 net5.0-windows net6.0 net6.0-android net6.0-android31.0 net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows |
.NET Core | netcoreapp3.1 |
.NET Framework | net462 net463 net47 net471 net472 net48 |
MonoAndroid | monoandroid10.0 |
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.
-
.NETCoreApp 3.1
- PDFtoImage (>= 2.1.2)
- SharpZipLib (>= 1.3.3)
-
.NETFramework 4.6.2
- PDFtoImage (>= 2.1.2)
- SharpZipLib (>= 1.3.3)
-
MonoAndroid 10.0
- PDFtoImage (>= 2.1.2)
- SharpZipLib (>= 1.3.3)
-
net6.0
- PDFtoImage (>= 2.1.2)
- SharpZipLib (>= 1.3.3)
-
net6.0-android31.0
- PDFtoImage (>= 2.1.2)
- SharpZipLib (>= 1.3.3)
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 | |
---|---|---|---|
3.2.2 | 107 | 7/22/2022 | |
3.2.1 | 1,053 | 6/22/2022 | |
3.2.0 | 109 | 6/17/2022 | |
3.1.0 | 251 | 5/27/2022 | |
3.0.0 | 84 | 5/25/2022 | |
3.0.0-preview3 | 5,055 | 2/8/2022 | |
3.0.0-preview | 2,756 | 1/2/2022 | |
2.2.1 | 7,084 | 11/10/2021 | |
2.2.0 | 4,238 | 10/10/2021 | |
2.1.3 | 999 | 8/26/2021 | |
2.1.2 | 243 | 8/19/2021 | |
2.1.1 | 211 | 8/13/2021 | |
2.1.1-preview | 251 | 7/30/2021 | |
2.1.0 | 10,285 | 6/17/2021 | |
2.0.1 | 799 | 5/29/2021 | |
2.0.0 | 1,747 | 3/22/2021 | |
1.3.1 | 2,317 | 3/21/2021 | |
1.2.0 | 269 | 2/28/2021 | |
1.2.0-preview | 160 | 2/28/2021 | |
1.1.0 | 606 | 11/24/2020 | |
1.0.0 | 604 | 2/7/2020 |
- Fixed native library loading for scenarios where this library is called from another process.