CircularLabels 1.0.0
See the version list below for details.
dotnet tool install --global CircularLabels --version 1.0.0
dotnet new tool-manifest # if you are setting up this repo dotnet tool install --local CircularLabels --version 1.0.0
#tool dotnet:?package=CircularLabels&version=1.0.0
nuke :add-package CircularLabels --version 1.0.0
CircularLabels
This is a simple console application that supports A4 sheets of 7 by 10 circular self adhesive labels like the ones you can buy here.
Backgroud
As a homebrewer I always intend to put fancy labels on my bottles, that holds details about the brew, links to Untappd and what have we...
In reality, I often find my refrigerator full of unlabeled bottles perhaps with different color lids, but often only with a different shade of content to identify my homebrews.
Then I learned about the little round labels that fit on the lid and was no big deal to apply when bottling day was up.
Obviusly I could just put a few letters on the label with a pen, but being a passionate programmer, I had to come up with a solution to use my laser printer to put something on my labels.
Installation
Install the application with this command:
dotnet tool install CircularLabels --global
This requires that you have dotnet 6 or later installed.
Usage
From a command line, simply type:
CircularLabels.exe --help
and the following help-screen will be displayed:
CircularLabels v.1.0.0.0
Usage: CircularLabels.exe [OPTIONS]
Builds a PDF with circular labels on an A4 sheet with 7 x 10 labels.
Options:
-i, --image=VALUE Path to .png .jpeg or .bmp image to put on labels.
-t, --text=VALUE Text to put on labels. (lines can be separated by
pipe | character)
-s, --skip=VALUE Number of labels to skip.
-n, --number=VALUE Number of labels to print.
-o, --output=VALUE Output filename.
-p, --placeholder Show adjustment placeholders.
-h, --help show this message and exit
So if you have an image called BeerSanta.png in the Images directory, you cold type:
CircularLabels.exe -i ".\Images\BeerSanta.png" -t "My Beer|Christmas|2022" -o Labels.pdf
which would produce a pdf using 20 labels and skipping the first 12:
Big kudos to Marcin Ziąbek for his excelent work with QuestPDF and the folks behind SkiaSharp
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | 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. |
This package has no dependencies.