PDFtoZPL 3.0.0-preview

This is a prerelease version of PDFtoZPL.
There is a newer version of this package available.
See the version list below for details.
dotnet add package PDFtoZPL --version 3.0.0-preview                
NuGet\Install-Package PDFtoZPL -Version 3.0.0-preview                
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="PDFtoZPL" Version="3.0.0-preview" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add PDFtoZPL --version 3.0.0-preview                
#r "nuget: PDFtoZPL, 3.0.0-preview"                
#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.
// Install PDFtoZPL as a Cake Addin
#addin nuget:?package=PDFtoZPL&version=3.0.0-preview&prerelease

// Install PDFtoZPL as a Cake Tool
#tool nuget:?package=PDFtoZPL&version=3.0.0-preview&prerelease                

PDFtoZPL Logo PDFtoZPL

Azure DevOps builds (branch) Azure DevOps tests (branch) SonarCloud Quality Gate NuGet version NuGet downloads GitHub license

A .NET library to convert PDF files (and bitmaps) into Zebra Programming Language commands.

This .NET library is built on top of

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?

  1. Use PDFium to render a bitmap (for PDF files)
  2. Make the bitmap monochrome
  3. Convert the bitmap into a ^GF (Graphic Field) command
  4. Compress the command hexdecimal data to shrink the ZPL code in size
  5. Return the generated ZPL code
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp3.1 is compatible. 
.NET Framework net461 is compatible.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on PDFtoZPL:

Package Downloads
SktPublicLib

Softketeers public library

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
6.0.0 260 12/7/2024
6.0.0-preview.2 71 11/8/2024
6.0.0-preview 110 10/18/2024
5.3.1 4,567 9/20/2024
5.3.0 4,446 8/9/2024
5.2.0 1,041 7/24/2024
5.1.0 1,676 7/11/2024
5.0.2 2,870 6/28/2024
5.0.1 17,605 3/14/2024
5.0.0 7,871 2/29/2024
4.1.0 2,318 1/29/2024
4.0.0 3,678 12/29/2023
3.6.4 2,214 12/14/2023
3.6.3 9,688 11/19/2023
3.6.2 8,666 10/11/2023
3.6.1 1,390 9/25/2023
3.6.0 1,183 9/6/2023
3.5.0 252 9/3/2023
3.4.2 249 8/27/2023
3.4.1 6,237 7/30/2023
3.4.0 1,069 7/19/2023
3.3.0 29,174 2/2/2023
3.2.3 452 1/20/2023
3.2.2 15,852 7/22/2022
3.2.1 5,782 6/22/2022
3.2.0 651 6/17/2022
3.1.0 831 5/27/2022
3.0.0 531 5/25/2022
3.0.0-preview3 8,417 2/8/2022
3.0.0-preview 2,904 1/2/2022
2.2.1 29,373 11/10/2021
2.2.0 19,186 10/10/2021
2.1.3 1,531 8/26/2021
2.1.2 439 8/19/2021
2.1.1 459 8/13/2021
2.1.1-preview 409 7/30/2021
2.1.0 14,111 6/17/2021
2.0.1 1,089 5/29/2021 2.0.1 is deprecated because it has critical bugs.
2.0.0 4,999 3/22/2021 2.0.0 is deprecated because it has critical bugs.
1.3.1 11,704 3/21/2021
1.2.0 558 2/28/2021
1.2.0-preview 300 2/28/2021
1.1.0 955 11/24/2020 1.1.0 is deprecated because it has critical bugs.
1.0.0 921 2/7/2020

System.Drawing.Common (GDI+) replaced with SkiaSharp (cross-platform).