New User? Sign Up  |  Sign In  |  Help
Barcode support and
tutorials from IDAutomation
and the community.
Click for the BBB Business Review of this Computers Hardware, Software & Services in Tampa FL
Resolved Questions

How to Create GS1-128 Barcodes in Access using the GS1 Font Suite

How to create GS1-128 barcodes with the GS1-128 Font Suite.

Operating System: Windows

Application: MS Access

10-05-16     8 year(s) ago    

  Report Abuse

 

Ben

Best Answer

To create barcodes using a font, two components are required:
(1) Barcode Font
(2) Font Encoder

A font encoder is a component that takes the data that will be converted to a barcode and formats it into another form of data that the barcode font can understand. The IDAutomation GS1-128 VBA Macros is a font encoder included in the GS1-128 Font Package that encodes data for Excel and Access.

This tutorial uses the GS1-128 Font Package
IDAutomation GS1-128 is downloaded and installed.

1. Download the (Demo or Licensed) GS1-128 Font Package.


2. To extract the file, right-click it and select Extract All.
image


3. Double-click to run the EXE installation for the Font Package.
image


4. After the font package installs, navigate the package to the VBA folder. This includes the IDAutomation_UniversalGS1Font_VBA.bas that will be imported into Access's Visual Basic Editor. Remember the location of the file.
image


5. Open the Access.
image



6. Select the Create tab.
image



7. Select Visual Basic.
image



8. In the Visual Basic Editor, select File--Import File and navigate to the location established in Step 4 (where the IDAutomation_UniversalGS1Font_VBA.bas file exists).



9. Select the file and choose Open.


10. The IDAutomation_UniversalGS1Font_VBA.bas is placed in the Modules folder. Ensure that only one instance of the IDAutomation_UniversalGS1Font_VBA.bas is imported.
image


11. Select File and then Close and Return to Microsoft Access.


12. Set up the data in the table. Set the field to Long Text. image


13. Name the field and enter the GS1-128 data.
image


14. The parentheses around the data signify the Application Identifier for GS1 barcodes. There is a character called the FNC1 that must be encoded before the very first Application Identifier (AI). To do this, replace the parentheses with ~212 for two-digit AIs, ~213 for three digits AIs, ...
image


15. Save the table.


16. Create a report based on the table data.
image



17. Right-click the report and select Design View.
image


18. In the Design tab, select the Text Box with a left-click.
image



19. Navigate to the Details section of the report and left-click. It will place the Text Box into the report.
image



20. Left-click the label and select the Delete key. Resize the Text Box to the desired size.



21. Right-click the Text box and select Properties.



22. Within the Property Sheet, select the Data tab.



23. In the Control Source, enter the formula to create the GS1-128 encoded data. =IDAutomation_Uni_C128([field],1)
image


24. Return to Design View and select the barcode field.
image


25. In the top left of the application, select Home, and then in the font window enter the barcode font
IDAutomationGS1 (sale version) or IDAutomationSGS1(demo version). We include many sizes of GS1 Fonts.
image



26. Double-click the report.
image


To Generate Human Readable, create another Text Field underneath the barcode field and use the IDAutomation_Uni_C128HR formula for your data.

When generating GS1 symbols, IDAutomation recommends testing the result with the Barcode Decoder App which parses out GS1 data to verify proper encoding.

Posted 8 year(s) ago

(0)
(0)
  Report Abuse
 
Find Interesting
 
Email to Others
 
Bookmark
 
Subscribe to Answer Alert
No comments yet.     Be the first to comment.

Email this question link to friends
You must enter an email address, if name is entered or vice-versa for each friend.
Friend #1 -
Friend #2 -
Friend #3 -
Friend #4 -
Friend #5 -
  Your comment on this question
  |         |  
bold  italic  underline  strike       big  small       superscript  subscript 
  Allows to add a link. Added links would only be converted to actual clickable link, when the domain of the link is white-listed by administrator.
Caption :
Link URL :
(Must starts with "http://")
Add  |   Cancel
  Allow to insert an image. Must be among the following file types - *.jpg, *.gif, *.png & *.bmp.
Image Url :   Upload New
(Image url must always starts with " http:// ")
Width : pixels
(Must not be greater than 450px. Enter 0px for no resize)
Add  |   Cancel
  Allow to insert YouTube video. Insert the video embed code.
Embed Code :
Add  |   Cancel
Up to 5000 Characters are allowed. Current Count: 0
  Your comment on this answer
  |         |  
bold  italic  underline  strike       big  small       superscript  subscript 
  Allow you to add a link. Added links would only be converted to actual clickable link, when the domain of the link is white-listed by administrator.
Caption :
Link URL :
(Must start with "http://" or "https://")
Add  |   Cancel
  Allow to insert an image. Must be among the following file types - *.jpg, *.gif, *.png & *.bmp.
Image Url :   Upload New
(Image url must always start with "http://" or "https://")
Width : pixels
(Must not be greater than 450px. Enter 0px for no resize)
Add  |   Cancel
  Allow to insert YouTube video. Insert the video embed code.
Embed Code :
Add  |   Cancel
Up to 5000 characters are allowed. Current Count: 0

You may answer and comment on any thread according to the Terms and Conditions.

 © Copyright 2021 IDAutomation.com, Inc., All Rights Reserved. Legal Notices.

 Barcode Fonts | Components | Scanners | Support | Contact Us
Training Videos on YouTube Join us on Google Plus Join us on LinkedIn Follow us on Twitter Like us on Facebook