Jump to content

Barcode Plugin


Sepcot
 Share

Recommended Posts

MODERATORS NOTE:  this plugin has been superseded by a newer version:

https://forums.getpaint.net/topic/31559-barcode-v14-nov-14-2015/

 

 

 

Version 1.1.x of my Paint.NET Barcode Plugin is completed. Note: I do not have access to a barcode reader and have not checked the validity of the barcodes, but they should be accurate ?

Version 1.1.x supports Code 39 and POSTNET barcodes, as well as fixes some rendering issues.

Barcode-Dialog-v1.png

Barcode-Sepcot.com.png

'Sepcot.com' encoded with Code 39

Barcode-12345-Postnet.png

'12345' encoded with POSTNET

Quote

DLL Download Link (version 1.1.1): http://www.sepcot.co...rcodeEffect.zip (Unzip - Drop the Barcode.dll file into your Paint.NET Effects folder)

Source Download Link (version 1.1.1): http://www.sepcot.co...ffectSource.zip

 

For more information about what is going on in the code you can visit:

http://www.sepcot.co...-Barcode-Plugin
http://www.sepcot.co...ode-Plugin-v1_1

 

Edited by toe_head2001
Link to comment
Share on other sites

I print and read this one : sepcot;com

-> no capital letter

-> semi column instead dot

(Well I'm using a french keyboard so I'm sure it's a matter of configuring the BC reader)

Well, 'Sepcot.com' was encoded with Code 39, so it should be read in as 'SEPCOT.COM' (all uppercase, no lower case letters in Code 39) and there is no ';' character in Code 39 (there is in Full ASCII Code 39) so that is probably related to the language.

Link to comment
Share on other sites

By the way, Sepcot, my previous comment about irregular selections was not a "bizarre observation": your plugin is actually written incorrectly, and its rendering will end up incorrect if changes are made to the rendering framework and how the region of interests are passed to effects. (Like what if I start dividing up the rendering based on rectangle tiles, instead of scanlines? etc)

The Paint.NET Blog: https://blog.getpaint.net/

Donations are always appreciated! https://www.getpaint.net/donate.html

forumSig_bmwE60.jpg

Link to comment
Share on other sites

I print and read this one : sepcot;com

-> no capital letter

-> semi column instead dot

(Well I'm using a french keyboard so I'm sure it's a matter of configuring the BC reader)

Well, 'Sepcot.com' was encoded with Code 39, so it should be read in as 'SEPCOT.COM' (all uppercase, no lower case letters in Code 39) and there is no ';' character in Code 39 (there is in Full ASCII Code 39) so that is probably related to the language.

My reader passes through the keyboard emulating the key strokes...

I need to adjust the settings for it (if it read a 'A' it could give 'Q').

Link to comment
Share on other sites

By the way, Sepcot, my previous comment about irregular selections was not a "bizarre observation": your plugin is actually written incorrectly, and its rendering will end up incorrect if changes are made to the rendering framework and how the region of interests are passed to effects. (Like what if I start dividing up the rendering based on rectangle tiles, instead of scanlines? etc)

Ah, I think I have figured out a fix for this, but I don't have Visual Studio at work... look for an update next week...

Dude! I deal with barcodes all day. Can you make it output a POSTNET barcode w/Check digit?

If my fix works, I should be able to implement POSTNET as well.

Link to comment
Share on other sites

By the way, Sepcot, my previous comment about irregular selections was not a "bizarre observation": your plugin is actually written incorrectly, and its rendering will end up incorrect if changes are made to the rendering framework and how the region of interests are passed to effects. (Like what if I start dividing up the rendering based on rectangle tiles, instead of scanlines? etc)

Fixed. I refractored a lot of my code and added a BarcodeSurface class to pre-render a given barcode before it gets drawn to the destination surface.

Dude! I deal with barcodes all day. Can you make it output a POSTNET barcode w/Check digit?

POSTNET support added.

See original post for download links.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...