Native Barcode Generator for FileMaker User Manual
This user manual is for the native product that supports FileMaker Pro and
FileMaker Go 12 & up as
a custom function; previous versions of FileMaker must use the
32 bit Native Generator Plug-in.
Overview and Compatibility
This product is a set of FileMaker Custom Functions that generate barcodes
without any other dependencies. The Custom Functions create a barcode from an already installed system
font such as Courier New.
Once installed, no other components
or fonts need to be installed to create barcodes; it is the complete barcode
generator provided as a set of redistributable Custom Function files.
* This package does not support UPCA, UPCE, EAN13 or EAN8 barcodes because
of the required OCR text characters that must appear below this barcode
type. If these barcode symbologies are required, the
UPC/EAN Barcode Font
Advantage is available as a separate purchase.
Barcode Integration Tutorial
Installing the Native Barcode Generator is a fairly easy process. If
problems are encountered with this tutorial, IDAutomation recommends referring
to the sample database included in the package.
Extract or decompress the files from the Native Barcode Generator
To obtain the product,
download the evaluation version or
order the fully functional version.
Open the database that is to generate the barcode and choose File - Manage
Choose Import and then select the
FileMaker database file
that was extracted in Step 1.
Select one function, then press Ctrl-A and the space bar to
select the remaining functions. It is necessary to
all of the functions from the database because several of the functions depend on others to be present.
Note: Failure to
import all functions in this step will result in empty fields instead of
Choose File - Manage Database to create a calculated field that will contain the
Name the field to be the same as the related function name, without the
underscores. In this example, the field will be named
IDAutomationNatCode128 and it will call the
IDAutomation_Nat_Code128 function. For the field type, choose Calculation
and choose Create.
In the specify calculation dialog, change calculation result to text, choose the
appropriate function from the list on the right, and replace DataToEncode
with the field that needs to be encoded in the barcode and enter a number for
BarHeight such as "8" that determines the height of the barcode.
Optional: The DataToEncode parameter may be changed
to a formula that appends text to a field or combines multiple fields. For example:
IDAutomation_Nat_C128( "PREFIX" & Field1 )
IDAutomation_Nat_C128( Field1 & "," & Field2
- Open the FileMaker database file that was extracted in Step 1. Change to
Layout Mode and copy the example barcode field to the clipboard and paste it into
the database that will generate the barcode.
- Right-click on this field and choose Specify Field; choose the calculated
field created in step 5, in this case it is
- Size the field so it will completely contain the desired barcode.
- Click on the field and
open the Inspector Window, by going to View -
In the Appearance section, verify the font selected is a mono-spaced
system font such as Courier New, Lucida
Console, Consolas and the Font Size is 4 points. Note: Courier New is the preferred font to use
for linear barcodes and Consolas is the preferred font to use for 2D Matrix
In the paragraph section verify the Line Spacing
Height is a height of 0.99. If the barcodes will be displayed on mobile
devices with FileMaker Go, set the the Line Spacing
Height to .95 to reduce horizontal whites lines that could appear in the
Verify the Alignment is Center so that an appropriate amount of
white space appears around that barcode.
The default point size of 4 generates a barcode X dimension at 12 mils in size.
If it is necessary, the point size may be changed according to the following
If the font drop-down box
does not contain small sizes, the size must be manually typed in.
- Optional: If a text interpretation of the barcode is needed, it
is suggested to place the appropriate field directly above or below
the field that will contain the barcode. To automatically generate the human
readable field for GS1-128, create another calculated field as noted in step 5
with the IDAutomation_Nat_Code128HR function.
- Save and view the form or report. Verify that the barcode symbol
is being generated properly on all devices. In some cases, horizontal lines may appear
in the barcode because of low screen resolution. However, the printed
barcodes should be accurate without any visible lines. An adjustment to the
line spacing property mentioned in Step 10 should
resolve horizontal line issues. If a scanner
is needed to verify printed barcodes, IDAutomation offers several
affordable USB barcode
Creating GS1-128 Symbols
IDAutomation includes the capability in this product to create barcodes
and HR text for
(UCC/EAN128) symbols with the built-in ApplyTilde
feature which is enabled by default. The following describes the changes
implement GS1-128. This GS1-128 symbol example is created from 18 digits
of numbers in the GS1DataField field.
- Add in the
application identifiers with
tilde commands. The
result line should be similar to the following:
IDAutomation_Nat_C128( "~202" & GS1DataField
- If it is desired to place parenthesis in the correct locations of
the text interpretation, the IDAutomation_Nat_C128HR function may be used as a calculated field. For example:
IDAutomation_Nat_C128HR( "~202" & GS1DataField )
check digit may also be calculated within the barcode. For example, a GS1-128 symbol with
17 digits of numbers in the GS1DataField
field could be created with the following formula:
IDAutomation_Nat_C128( "~202" & GS1DataField & "~m17" )
Additionally, the HR field may also be created:
IDAutomation_Nat_C128HR( "~202" & GS1DataField & "~m17" )
Functions of the Native Barcode Generator
DataToEncode is the only required parameter in
the functions provided. Optional parameters are separated with the pipe "|"
character and may be appended to the DataToEncode,
for example IDAutomation_Nat_C39("TESTDATA" & "|3" ; 8)
Description of the Properties
of the Functions:
This is a string
value that represents the data being encoded.
The height of the barcode. The recommended default is 8. The approximate height is
determined with the following formula:
Height in Inches = (Font Size) * (BarHeight) * 0.012
Height in CM = (Font Size) * (BarHeight) * 0.03
Determines the width
of the wide bars, which is a multiple of the
X dimension. Valid values are 2 and 3.
The default is 2.
whether a check digit should be automatically calculated and included
for the DataToEncode. Valid values are 0 (false) and 1 (true). Default
= 0 for Code 39 and Interleaved 2 of 5.
If ApplyTilde is set to 1 (true), the default value, the
tilde will be processed. Set this to 0 (False) to disable this feature.
phone, email and forum support is provided up to 30 days after
phone, email and forum support may be obtained if the
and Upgrade Subscription is active.
Common Problems and Solutions:
- If the barcode is truncated, looks corrupted or does not appear
completely, resize or increase the width of the field.
- If the resulting symbol contains boxes instead of a barcode,
it is because a was process used does not completely support Unicode characters.
Usually, this is caused with processes that creates PDF documents.
- If horizontal lines appear in the printed barcode, check
the text format and decrease the Line
Spacing Height to 0.95 or less. However, it is normal for
horizontal lines to appear on the screen because of low screen resolution.
- If the barcode field is empty, ensure all functions were imported
from the database as described in step
- If scanning problems are encountered with small barcode sizes,
verify a printer of 300 DPI or greater is being used. An X dimension
of 16 MILS or greater should be used with low resolution thermal 203
DPI printers. IDAutomation also offers many barcode fonts that
to low resolution thermal printers. Additionally, verify the scanner
being used is able to read small barcodes.
- If barcodes do not scan at the default settings, check to
make sure that barcode type is enabled in the scanner and that there
is sufficient white space surrounding the barcode. Additional solutions
are provided in the
Barcode will not
scan KB article.
- Additional problems and solutions are provided at IDAutomation's
barcode font troubleshooting site and by searching resolved
Other Barcode Products & Information
Back to Top