toe_head2001 Posted February 22, 2015 Share Posted February 22, 2015 (edited) Barcode This is a update of @Sepcot's original Barcode generation plugin. See changelog below. Effects -> Render -> Barcode 'getpaint.net' encoded with Code 39 '93901' Postal Code encoded with POSTNET '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 Barcode.zip Source Code https://github.com/toehead2001/pdn-barcode Edited November 23, 2018 by toe_head2001 1 6 Quote (September 25th, 2023) Sorry about any broken images in my posts. I am aware of the issue. My Gallery | My Plugin Pack Layman's Guide to CodeLab Link to comment Share on other sites More sharing options...
Lloyd Posted February 22, 2015 Share Posted February 22, 2015 Thank you for this. Quote Link to comment Share on other sites More sharing options...
Seerose Posted February 24, 2015 Share Posted February 24, 2015 Many thanks for the effort and plugin. Quote Live as if you were to die tomorrow. Learn as if you were to live forever. Gandhi Link to comment Share on other sites More sharing options...
toe_head2001 Posted August 25, 2015 Author Share Posted August 25, 2015 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. Quote (September 25th, 2023) Sorry about any broken images in my posts. I am aware of the issue. My Gallery | My Plugin Pack Layman's Guide to CodeLab Link to comment Share on other sites More sharing options...
Eli Posted August 25, 2015 Share Posted August 25, 2015 Thanks for the update! Any plans for QR codes? Quote Link to comment Share on other sites More sharing options...
toe_head2001 Posted August 25, 2015 Author Share Posted August 25, 2015 Any plans for QR codes? I'll look into it. 1 Quote (September 25th, 2023) Sorry about any broken images in my posts. I am aware of the issue. My Gallery | My Plugin Pack Layman's Guide to CodeLab Link to comment Share on other sites More sharing options...
Nai Posted August 26, 2015 Share Posted August 26, 2015 Thank you, toe_head2001 ! Now no need for CorelDraw X7 for making a barcode ! Quote Link to comment Share on other sites More sharing options...
Seerose Posted August 26, 2015 Share Posted August 26, 2015 Quote Live as if you were to die tomorrow. Learn as if you were to live forever. Gandhi Link to comment Share on other sites More sharing options...
toe_head2001 Posted November 15, 2015 Author Share Posted November 15, 2015 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 Quote (September 25th, 2023) Sorry about any broken images in my posts. I am aware of the issue. My Gallery | My Plugin Pack Layman's Guide to CodeLab Link to comment Share on other sites More sharing options...
ScrapbookWithPDN Posted April 22, 2017 Share Posted April 22, 2017 Anymore thought to creating a QR code plugin? Quote Link to comment Share on other sites More sharing options...
toe_head2001 Posted July 4, 2018 Author Share Posted July 4, 2018 Version 1.5 posted. I've added support for the Dark Theme. 1 1 Quote (September 25th, 2023) Sorry about any broken images in my posts. I am aware of the issue. My Gallery | My Plugin Pack Layman's Guide to CodeLab Link to comment Share on other sites More sharing options...
Seerose Posted July 4, 2018 Share Posted July 4, 2018 ❤️ @toe_head2001! Thank you for your effort. ? ? Quote Live as if you were to die tomorrow. Learn as if you were to live forever. Gandhi Link to comment Share on other sites More sharing options...
flaner Posted November 23, 2018 Share Posted November 23, 2018 (edited) I enter link vk.com/askbrnand it turns out vk.com/oashkbrn 😥 Edited November 23, 2018 by flaner Quote Link to comment Share on other sites More sharing options...
toe_head2001 Posted November 23, 2018 Author Share Posted November 23, 2018 10 hours ago, flaner said: I enter link vk.com/askbrnand it turns out vk.com/oashkbrn Fixed. Version 1.5.1 posted. This was another bug originating from Sepcot's original plugin. 2 Quote (September 25th, 2023) Sorry about any broken images in my posts. I am aware of the issue. My Gallery | My Plugin Pack Layman's Guide to CodeLab Link to comment Share on other sites More sharing options...
Djisves Posted August 31, 2022 Share Posted August 31, 2022 @toe_head2001, any plans to update this plugin to render QR codes too? Quote Link to comment Share on other sites More sharing options...
toe_head2001 Posted September 2, 2022 Author Share Posted September 2, 2022 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. 1 Quote (September 25th, 2023) Sorry about any broken images in my posts. I am aware of the issue. My Gallery | My Plugin Pack Layman's Guide to CodeLab Link to comment Share on other sites More sharing options...
YBB Posted April 19, 2023 Share Posted April 19, 2023 A very useful plugin, thank you. Also, any chance of adding support for CODE 128? Quote Link to comment Share on other sites More sharing options...
toe_head2001 Posted April 20, 2023 Author Share Posted April 20, 2023 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. Quote (September 25th, 2023) Sorry about any broken images in my posts. I am aware of the issue. My Gallery | My Plugin Pack Layman's Guide to CodeLab Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.