Ble.Print.Utils
1.0.1
dotnet add package Ble.Print.Utils --version 1.0.1
NuGet\Install-Package Ble.Print.Utils -Version 1.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="Ble.Print.Utils" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Ble.Print.Utils" Version="1.0.1" />
<PackageReference Include="Ble.Print.Utils" />
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 Ble.Print.Utils --version 1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Ble.Print.Utils, 1.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.
#:package Ble.Print.Utils@1.0.1
#: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=Ble.Print.Utils&version=1.0.1
#tool nuget:?package=Ble.Print.Utils&version=1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
MAUI Bluetooth Printer Utils
MAUI Bluetooth Printer Utils is a cross-platform Bluetooth printer library for .NET MAUI, supporting both ESC/POS and Zebra (ZPL/CPCL) protocols.
Features
- ESC/POS and Zebra (ZPL/CPCL) protocol support
- Works on Android and iOS platforms
- Device discovery and connection management
- Print job queue and printer status monitoring
- Dependency Injection support
- Performance and security focused architecture
Installation
Install via NuGet:
dotnet add package Ble.Print.Utils
Quick Start
// Start the Bluetooth service
var bluetoothService = serviceProvider.GetRequiredService<IBluetoothService>();
// Discover devices
var devices = await bluetoothService.DiscoverDevicesAsync();
// Connect to a printer
await bluetoothService.ConnectAsync(devices.First());
// Print data
var printerService = serviceProvider.GetRequiredService<IEscPosPrinterService>();
await printerService.PrintAsync(new PrintDataModel { Content = "Hello World!" });
Platform Notes
- Android: Make sure to add the required Bluetooth permissions in your AndroidManifest.xml.
- iOS: Add Bluetooth usage descriptions in your Info.plist.
Dependencies
- Microsoft.Maui.Controls
- Microsoft.Maui.Essentials
- Microsoft.Extensions.DependencyInjection
- System.Text.Json
- Zebra.Printer.SDK
Contribution & License
Contributions are welcome! Please submit a pull request via GitHub.
Licensed under the MIT License.
For more information and examples, visit the documentation page.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0-android34.0 is compatible. net8.0-ios18.0 is compatible. net9.0-android was computed. net9.0-ios was computed. net10.0-android was computed. net10.0-ios was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0-android34.0
- Microsoft.Extensions.DependencyInjection (>= 8.0.1)
- Microsoft.Maui.Controls (>= 8.0.3)
- Microsoft.Maui.Essentials (>= 8.0.100)
- System.Text.Json (>= 9.0.1)
- Zebra.Printer.SDK (>= 3.0.3337)
-
net8.0-ios18.0
- Microsoft.Extensions.DependencyInjection (>= 8.0.1)
- Microsoft.Maui.Controls (>= 8.0.3)
- Microsoft.Maui.Essentials (>= 8.0.100)
- System.Text.Json (>= 9.0.1)
- Zebra.Printer.SDK (>= 3.0.3337)
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 |
---|---|---|
1.0.1 | 159 | 6/29/2025 |