Jump to content
How to Install Plugins ×

Barcode v1.5.1 (Nov 23, 2018)


toe_head2001

Recommended Posts

Barcode

This is a update of @Sepcot's original Barcode generation plugin. See changelog below.

 

Effects -> Render -> Barcode

barcodeWinforms.png

 

barcode-39.png

'getpaint.net' encoded with Code 39

 

barcode-post.png

'93901' Postal Code encoded with POSTNET

 

barcode-upc.png

'070048016509' encoded with UPC-A

 

 

Features

  • Supports all three Code 39 barcode encodings: Code 39, Code 39 mod 43, and Full ASCII Code 39
  • Supports 5, 6, 9, and 11 digit POSTNET encodings
  • Supports UPC-A encodings
  • Automatically tries to convert text into an encodable format. (Example: "Paint" in Code 39 becomes "PAINT")
  • Provides visual feedback for text that cannot be encoded.
  • Uses the user defined Primary and Secondary colors to build the barcodes. Note: Barcodes built with colors other than Black (Primary) and White (Secondary) will probably not scan correctly.
  • The width of the bars in the barcode adjust to fill the available space. No barcode is shown if the surface is too small for the barcode to be completely drawn.
  • Supports non-rectangular selections. Note: Barcodes may not scan correctly if not rectangular.

 

Changelog

v1.5.1 (Nov 23, 2018)

  • Fixed: Corrected the / character in Code39

v1.5 (July 3, 2018)

  • Added: Support for the Dark Theme

v1.4 (Nov 14, 2015)

  • Fixed: Code39 Mod43 was generating the wrong Check Digit (this has been wrong since Sepcot's first release in 2007, sorry)
  • Changed: All barcodes render a whole lot faster now
  • Changed: When an invalid text string is typed in, the canvas will now clear instead of the 'OK' button disabling
  • Changed: Minor UI Tweaks, should look better on HiDPI

v1.3 (Aug 24, 2015)

  • New: Generate UPC-A barcodes
  • New: Added option to force Black & White, rather than using the primary and secondary colors
  • New: The 'Enter' and 'Esc' keys now work
  • Changed: UI now has a faux IndirectUI style

v1.2 (Feb 23, 2015)

  • Fixed: Plugin would crash if Unicode characters were inputted into the text field (info)
  • Fixed: Character validation was not functional on the 'Full ASCII Code 39' option
  • Changed: Live preview and the 'OK' button are now disabled if invalid characters are inputted
  • Changed: Menu entry in now under the 'Render' submenu
  • New: Text cursor is now automatically placed in the text input field when the plugin is opened
  • New: Metadata was added for the 'Plugin Browser'

v1.1 by Sepcot (March 19, 2007)

  • Supports 5, 6, 9, and 11 digit POSTNET encodings
  • Supports non-rectangular selections.

v1.0 by Sepcot (March 15, 2007)

  • Initial release

 

Download

:RightArrowBlue:Barcode.zip

 

Source Code

https://github.com/toehead2001/pdn-barcode

 

Edited by toe_head2001
  • Like 1
  • Upvote 6

(September 25th, 2023)  Sorry about any broken images in my posts. I am aware of the issue.

bp-sig.png
My Gallery  |  My Plugin Pack

Layman's Guide to CodeLab

Link to comment
Share on other sites

  • 6 months later...

Version 1.3 posted. See first post.

 

UPC code based on code from this: http://www.codeproject.com/Articles/19517/Barcode-UPC-A

 

The differences are subtle... One is a dummy IndirectUI, and the other is the functional WinForms UI. :D

barcodeWinforms.pngbarcodeIUI.png

(September 25th, 2023)  Sorry about any broken images in my posts. I am aware of the issue.

bp-sig.png
My Gallery  |  My Plugin Pack

Layman's Guide to CodeLab

Link to comment
Share on other sites

  • 2 months later...

Version 1.4 posted. Two big things:

-The calculation code for the Check Digit on 'Code39 MOD43' was wrong, resulting in an incorrect Check Digit (and in some cases, a crash). In 8 years since Sepcot's first release, no one (including myself, until tonight) ever bothered to verify if it was correct :(

-Also moved the barcode generation code into OnSetRenderInfo, resulting a very nice speed increase.

 

See first post for full changelog, and download.

 

 

Any plans for QR codes?

 

I have not forgot about this, but I'm thinking it should be a separate plugin, as QR can have a lot of parameters that wouldn't fit in with the current UI. That being said, it shouldn't be too difficult to port over an existing C# QR code project; there are many free ones on the internet.

  • Upvote 2

(September 25th, 2023)  Sorry about any broken images in my posts. I am aware of the issue.

bp-sig.png
My Gallery  |  My Plugin Pack

Layman's Guide to CodeLab

Link to comment
Share on other sites

  • 7 months later...
  • 4 months later...
10 hours ago, flaner said:

I enter link vk.com/askbrn
and it turns out vk.com/oashkbrn

 

Fixed. Version 1.5.1 posted.

This was another bug originating from Sepcot's original plugin.

  • Upvote 2

(September 25th, 2023)  Sorry about any broken images in my posts. I am aware of the issue.

bp-sig.png
My Gallery  |  My Plugin Pack

Layman's Guide to CodeLab

Link to comment
Share on other sites

  • 3 years later...
On 8/31/2022 at 7:55 AM, Djisves said:

any plans to update this plugin to render QR codes too? 

 

Probably not.

 

I suggest sending a message to @ArgusMagnus, which will also send an email notification to him.

He may be unaware his QR plugin is broken.

  • Upvote 1

(September 25th, 2023)  Sorry about any broken images in my posts. I am aware of the issue.

bp-sig.png
My Gallery  |  My Plugin Pack

Layman's Guide to CodeLab

Link to comment
Share on other sites

  • 7 months later...
23 hours ago, YBB said:

Also, any chance of adding support for CODE 128?

 

It's possible, but adding new functionality to this plugin is not high on my list of priorities.

 

This plugin needs a complete rewrite too.

Sepcot originally created it 16 years ago, and so it uses some outdated coding conventions.  Then I retrofitted UPC functionality into it... in a very hacky way.

(September 25th, 2023)  Sorry about any broken images in my posts. I am aware of the issue.

bp-sig.png
My Gallery  |  My Plugin Pack

Layman's Guide to CodeLab

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...