iPad GS1-128/EAN-128 Generator generate, create barcode GS1-128/EAN-128 images in iPad (iOS) application

Generate & Print GS1-128/EAN-128 barcode images in iPad (iOS) Application

  • Source code is provided to build with iOS SDK that best fits for your application.
  • Quickly generate EAN-128 barcodes in iPad applications
  • Easily integrate the EAN-128 creation features into iPad projects
  • Entirely developed with Objective-C
  • Compatible with Mac OS X 10.6 and greater
  • Support Xcode 3.2 and higher
  • Support with iOS 3.2 and the later versions
  • Compatible with the latest EAN-128 barcode symbology standard
  • Source code for iOS EAN-128 is provided with the purchase of Unlimited Developer License

Index


 

iPad EAN-128 Generator Introduction

iPad EAN-128 is a EAN-128 barcode generator component developed for iPad apps developers who need add EAN-128 creation features into their developmental projects for iPad.

  • Generate EAN-128 barcodes on iPad client apps, without communicating with a server
  • EAN-128 barcode generation support on desktops as well as servers
  • iPad EAN-128 Generator Guide provided with iPad EAN-128 generation sample

GS1-128 is an application standard of the GS1 implementation using the Code 128 barcode specification. The former correct name was UCC/EAN-128. Other no longer used names have included UCC-128 and EAN-128. GS1-128 uses a series of Application Identifiers to include additional data such as best before dates, batch numbers, quantities, weights and many other attributes needed by the user.

 

Valid Data Scope

iPad Barcode EAN 128 supports:

  • all 128 characters of ASCII
  • values 128-255 in accordance with ISO 8859-1. There are referred to as extended ASCII.

 

How to generate barcode in Objective-C on your iPad applications?

  1. Create a barcode object
  2. Set barcode properties
  3. call drawWithView() method, to paint barcode on the canvas.

Sample Code:
- (void)drawRect:(CGRect)rect {
    // Drawing code
    
    OBLinear *pLinear = [OBLinear new];
    [pLinear setNBarcodeType: OB_CODE128A];
    [pLinear setPDataMsg: [[NSString alloc] initWithString: (@"AB")]];
    //[pLinear setPSupData: [[NSString alloc] initWithString: (@"14562")]];
    [pLinear setFX: USER_DEF_BAR_WIDTH];
    [pLinear setFY: USER_DEF_BAR_HEIGHT];
    
    [pLinear setFLeftMargin: (USER_DEF_LEFT_MARGIN)];
    [pLinear setFRightMargin: (USER_DEF_RIGHT_MARGIN)];
    [pLinear setFTopMargin: (USER_DEF_TOP_MARGIN)];
    [pLinear setFBottomMargin: (USER_DEF_BOTTOM_MARGIN)];
    
    [pLinear setNRotate: (OB_Rotate0)];
    
    UIFont *pTextFont = [UIFont fontWithName: @"Arial" size: 8.0f];
    [pLinear setPTextFont: pTextFont];
    
    [pLinear drawWithView: (self)];
    [pLinear release];
    
}
 

iPad EAN-128/GS1-128 Generator - Barcode Properties


Category Class Properties Default Comments
Basic nBarcodeType OB_EAN128 (11) OBBarcodeType. Barcode type.
pDataMsg "" NSString. Barcode data value to encode
bAddCheckSum true BOOL. AddCheckSum property is not applied here. AddCheckSum property is not applied. iPad Barcode Generator will automatically add a check sum in the end.
 
EAN 128
Special
bProcessTilde false BOOL. Set the processTilde property to true, if you want use the tilde character "~" to specify special characters in the input data. Default is false.
~NNN: is used to represent the ASCII character with the value of NNN. NNN is from 000 - 255.
 
Size Related uom 0 Unit of meature for all size related setting in the library.
0: pixel; 1: cm; 2: inch.
fX 1 width of barcode module (narrow bar), default is 1 pixel
fY 30 barcode module height, default is 30 pixel
fBarcodeWidth 0 generted barcode image width
fBarcodeHeight 0 generted barcode image height
fLeftMargin 0 image left margin
fRightMargin 0 image right margin
fTopMargin 0 image top margin
fBottomMargin 0 image bottom margin
nResolution 72 in DPI
nRotate 0 OBRotate. Valid values:
OB_Rotate0 = 0,
OB_Rotate90 = 1,
OB_Rotate180 = 2,
OB_Rotate270 = 3
 
Text
&
Color
bShowText true If true, display barcode data text, otherwise do not display.
bShowCheckSumChar true If true, display the check sum character in the end of data, if there is a check sum.
pTextFont Arial, Plain, 11 NSFont - Barcode text font style
fTextMargin 6 Space between barcode and barcode data text, default is 6 pixel





All iPad Barcode Supported Types

1D / Linear Barcodes

Code-39   |    Code-128   |    UCC/EAN128 (GS1 128)
UPC-A   |    UPC-E   |    EAN-8   |    EAN-13


2D / Matrix Barcodes

Data Matrix   |    QR-Code





OnBarcode is a market-leading provider of barcode generator, reader controls and components for ASP.NET, Windows Forms, WPF, as well Java, Android, iOS (iPhone, iPad) across all major enterprise development platforms. We provides high quality tutorials and guides for various linear, 2d barcode information, such as C# Barcode, QR Code C#, QR Code VB.NET, QR Code ASP.NET, QR Code .NET, ASP.NET Barcode. OnBarcode barcode products are supported by RasterEdge ASP.NET Document Viewer, which supports ASP.NET PDF Viewer, ASP.NET MVC Document Viewer, ASP.NET PDF Editor, MVC PDF Viewer. And provide high quality C# Convert PDF to Tiff, C# Convert PDF to Word, C# Convert PDF to HTML, C# Convert PDF to Jpeg images, and their easy and simple documents, like C# PDF SDK, C# extract text from PDF, C# Compress PDF, Print PDF in C# and C# extract image from PDF.
Terms of Use | Privacy Policy
Copyright © OnBarcode.com . All rights reserved.