PDFtoZPL 5.0.1

dotnet add package PDFtoZPL --version 5.0.1
NuGet\Install-Package PDFtoZPL -Version 5.0.1
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="5.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add PDFtoZPL --version 5.0.1
#r "nuget: PDFtoZPL, 5.0.1"
#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=5.0.1

// Install PDFtoZPL as a Cake Tool
#tool nuget:?package=PDFtoZPL&version=5.0.1

PDFtoZPL Logo PDFtoZPL

GitHub Workflow Build Status GitHub Workflow Test Runs Succeeded SonarCloud Quality Gate NuGet version NuGet downloads Website GitHub license

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

This .NET library is built on top of

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 is compatible.  net7.0-android was computed.  net7.0-android33.0 is compatible.  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 is compatible.  net8.0-android was computed.  net8.0-android34.0 is compatible.  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 netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 is compatible.  net463 was computed.  net47 was computed.  net471 is compatible.  net472 was computed.  net48 was computed.  net481 is compatible. 
MonoAndroid monoandroid was computed.  monoandroid10.0 is compatible. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos 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
5.0.1 654 3/14/2024
5.0.0 1,306 2/29/2024
4.1.0 1,021 1/29/2024
4.0.0 1,405 12/29/2023
3.6.4 995 12/14/2023
3.6.3 2,986 11/19/2023
3.6.2 4,166 10/11/2023
3.6.1 700 9/25/2023
3.6.0 896 9/6/2023
3.5.0 200 9/3/2023
3.4.2 208 8/27/2023
3.4.1 4,188 7/30/2023
3.4.0 699 7/19/2023
3.3.0 25,220 2/2/2023
3.2.3 389 1/20/2023
3.2.2 12,912 7/22/2022
3.2.1 5,520 6/22/2022
3.2.0 600 6/17/2022
3.1.0 771 5/27/2022
3.0.0 487 5/25/2022
3.0.0-preview3 8,363 2/8/2022
3.0.0-preview 2,877 1/2/2022
2.2.1 17,915 11/10/2021
2.2.0 15,920 10/10/2021
2.1.3 1,349 8/26/2021
2.1.2 401 8/19/2021
2.1.1 410 8/13/2021
2.1.1-preview 374 7/30/2021
2.1.0 13,737 6/17/2021
2.0.1 1,042 5/29/2021
2.0.0 4,103 3/22/2021
1.3.1 7,223 3/21/2021
1.2.0 509 2/28/2021
1.2.0-preview 267 2/28/2021
1.1.0 876 11/24/2020
1.0.0 850 2/7/2020

- Revert from 300 to 203 as default DPI. This is a breaking change.
- Replace PDFtoImage.RenderOptions with PDFtoZPL.PdfOptions. This is a breaking change.
- Fixed interactions between parameters Bounds and Width/Height.