Komumaldata Barcoded PDF Forms PDF417 Barcode Generator Reference XFA (LiveCycle) Version Generator Version: 1.12



Similar documents
Barcodes principle. Identification systems (IDFS) Department of Control and Telematics Faculty of Transportation Sciences, CTU in Prague

Frequently Asked Questions

bbc Creating a Purchase Order Form Adobe LiveCycle Designer ES2 November 2009 Version 9

Version of Barcode Toolbox adds support for Adobe Illustrator CS

Section 1.4 Place Value Systems of Numeration in Other Bases

Creating Interactive PDF Forms

Sample Table. Columns. Column 1 Column 2 Column 3 Row 1 Cell 1 Cell 2 Cell 3 Row 2 Cell 4 Cell 5 Cell 6 Row 3 Cell 7 Cell 8 Cell 9.

Enhanced Bar Code Engine

ELFRING FONTS BAR CODES EAN 8, EAN 13, & ISBN / BOOKLAND

ELFRING FONTS UPC BAR CODES

Third-party software is copyrighted and licensed from Kofax s suppliers. This product is protected by U.S. Patent No. 5,159,667.

Visual Basic Programming. An Introduction

Lab 4.4 Secret Messages: Indexing, Arrays, and Iteration

BAR CODE 2 OF 5 INTERLEAVED

Firefox, Opera, Safari for Windows BMP file handling information leak. September Discovered by: Mateusz j00ru Jurczyk, Hispasec Labs

Flash Tutorial Part I

Microsoft Word 2010 Tutorial

SAS/GRAPH 9.2 ODS Graphics Editor. User s Guide

Acrobat XI Pro Accessible Forms and Interactive Documents


Layout Tutorial. Chapter 10: Getting Started

Test 4 Sample Problem Solutions, = , 7 5, = = 1.4. Moving the decimal two spots to the left gives

Using ADOBE LIVECYCLE ES4 Connector for MICROSOFT SHAREPOINT

Designing and Implementing Forms 34

Layman's Guide to ANSI X3.182

Course Syllabus. Technical Writing Certificate - Basic

1. Kyle stacks 30 sheets of paper as shown to the right. Each sheet weighs about 5 g. How can you find the weight of the whole stack?

Layout Tutorial. Chapter 10: Getting Started

Base Conversion written by Cathy Saxton

The VB development environment

Customer Barcoding Technical Specifications

Step-by-Step guide for IMAGINE UAV workflow

Impress Guide Chapter 3 Adding and Formatting Text

StatCrunch and Nonparametric Statistics

Microsoft Office 2007 Orientation Objective 1: Become acquainted with the Microsoft Office Suite 2007 Layout

Divide your material into sections, for example: Abstract, Introduction, Methods, Results, Conclusions

Levent EREN A-306 Office Phone: INTRODUCTION TO DIGITAL LOGIC

Window Glass Design 5 According to ASTM E 1300

Support Guide for Codification of Medicines

Microsoft Word 2013 Tutorial

Installation Instructions Magento Color Swatch Extension

Package png. February 20, 2015

How to test and debug an ASP.NET application

BAR CODE 39 ELFRING FONTS INC.

OmniPage Capture SDK s enhanced barcode recognition capabilities.

Adobe Acrobat 9 Pro Accessibility Guide: Creating Accessible Forms

Content Author's Reference and Cookbook

countway.harvard.edu/imaging Microsoft Office File Format Output Options PDF, EPS, JPG, TIFF and more

DOING MORE WITH WORD: MICROSOFT OFFICE 2010

ADP Workforce Now V3.0

WHITE PAPER DECEMBER 2010 CREATING QUALITY BAR CODES FOR YOUR MOBILE APPLICATION

Q&As: Microsoft Excel 2013: Chapter 2

MS Excel. Handout: Level 2. elearning Department. Copyright 2016 CMS e-learning Department. All Rights Reserved. Page 1 of 11

COMOS. Platform COMOS Platform Interfaces. Importing and exporting data 1. XML connectors 2. Standard import "Blank XML" 3

Table of Contents. Part I Introduction 3 Part II Install Font Files 3. Part III Office 2007 & Part IV Office 2000 &

The following is an overview of lessons included in the tutorial.

Perfion Output Using Special Barcode fonts

Designing forms for auto field detection in Adobe Acrobat

3. Add and delete a cover page...7 Add a cover page... 7 Delete a cover page... 7

Softek Software Ltd. Softek Barcode Reader Toolkit for Android. Product Documentation V7.5.1

Adobe Acrobat 9 Pro Accessibility Guide: Creating Accessible PDF from Microsoft Word

Converting Excel to SRT Format and Merging the Time Back In Using Subtitle Workshop By Binky of Wu Xia Fan Subbers

Creating and Using Links and Bookmarks in PDF Documents

Cyber Security Workshop Encryption Reference Manual

So you say you want something printed...

May Prepared: Product version: Keyword: Accelio Present Central 5.4. Original value:

SYSTEMS OF EQUATIONS AND MATRICES WITH THE TI-89. by Joseph Collison

Joomla Article Advanced Topics: Table Layouts

Lesson 15 - Fill Cells Plugin

Barcode Label Generator

Elliott NWSM Laser Form Technical Information

Working with the new enudge responsive styles

Software User's Guide

6. If you want to enter specific formats, click the Format Tab to auto format the information that is entered into the field.

Spreadsheet. Parts of a Spreadsheet. Entry Bar

User s Guide to ArcView 3.3 for Land Use Planners in Puttalam District

Web Dashboard User Guide

ITCS QUICK REFERENCE GUIDE: EXPRESSION WEB SITE

Unit R082 Creating digital graphics. File Formats and the Properties of Digital Images and Graphics

Introduction to dobe Acrobat XI Pro

Barcode Studio Barcode Designer

Identification of products that require activation at the Pointof-sale. The global language of business. in Europe

Excel 2007: Basics Learning Guide

Mass . General Use

Packaging Identification Standard

Revision 5 - (Released April 2008) Added further definitions of RFID tag contents and testing requirements for RFID tag read range.

User Manual Microsoft Dynamics AX Add-on LabAX Label Printing

Layout Tutorial. Getting Started

Secret Communication through Web Pages Using Special Space Codes in HTML Files

Serif PagePlusX4. Group Listing

Acrobat X Pro Accessible Forms and Interactive Documents

s sent to the FaxFinder fax server must meet the following criteria to be processed for sending as a fax:

Produce Traceability Initiative Best Practices for Formatting Hybrid Pallet Labels

Sample Problems. Practice Problems

THE VALSPAR CORPORATION

Unit 6 Number and Operations in Base Ten: Decimals

What resolution should I use? Resizing an Image for Print

Decimal to Binary Conversion

Installing An ActiveX Control in InTouch

Transcription:

Komumaldata Barcoded PDF Forms PDF417 Barcode Generator Reference XFA (LiveCycle) Version Generator Version: 1.12

Table of contents PDF417 Barcode Structure...3 Generator Function...3 Text Encoding Object...4 Examples...5 Embending Javascript...5 Contact...6 ii.

PDF417 Barcode Structure Generator Function Description Calling the Komdat_GeneratePDF417() function will generate the barcode symbol. Note that the function does not correct invalid parameter values, thus, you must supply valid parameters! Important technical informations are detailed in the descriptions of the parameters, except for barcode symbol coloring. Barcode graphic colors are hard-coded as black-white, and should not be changed. Colored barcodes can be read too, because all barcode readers are colorblind and analize contrast. This also explains why the black-white pair is the most safe combination to use. Parameters 1. Input Data: Must be an array, containing single byte elements, wich are the character codes of the data to encode. 2. Error Correction Level: There are a total of nine error detection/correction levels available, from zero to eight. Encoding with a correction level of zero does not mean that there are no error detection/correction codewords. Higher level means larger symbol size, longer calculation time, higher chance of detecting and correcting an error. 3. Number of Columns: The number of data columns can be fixed by giving an integer of a value between and including one and thirty. The generator algorithm calculates the optimal number of data columns automatically, if the value of the parameter is zero. 4. Number of Rows: The number of rows can be fixed by giving an integer of a value between and including three and ninety. The generator algorithm calculates the optimal number of rows automatically, if the value of the parameter is zero. 3.

If booth the number of data columns and rows are specified, the given number of rows is ignored, and the needed row count is calculated. 5. Container Object Reference: The container for the barcode symbol is an image field object, wich displays the symbol as a raster graphic bitmap. Note that XFA (LiveCycle) forms do not support vector graphics at all. Must be a string containing a valid reference to an image field object, wich is obtained using the resolvenode() function. 6. Quiet Zone Size: The minimum suggested size of the quiet zone is two times the size of the X dimension. The size of the X dimension is one unit. There is no need for a quiet zone, if the barcode is not surrounded with text, graphic or different background. 7. Y Dimension Size: The size of the Y dimension, given in units. The suggested size of the y dimension is 3 times the size of the X dimension. Must be between and including two and five. 8. Scale: The width and height of the barcode symbol container are multiplied with this value to scale the symbol. The sizing of the barcode symbol depends on booth the parameter values of the generator and the configuration of the container object. The generator only changes the size, any other setting of the container object must be configured manually. This is because we wanted developers to have more option displaying the barcode symbol. In static LiveCycle forms objects can not be resized dynamicly (that is why the form is called static), therefore resizing the symbol in static forms is not possible. 9. Maximum Symbol Width: 10. Maximum Symbol Height: These parameters specify the maximum size of the container object that displays the barcode symbol. This ensures that the generated symbol will not take more place than it should. Giving zero as the value of these parameters means there is no size restriction. The value is measured in inches, for compatibility with LiveCycle designer. 11. No Symbol Sizing: When set to true, it turns automatic sizing off. This affects the following parameters: Scale Maximum Symbol Width Maximum Symbol Height Throws Symbol too large! error if the encoded data takes more than 925 data codewords. Text Encoding Object Description This object provides functionality for converting codetable on a PDF internal string. All functions have one single parameter, wich is an internal string, and all of them return with an array of byte wide integer numbers. The array returned by these functions can be supplied as the input data parameter of the generator function without any further conversion needed. Note that the barcode encoding and decoding system must be set to the same character encoding to maintain integrity of the carried data. Characters that are not present in the choosen codetable are replaced with a non-breaking space. Functions objencoding.uni_to_8859_1(string) - Converts to iso-8859-1 codetable. objencoding.uni_to_8859_2(string) - Converts to iso-8859-2 codetable. objencoding.uni_to_8859_5(string) - Converts to iso-8859-5 codetable. objencoding.uni_to_8859_6(string) - Converts to iso-8859-6 codetable. objencoding.uni_to_8859_7(string) - Converts to iso-8859-7 codetable. objencoding.uni_to_8859_8(string) - Converts to iso-8859-8 codetable. objencoding.uni_to_8859_15(string) - Converts to iso-8859-15 codetable. 4.

objencoding.uni_to_8859_16(string) - Converts to iso-8859-16 codetable. objencoding.uni_encode(string) - Breaks up large character codes to unicode byte sequences. Examples Running the generator script Step 1: Get the data to encode, wich is the string value of a text field object in this example. Step 2: Convert the string to an array of byte wide integers, wich are character codes from a specified codetable. Step 3: Generate the barcode symbol. Advice: We advise you to put the barcode generator function call into a try block. An exception is thrown: When the encoded data size exceeds 925 data codewords, wich is the maximum specified in the PDF417 standard. When an invalid parameter value causes an error. (There is no parameter validation!) The generator is tested and working, and will not encounter any error other than too much input data, if the parameter values are valid. var TextData = new String(form1.page1.TextInputField.rawValue); var ChrBlock = EncodingFunctions.objEncoding.Uni_To_8859_1(TextData); try { Step 1 Step 2 KomdatBarcodeGenerator.Komdat_GeneratePDF417(ChrBlock, 2, 0, 0, "xfa.form.form1.page1.barcodesymbolimage", 4, 3, 0.7, 5.1875, 2.5, false); Step 3 } catch(errormsg) { xfa.host.messagebox(errormsg.tostring()); } Advice Do not forget, that you must reference the functions through the scripting object, that contains them! Configuring the barcode symbol Example 1: How to make a barcode symbol wich resizes automatically, proportionally and uses a zoom multiplier? Set the sizing property of the image field object to scale image proportionally. Turn on automatic sizing by setting the no symbol sizing parameter of the generator function call to false. Set the parameters of the automatic sizing. Example 2: How to make a barcode symbol wich always takes the same size independent from the ammout of the carried data? Set the sizing property of the image field object to scale image to fit rectangle. Turn off automatic sizing by setting the no symbol sizing parameter of the generator function call to true. Note that this might corrupt your barcode symbol, if the width to height ratio of the image field differs greatly from the generated picture s. This can be corrected by fixing the number of data columns or rows. Embending Javascript To embend the generator code in your LiveCycle PDF form, follow these steps: Open your document with LiveCycle designer. Right click the form in the hierarchy veiw, and select Insert Script Object form the dropdown menu. Name the new scripting object as KomdatBarcodeGenerator. Select the scripting object, and open up a script editor window (Ctrl+Shift+F5). Copy the contents of the Komdat_PDF417_XFA.txt provided in the package, into the scripting object. Add an other scripting object, and name it EncodingFunctions. Copy the contents of the EncodingFunctions.txt into the scripting object. Create and configure the image field that will display the barcode. (See examples section.) Call the functions to generate the barcode. (See examples section.) 5.

Contact Visit our website for news and releases: http://barcodedpdfforms.com Mail us with technological questions: support@barcodedpdfforms.com With any other non-technological question, you can mail us at: info@barcodedpdfforms.com 6.