how do i create the barcode Lines
Thank you for your post!
You might look into plugins or solutions for Barcode Creation: Made for FileMaker
I'm also going to move this thread from the FileMaker Developer Challenge 2016 Place to the Discussions Space where you should receive more views and potentially more feedback on this topic!
Several good plugins do it like Monkey Bread Software and CNS Barcode. You can also do API calls to a web API to return a PNG graphic.
An example online API for generating QR codes (which is a type of bar code, just not the line kind) is:
https://api.qrserver.com/v1/create-qr-code/?size=150x150&data=[insert your text here]
So if you do this:
And there are fonts that can be used to print out a bar code.
With a bar code font, you just assign the text you want encoded in the bar code into a field formatted with that font and print. (But often, you have to calculate a check digit with a formula specific to the barcode type to include as part of the text in that field.)
Phil mentioned you can use barcode fonts as an option, but please avoid doing so. It relies on all other computers having the same font available, which is a rail pain across operating systems and if you want it to work on iOS devices. This was done a lot back in the 1990's, but now that we have access to graphically generated ones, it is much easier. About the only plus to fonts is that is uses less storage than storing graphics. Then again, you can create bar codes on the fly in global fields and not store them. I know Phil was just giving you all the options, but it is a less preferred method in my opinion and also does not support 2D fonts either. But thanks for mentioning it Phil because it is an option.
It relies on all other computers having the same font available,
This is not the case. You'll only need the fonts installed on the machine used to print the labels.
philmodjunk wrote: It relies on all other computers having the same font available, This is not the case. You'll only need the fonts installed on the machine used to print the labels.
Yes, and then you end up down the road and can't find the font on a replacement computer or you want to print on multiple machines and the font is licensed and having to pay for new licenses and maybe it is a TrueType font (e.g., idautomation.com) and things are now going to OpenType and on and on. Yes, you can make it work. But it just is not elegant for all users equally and when users can't see the same thing in a layout, especially on iOS devices. It is also why I encourage development using standard OS fonts or at least standard ones that come with MS Office.
Current barcode technologies in FM are plugins like MBS and CNS. The future really are RESTful APIs doing jobs like this. Devcon this summer will be focusing a lot on such technology and we know FileMaker Server is going to be a RESTful API itself at that point (v16).
If you consider fonts the solution, it is your prerogative and it does work. I personally recommend clients avoid it especially after inconveniences I've had with idautomation fonts.
PS: FileMaker does a better job of asking to download and install needed fonts at least in FM 15. Kudos to FM for that.
Every option has it's strengths and weaknesses. Plug-ins can fail because FileMaker updated the app and the plug-in is no longer compatible. You have to pay for licenses for a plug-in also so the fact that you might have to pay for a license for a bar code doesn't seem all that different an issue.
And the other methods require that you be connected to the web. Even though we are very connected these days, it's not always the case that a given device will be connected at the time that you need that bar code. (And both web services and plug-in developers can close shop at any time and leave you scrambling for a new one.)
And I'd store that font in a container field of the solution that uses it to avoid losing it. (And yes, the fact that Filemaker now works better with multiple fonts IS a plus, but configuring FileMaker to add more fonts was a minor nuisance at worst.)
While you investigate other solutions.
Here's a quick module thats free & is easily integrated with you solution :-
I've been using it to generate barcodes for usernames so they can be scanned on entry to our factory.
Good point on the plugins being required to be installed. I guess I forget this because most all of my solutions have MBS plugin on the server and I just run these types of things in PSoS. But that is a big assumption.
Retrieving data ...