Command Line Barcodes for Mac

ConnectCode Barcode Command is a command line application/utility for Mac OS X/macOS that generates industry adherence barcodes. Information such as like the type of barcode, data, and check digit are specified as input parameters to the command line application. By using the output string of the Barcode Command application with Open Type Barcode Fonts (provided in ConnectCode Barcode Software), high quality barcodes can be created easily.




It is important to note that when a barcode (which is created using a font) is printed, it rasters to the resolution of the printer and will not be limited to the DPI (Dots per Inch) of an image. This allows resolution-independent barcodes that meet the strictest industry requirements to be created and printed.

The “command line” nature of the Barcode Command application allows it to be easily integrated into existing workflow processes. For example, shell scripts (Bash scripts or Apple Scripts etc.) can make use of the command line application to generate barcodes for a large number of product items quickly and easily.

Downloading and Using Barcode Command

ConnectCode Barcode Command is available for download at the following:

Download ConnectCode Barcode Command (Command Line Barcodes) - OS X 10.6 - 10.11

or

Download ConnectCode Barcode Command (Command Line Barcodes) - macOS Sierra or later

The software requires the Open Type Barcode Fonts bundled in ConnectCode Barcode Software for Mac (available in the Mac App Store) to generate barcodes.

Note : Barcode Command can only be used under the terms and conditions of ConnectCode Barcode Software.

Barcode Command can be installed easily by simply unzipping the downloaded package. This command line application can then be launched from the Mac OS Terminal application, as shown below, by entering the command “./BarcodeCommand”.


An overview on the use of Barcode Command to create a barcode

The following steps provide an overview of using Barcode Command with the Open Type barcode fonts for creating a barcode.

  • Enter the following command in Mac OS Terminal. The output “*12345678-*” returned by Barcode Command is redirected to a file.

    ./BarcodeCommand Code39 ‘12345678’ 1 > barcodefile.txt

  • Open the “barcodefile.txt” file using TextEdit.
  • Select and highlight the data (“*12345678-*”) in the file.
  • Go to the menu Format->Fonts->Show Fonts.
  • Set the font family to “CCode39_S3” and the font size to “24”.
A Code 39 barcode that adheres to industry specifications is created. For details on the parameters, see the ConnectCode Barcode Command Manual (PDF).

Note : You will need to install a registered copy of ConnectCode Barcode Software and setup the barcode fonts on your Mac before you can use the "CCode39_S3" font as described above.

Back to Barcode Software for Mac page.

news & events  

08 13 2014 Barcode & Label
Barcode & Label is a label design and barcode printing app for the Windows Store. read more
01 26 2012 Finance Toolkit is now Universal
Finance Toolkit is now universal with support for the iPhone4, iPhone4S, iPad, iPad2 and iPod Touch (4th generation). read more
07 20 2011 Finance Toolkit for iPad
Finance Toolkit is a comprehensive suite of touch-based investment spreadsheets and modeling templates developed by ConnectCode. Equipped with over 50 financial templates in many different categories of finance, it significantly improves the productivity of investors and analysts on financial calculation, modeling and analysis. read more
04 27 2011 Barcode Software for Mac
A highly acclaimed barcode software that uses Open Type fonts to create industry compliant barcodes. read more
03 25 2011 Free Barcode Software for Mac
This is a free barcode software that uses Open Type fonts to create Code 39, Industrial 2 of 5 and POSTNET barcodes. read more
12 15 2008 ConnectCode Animator Preview
This is a preview release with the automatic animation effects generation and the fully integrated Designer tool. read more
Read all news

newsletter

Please enter your e-mail to subscribe to our newsletter