Brian Dunning's FileMaker Custom Functions

BarcodeSVG ( _type ; _value ; _height ; _width ; _webViewerName ; _options ; _quietZoneSize )

Produce SVG barcodes via Webviewer (thanks to Froatsnook's javascript)

  Be the first to rate this function Log in to vote

ThomasSeidler   ThomasSeidler - Show more from this author
The Good Book Company Ltd
http://www.thegoodbook.co.uk

Share on Facebook Share on Twitter

  Sample input:
Webviewer calculation: BarcodeSVG ( "GS1 128" ; "00" & "050607026500000090" ; 100 ; 300 ; "" ; "" ; "" )

Webviewer calculation: BarcodeSVG ( "GS1 128" ; "00" & "050607026500000090" ; "" ; "" ; "" ; "barcode_webviewer" ; "" )
  Sample output:
SVG GS1 128 barcode, 100x300pts... (i.e. highly printable, onscreen scannable etc.)
SVG GS1 128 barcode, resizing to fit webviewer exactly...

  Function definition: (Copy & paste into FileMaker's Edit Custom Function window)

Read froatsnook's javascript. The @summary section in barcode.js in particular, for variable usage.

 

Comments

Kyle Williams   Kyle Williams, Dreamclinic Massage
Jun 29, 2019
There appears to be a missing custom function that is required for this to work.
This line from the Let function shows a custom function "#Dict2Var" being used:
_set = If ( Length(_options) ; #Dict2Var ( _options ; "" ) ) ;

Problem is that there is no custom function by that name on this site.
 

Log in to post comments.

 

Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.

Support this website.

This library has been a free commmunity resource for FileMaker users and developers for 15 years. It receives no funding and has no advertisements. If it has helped you out, I'd really appreciate it if you could contribute whatever you think it's worth: