

You may already have a barcode requirement or want to evaluate your options. Other JavaScript libraries support a wide range of barcode types, one of which is listed in the references below. Once we have the content, we can hand it back to FileMaker and convert the contents to an image by decoding the base64. This also includes JavaScript support for accessing the resulting image with something like “canvas.toDataURL() ” where the result will be the base64 encoded contents of the image, as PNG by default.

If you are familiar with HTML 5, a canvas object (a special type of HTML element) draws graphics on the fly in a web page.

Interestingly, this added example also demonstrates how to return any rendered HTML from a “canvas” object. You can get a copy of the sample file used to generate barcodes with JavaScript here. We’ve udpated the js_Barcode.fmp12 example to generate the newly added PDF417 barcode type. That can save space required by your solution. You also need not save the image beyond the time needed to print it. However, you can use a web viewer generate the image via the javascript engine invoked when loading the HTML. Doing so does not require a web viewer to display the resulting image. At Soliant Consulting, we like to generate barcodes using JavaScript, which is capable of dynamically generating an image suitable to store in a FileMaker container field and also prints nicely.

Most of these require the use of a font installed in the OS or a FileMaker Plugin. There are several solutions to generate a barcode, and each has its own merits depending on your needs. That would provide an end-to-end solution using the FileMaker Platform. Since we can read these barcode types, that begs the question, how to generate any one of the supported barcodes? Ideally, we want to generate one of the supported barcodes that we can print out and scan them back in with a supported iOS device running FileMaker Go. These are in addition to the already supported list of barcode types, which are as follows: These add to the list of stypes natively supported by iOS, and FileMaker Go has been updated to leverage support from iOS as well. With the introduction of the FileMaker 18 platform comes new barcode types now supported by FileMaker Go 18.
