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 September 24th, 2014, 11:31 AM
sandig@customprinters.com sandig@customprinters.com is offline
Regular Contributor
 
Join Date: Feb 2010
Posts: 62
Default 2D barcode font size

I have rule
return MakeDataMatrixBarcode(Field("2dtext"));

Using font IDAutomationDMatrix.

The font size always validates as 10pt, regardless of the type size assigned to the variable field in FP Creator 9.2.31. I need to make it smaller size.
How do I adjust the font size?
Attached Files
File Type: pdf 2D barcode 10pt.pdf (65.1 KB, 4 views)
Reply With Quote
  #2  
Old September 24th, 2014, 11:43 AM
dreimer dreimer is offline
Senior Contributor
 
Join Date: Oct 2010
Location: Shakopee, MN
Posts: 456
Default Re: 2D barcode font size

It has been awhile since I have done 2D barcodes but you could try making it a graphic rule instead to change your size.
__________________
Don Reimer - JavaScript Novice

MAC OS 10.12.5 Acrobat XI 11.0.0 FP Creator 10.0.16
Windows 7 Acrobat X 10.1.4 FP Creator 9.3.9
Reply With Quote
  #3  
Old September 24th, 2014, 11:45 AM
sandig@customprinters.com sandig@customprinters.com is offline
Regular Contributor
 
Join Date: Feb 2010
Posts: 62
Default Re: 2D barcode font size

I found this on the forum.
var DM = new DataMatrixBarcode;
DM.processTilde = false;
DM.encodingMode = "ASCII";
DM.preferredFormat = 0;
DM.pointSize = 6;
return DM.Make(Field("2dtext"));

adjusting the DM.pointSize reduces the font size.

I think I'm all set.
Thanks
Reply With Quote
Reply

Tags
2d barcode

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 02:33 PM.


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