iPhone Code 39 Generator generate, create barcode Code 39 images in iPhone (iOS) application

Generate & Print Code 39 barcode images in iPhone (iOS) Application

  • Fast create linear and 2D barcodes in iOS apps.
  • Source code is provided to build with iOS SDK that best fits for your application.
  • Easy to integrate the barcode generation functionality into your developmental iPhone projects
  • Completely written in Objective-C
  • Mac OS X 10.6 and greater are required
  • Compatible with Xcode 3.2 and above
  • Compatible with iOS 3.2 and above version, and works with iPhone 6,iPhone 5, iPhone 4S, iPhone 4, iPhone 3GS, etc
  • All barcodes are compatible with the latest barcode symbologies ISO standard
  • All the functionality of barcode type control is implemented in a single, small file

Index

 

iPhone Code 39 Barcode Generator Introduction

iPhone Code 39 Generator SDK is a Code 39 generator component designed for iOS project developers who need add Code 39 creation features into their developmental applications for iPhone.

  • Code 39 generation support on desktops as well as servers
  • Generate Code 39 on iPhone client apps, without communicating with a server
  • Complete iPhone Code 39 Generator Guide provided with iPhone Code 39 generation demo project

Code 39 (also known as "USS Code 39", "Code 3/9", "Code 3 of 9", "USD-3", "Alpha39", "Type 39") is a barcode symbology that can encode uppercase letters (A through Z), digits (0 through 9) and a handful of special characters like the $ sign.

excel code 128 barcode font indir, download native barcode generator for crystal reports, .net barcode sdk, what is barcode font in word, vb.net barcode component, c# get barcode input

Code 39 is restricted to 44 characters. In Full ASCII Code 39 Symbols 0-9, A-Z, "." ,and "-" are the same as their representations in Code 39. Lower case letters, additional punctuation characters and control characters are represented by sequences of two characters of Code 39.

 

Code-39 Valid Data Scope

iPhone Barcode Code 39 supports:

  • 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
  • Uppercase letters (A - Z)
  • - (Dash), $ (Dollar), % (Percentage), (Space), . (Point), / (Slash), + (Plus)

iPhone Barcode Code 39 Extension supports:

  • all 128 ASCII characters

 

How to generate barcode in Objective-C?

  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];
    
}
 

iPhone Code 39 Barcodes Generator - Barcode Properties


Category Class Properties Default Comments
Basic nBarcodeType OB_CODE39 (4) OBBarcodeType. Barcode type.
pDataMsg "" NSString. Barcode data value to encode
bAddCheckSum true BOOL. AddCheckSum property is optional. Modulo 43 will be applied, if addCheckSum property is true.
 
Code 39
Special
extension false If you want to encode any 128 ASCII characters, extension must be true.
fI 1.0 The space between 2 characters in code 39; This a multiple of X; The default is 1.;
fN 2.0 Wide/narrow ratio, 2.0 - 3.0 inclusive, default is 2.
bShowStartStopInText true If true, display a * in the beginning and end of barcode text
 
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





iPhone Barcode Generator Supporting Barcode Types





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.