Sign in to follow this  
Followers 0
toe_head2001

Barcode v1.4 (Nov 14, 2015)

9 posts in this topic

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.4 by toe_head2001 (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 by toe_head2001 (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 by toe_head2001 (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
5

Share this post


Link to post
Share on other sites

Many thanks for the effort and plugin. yh5rsl3i.gif

0

Share this post


Link to post
Share on other sites

Thanks for the update!

barcode-th2001-4c7d43e.png

Any plans for QR codes?

0

Share this post


Link to post
Share on other sites

Any plans for QR codes?

 

I'll look into it.

0

Share this post


Link to post
Share on other sites

Thank you, toe_head2001 !

Now no need for CorelDraw X7 for making a barcode !

0

Share this post


Link to post
Share on other sites

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.

2

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0