iPad UPC-A Generator generate, create barcode UPC-A images in iPad (iOS) application

Generate & Print UPC-A barcode images in iPad (iOS) Application

  • Source code is provided to build with iOS SDK that best fits for your application.
  • Quickly generate UPC-A barcodes in iPad applications
  • Easily integrate the UPC-A 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
  • Compatible with iOS 3.2 and the later versions
  • Compatible with the UPC-A barcode symbology standard ISO/IEC 15420
  • Source code for iOS UPC-A is provided with the purchase of Unlimited Developer License

Index

 

iPad UPC-A Generator Introduction

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

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

how to print barcode in crystal report using vb net, c# code 128 auto, vb.net barcode generator free, qr code c# .net, barcode visual basic, free barcode library c#

This Symbology is also known as Universal Product Code version A, UPC-A Supplement 5/Five-digit Add-On, UPC-A Supplement 2/Two-digit Add-On, UPC-A+5, UPC-A+2, UPC Code, UPC Symbol, GTIN-12, GS1-12, UCC-12

 

Valid Data Scope

iPad UPC-A supports:

  • 0, 1, 2, 3, 4, 5, 6, 7, 8, 9

 

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 UPC-A Generator - Barcode Properties


Category Class Properties Default Comments
Basic nBarcodeType OB_UPCA (36) OBBarcodeType. Barcode type.
OB_UPCA = 36,
OB_UPCA_2 = 37,
OB_UPCA_5 = 38.
pDataMsg "" NSString. Barcode data value to encode. Valid barcode data size is 11 digits (without last checksum digits, our iPad barcode library will calculate for you).
bAddCheckSum true BOOL. AddCheckSum property is not applied here. iPad Barcode will always add a check character in the last digit (modulo 10).
 
UPC/EAN Related pSupData "" NSString. Set the sData property with the supplementary data to encode.
fSupHeight 0.8 float. This is a multiplicator of the height of the code; The default is 0.8 (80%).
fSupSpace 0 float. The separation between the barcode and the supplement
 
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 imaging 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 comprehensive tutorials and how-tos for various linear, 2d barcode information, such as C# in ASP.NET, C# .NET, C# Barcode Encoding, C# Barcode Image, VB.NET in ASP.NET, VB.NET Winforms, VB.NET Barcode Encoding. 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.