An Erlang system built to generate barcodes using the postscriptbarcode writer
Erlang C
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
Makefile
Readme.md
barcode.ps
barcode_data.erl
driver.c
erl_comm.c
notes.org
ps_barcode.app
ps_barcode_app.erl
ps_barcode_supervisor.erl
ps_bc.erl
wand.c
wand.erl

Readme.md

erl-ps-barcode

Uses the postscriptbarcode Barcode Writer to generate various barcodes.

Notes

Some barcodes still don't work. These include isbn and ean13composite. Probably the other composites too. DO NOT USE THIS YET

Usage

  1. Clone this git repo
  2. Do make and make run in the project directory

You should now have a working barcode generator.

  • ps_bc:help/0 will list all available barcode types
  • ps_bc:help/1 takes a barcode type and returns an example argument for that barcode type
  • ps_bc:generate/2 takes a barcode type and a string and generates a barcode containing that string
  • ps_bc:generate/3 takes DestFolder, BarcodeType and Data (a string) and generates the appropriate barcode in the DestFolder directory