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

Create GS1-128 Barcodes in Excel for Mac using GS1-128 Font

How can I create barcodes on Mac using the GS1-128 Font Suite?

Operating System: Mac

Application: Excel for Mac

08-23-19     5.2 year(s) ago    

  Report Abuse

 

Ben

Best Answer

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

IDAutomation recommends using the Native Generator for Excel (PRODUCT OPTION 1) which generates images directly in Excel. If you need to use fonts OR need to merge the encoded data, the GS1-128 Font Suite with VBA Encoder (PRODUCT OPTION 2) is the appropriate solution.

1. Download the demo or purchase and install the GS1-128 Font Suite.

This solution supports Excel 2007 and greater in Windows and Excel 2016 and greater on Mac. Older versions of Excel on Mac do not include VBA, for these versions, consider using the AppleScript solution with the GS1-128 Fonts.

How to install fonts on Mac?

2. While this screenshot is for Windows, the location of the VBA file required for formatting the data is located in the same path. Access this location:
The name of the file is IDAutomation_UniversalGS1Font_VBA.bas
image


3. Open the file in an editor and copy the contents of the file.


4. Run Excel.


5. Select Tools - Macro - Visual Basic Editor.
image image


6. Select Insert - Module.
image


7. Paste the code copied from the IDAutomation_UniversalGS1Font_VBA.bas file into the module.
image


8. Select Debug - Compile VBAProject.
If there are issues, contact IDAutomation's Technical Support Chat. We may have another file easier to import.

9. Select Excel - Close and Return to Microsoft Excel.


10. Example to create a GS1-128 barcode using the data: (01)3001234567890. Enter the formula in lowercase:
In Cell A1, enter ~202013001234567890~m13.
In Cell B1, enter =idautomation_uni_c128(A1,True)

NOTE: The ~202 is used before any Application Identifier that requires an FNC1. The ~m13 calculates the check digit for 13 characters. Setting the second parameter to True allows the function to process any data that has a ~ before it.


11. Press return. The encoded data appears in uppercase letters.
EBJMAIFEFEEGFEFIEIAIGDAFEEMBFCAFDGIAH


12. Right-click the column and select Format Cells.
image

13. Select the Font tab.
The font in the GS1 Font Suite begins with IDAutomationGS1 followed by a numeric value that indicates the height. To select the appropriate barcode font for your specification, review this guide: https://www.idautomation.com/barcode-fonts/gs1-128/user-manual/


14. In the Font options, select the IDAutomationGS1 barcode font. Example IDAutomationGS1 64 or IDAutomationGS1 52.


15. Select OK.

HUMAN READABLE

Because the GS1-128 font cannot generate human readable as part of the barcode, it must be created in another cell using the formula:

=IDAutomation_C128HR(Cell,True) or =IDAutomation_Uni_C128HR(Cell,True)

Example:
=IDAutomation_C128HR("~202013001234567890~m13",True)

Posted 5.2 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