Generate AustraliaPost BarCode with Different Format Control Code Options in Ruby

Aspose.BarCode - Generate AustraliaPost Barcode

To Generate AustraliaPost Barcode using Aspose.Barcode Java for Ruby, simply invoke AustraliaPostBarcode module. Here you can see example code.

Ruby Code

 data_dir = File.dirname(File.dirname(File.dirname(File.dirname(__FILE__)))) + '/data/'

\# Instantiate barcode object

symbology = Rjb::import('com.aspose.barcode.Symbology')

builder = Rjb::import('com.aspose.barcode.BarCodeBuilder').new("1234567890", symbology.AustraliaPost)

\# Set format control code to standard


\# Save the image to your system and set its image format to Jpeg + "AusraliaPost-Barcode.jpg")

\# Display Status

puts "Generated Austrailia Post Barcode Successfully."

Download Running Code

Download Generate AustraliaPost Barcode (Aspose.BarCode) from any of the below mentioned social coding sites: