netbox-qrcode icon indicating copy to clipboard operation
netbox-qrcode copied to clipboard

Netbox-qrcode plugin request to plugin co-owner

Open LHBL2003 opened this issue 6 months ago • 1 comments

Application for code co-owner

Hello @k01ek, (and indirectly also: @cruse1977 and @natm)

i would like to help with the further development of the plugin. Therefore I ask for owner rights like @cruse1977 and @natm have.

Reason

Unfortunately the response times for the pull request are way too slow to be able to help. I had already submitted one a few years ago, which was only recently (I think) taken over. There are 3 code owners who seem to be very busy. I fully understand this, it's always difficult for me too. But since we want to use the plugin in the company, I am very interested in further developing the plugin. Especially so that it works well on label printers.

At the moment I have 2 pull requests ready, which I think are a great extension.

Another pull request will be coming soon, but it is becoming increasingly difficult to keep the branches apart. Because the bottleneck is always the README.md file. It is also time-consuming to merge all branches into one branch just so that I can continue on the existing basis.

I would even check @cholletk's pull request, as the topic is also relevant for me.


What comes with the next pull request:

  • The label can be specified in mm/inch.
  • Whether printed on an A4 sheet or on a label, the content always has the defined size.
  • The text is razor sharp, no matter how small it is. (Printing the HTML DIV element and its vector text. There is no need to margin the text as an image).
  • All fonts supported by the browser can be used.
  • The barcode can be printed right up to the edge of the label.
  • The size of the QR code can be specified in mm/inch and is exactly the same size on the screen as on the printout.
  • The font height can be specified in mm/inch.
  • The distance between the QR code and the text can be specified in mm/inch.
  • Horizontal and vertical representations are still supported.
  • No scaling or similar has to be changed in the print preview for the printout, it simply always fits.
  • A logo variable can be stored in the Netbox Config, which can be used with the existing text_template function (Jinja2) without losing the overview.
  • One or more label designs can be stored for a model (e.g. device or rack). This allows different label sizes or formats to be used.
  • Only text labels are supported
  • Only QR code labels are supported
  • Text and QR code labels are supported
  • The QR code can be specified higher than wide. (Sometimes looks nice)

This is my first Python and Django project, but I think I can add value to the plugin. Here is a small preview of what it looks like so far:

A few pictures of my development of the rare 2 days:

I have blurred the logos as this is currently not a dummy logo ;-)

Print preview 56x32

image

Without edge, exactly the same size as the label

image

Change from 56x32 to A4 printer

image

Selection label 10x25mm to 56x32mm label

image

9 different label designs configured for Device. And with racks there is still only 1 layout ;)

image

Here at the same time at the rack (only 1 label, same configuration file)

image

Don't worry, the INIT file will be cleaned up again, but just to see how you can configure multiple labels.

image

Closing words

So I am asking for code co-owner rights to support you. It's my first Docker, Python and Django project, but I understand the plugin 86% by now :D When I program it is usually C#, C etc.

Thank you for your time.

LHBL2003 avatar Aug 06 '24 16:08 LHBL2003