Go Back   PTI Marketing Technologies User Community > Software-Related Talk > The JavaScript Library > Barcodes

Notices

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old August 27th, 2015, 09:27 AM
Susan Susan is offline
Regular Contributor
 
Join Date: Oct 2008
Location: Maitland, FL
Posts: 53
Default PDF417 Barcode Width and Height

I am creating a PDF417 barcode with the following rule:

var myBarcode = new PDF417Barcode();
myBarcode.pointSize =3;
return myBarcode.Make(Field("Reg Code") +"^"+ Field("First Name") +"^"+ Field("Last Name") +"^"+ Field("Position") +"^"+ Field("Organization") +"^"+ Field("Address") +"^"+ Field("Address 2") +"^"+ Field("City") +"^"+ Field("State/Province") +"^"+ Field("Postal Code") +"^"+ Field("Email"));

The barcode that is being created is too tall and not wide enough. Is there some way I can adjust this?
__________________
FusionPro Desktop v9.3.36 / FusionPro Expression 3.2.2 / Mac OSX 10.11.6 / Acrobat Pro XI
Reply With Quote
  #2  
Old August 27th, 2015, 11:07 AM
Susan Susan is offline
Regular Contributor
 
Join Date: Oct 2008
Location: Maitland, FL
Posts: 53
Default Re: PDF417 Barcode Width and Height

I think I figured it out myself. I added a column amount in the rule and it adjusts the width:

var myBarcode = new PDF417Barcode();
myBarcode.pointSize =9;
myBarcode.totalColumns =9;
return myBarcode.Make(Field("Reg Code") +"^"+ Field("First Name") +"^"+ Field("Last Name") +"^"+ Field("Position") +"^"+ Field("Organization") +"^"+ Field("Address") +"^"+ Field("Address 2") +"^"+ Field("City") +"^"+ Field("State/Province") +"^"+ Field("Postal Code") +"^"+ Field("Email"));
__________________
FusionPro Desktop v9.3.36 / FusionPro Expression 3.2.2 / Mac OSX 10.11.6 / Acrobat Pro XI
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 01:43 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
(c) 2011, PTI Marketing Technologies™, Inc.