Go Back   MarcomCentral (PTI) and FusionPro User Communities > Search Forums


Showing results 1 to 25 of 196
Search took 0.04 seconds.
Search: Posts Made By: ThomasLewis
Forum: The JavaScript Library November 9th, 2022, 12:30 PM
Replies: 3
Views: 766
Posted By ThomasLewis
Re: QR Code

Looks like there's something interfering with the IDAutomation2D font or it's not loaded. You might check just the QR rule in a new PDF to see if it works normally on it's own, if so then you have...
Forum: Issues, Questions, Etc. November 2nd, 2022, 10:11 AM
Replies: 1
I'm Having Trouble Currency to Padded Number
Views: 998
Posted By ThomasLewis
Re: Currency to Padded Number

You can use regular expressions to replace anything that's not a 0-9 with a blank. Your rule would look something like this:

return FormatNumber("00000000000", Field("Currency").replace(/[^0-9]/g,...
Forum: The JavaScript Library July 6th, 2022, 04:12 PM
Replies: 6
Views: 4,512
Posted By ThomasLewis
Re: Reg Ex or Javascript for File Name

Like this if I'm reading your code right:

... "\\" + 'GH_magazine-' + FormatNumber("000", Field("MagIDShort")) + ".pdf";
Forum: The JavaScript Library July 6th, 2022, 03:36 PM
Replies: 6
Views: 4,512
Posted By ThomasLewis
Re: Reg Ex or Javascript for File Name

I think what you are looking for is the FormatNumber function
FormatNumber("000", inputNumber)
Forum: Issues, Questions, Etc. June 16th, 2022, 11:51 AM
Replies: 8
Views: 2,033
Posted By ThomasLewis
Re: Repeating Sequential Ranges Rule

I am having the same issues at 95% I think the amount of overflow going on just may be too much to handle.

I took a different approach. Removed the overflow completely and moved everything into...
Forum: Issues, Questions, Etc. June 10th, 2022, 02:47 PM
Replies: 8
Views: 2,033
Posted By ThomasLewis
Re: Repeating Sequential Ranges Rule

You need to remove the rule from the text frame on the overflow page, then in the text frame properties palatte, turn on the checkbox that says "Overflow To".

Also in your Composition Settings...
Forum: Issues, Questions, Etc. June 10th, 2022, 11:44 AM
Replies: 8
Views: 2,033
Posted By ThomasLewis
Re: Repeating Sequential Ranges Rule

Give this a shot:

var start_number = 1001;
var largest_number = 146000;
var range = 5;
var sequence = "";

while (start_number +range <= largest_number)
sequence += start_number + "-"...
Forum: FusionPro® VDP Creator May 20th, 2022, 03:01 PM
Replies: 2
Views: 1,686
Posted By ThomasLewis
Re: Complex Time Formatting Rule

This should work for you. Just a precaution though, you need to make sure you put that space in between the time and the meridiems.

This works by splitting the time up into 3 sections, the hour,...
Forum: Issues, Questions, Etc. April 6th, 2022, 11:27 AM
Replies: 2
Views: 3,701
Posted By ThomasLewis
Re: Fit frame to copy

Attached is an example on how to do this using FusionProTextMeasure and a white box.
Forum: FusionPro® VDP Creator April 6th, 2022, 10:44 AM
Replies: 10
Views: 17,769
Posted By ThomasLewis
Re: script for output file name

You just have the syntax messed up. Try

Or better yet, use
Forum: Getting Started, Learning, Etc. April 6th, 2022, 10:39 AM
Replies: 3
Views: 3,849
Posted By ThomasLewis
Re: Contains Command

if (Field("FieldName").indexOf("AAAA") > -1)

This returns the index of "AAAA" within the given string starting with 0.
For instance if your string is "zzzAAAAzzz" it would return 3.
If your...
Forum: FusionPro® VDP Creator March 23rd, 2022, 10:59 AM
Replies: 2
Views: 8,971
Posted By ThomasLewis
Re: Sequential in Ranges

This might help break it down for you:

var start_number = 815255;
var increment = 7;

var crn = CurrentRecordNumber() -1;
var set_start = start_number +crn +(crn * increment);
var set_end =...
Forum: FusionPro® VDP Creator March 23rd, 2022, 10:42 AM
Replies: 3
Views: 1,841
Posted By ThomasLewis
Re: Improving Performance..

In the composition menu under Output, change Optimize over to Basic. Advanced will significantly slow you down.
Forum: FusionPro® VDP Creator March 15th, 2022, 10:50 AM
Replies: 9
Views: 2,957
Posted By ThomasLewis
Re: Phone Labels appearing when cell is empty

It's not working because you are filtering on the length being greater than 4. Your shortest length is "Cell: " which is 6.

Anyways, that wont work with the formatting you want. Give this a shot:...
Forum: Getting Started February 3rd, 2022, 02:28 PM
Replies: 8
Views: 9,615
Posted By ThomasLewis
Re: Am I the only one?

Even though the old UI looked dated, I do miss it.

With that said, I have been using the new(ish) version since it came out and have gotten used to it. You really have to be diligent about...
Forum: Barcodes July 21st, 2021, 05:49 PM
Replies: 0
Views: 4,665
Posted By ThomasLewis
Using MakeQRBarcodeGraphic in OnRecordStart

I'm trying to see if its possible to use MakeQRBarcodeGraphic in an external JS function that is loaded into OnRecordStart.

The MakeQRBarcodeGraphic function is working fine and returns a Resource...
Forum: The JavaScript Library October 8th, 2020, 02:12 PM
Replies: 2
Views: 9,816
Posted By ThomasLewis
Re: Multiple quantitys per record from data

You can put this in OnRecordStart
FusionPro.Composition.repeatRecordCount = parseInt(Field("print count"));

But that doesn't seem like a very efficient way to do this. It may be better to look...
Forum: FusionPro® VDP Creator October 5th, 2020, 10:02 AM
Replies: 4
Views: 9,445
Posted By ThomasLewis
Re: Images with Masks for transparency

This is not a long term solution, but you should be able to setup a batch process with an action in Photoshop.

You would need to batch open each image, use the layer as a selection mask, crop,...
Forum: Getting Started, Learning, Etc. January 15th, 2020, 09:16 AM
Replies: 3
Views: 34,250
Posted By ThomasLewis
Re: How to make array data global?

You can assign global variables in OnRecordStart by omitting the "var " before the assignment.

Then in your other rules put this bit in the top line:
if (FusionPro.inValidation)...
Forum: Issues, Questions, Etc. December 16th, 2019, 12:12 PM
Replies: 0
Views: 10,769
Posted By ThomasLewis
FusionPro 11 Imposition Issue

Please see the attached imposition. There seems to be 2 bugs happening. This has been tested under version 11.0.2 and 11.0.8.

First the imposition should be HorizontalPosition=-0.145 " but this...
Forum: FusionPro® VDP Creator November 1st, 2019, 03:25 PM
Replies: 1
Views: 8,308
Posted By ThomasLewis
Re: shift Tab between Phone and email

Change the 14400 to whatever your frame width is (or just slightly under). Value is inches times 7200.

if (Field("Phone") && Field("Email"))
return '<p br=false quad=L...
Forum: Issues, Questions, Etc. October 24th, 2019, 11:15 AM
Replies: 3
Views: 8,351
Posted By ThomasLewis
Re: Jpeg Compressed Tif Issue

I tried emailing support 3 times and I keep getting rejected due to some seriously aggressive spam blocking. I removed all links and even sent a non-html version and its still rejected.
Forum: Issues, Questions, Etc. October 17th, 2019, 02:04 PM
Replies: 3
Views: 8,351
Posted By ThomasLewis
Jpeg Compressed Tif Issue

There seems to be an issue when Tif files saved out of Photoshop have Jpeg compression turned on. FusionPro (both 10 and 11) will render a PDF but the images are flipped upside down. Fortunately the...
Forum: Barcodes September 18th, 2019, 11:30 AM
Replies: 6
Views: 19,198
Posted By ThomasLewis
Re: UPC Help

Change the line that is
retstr = "0"+Field(Var1);

to this:
retstr = Field(Var1);
if (retstr.length < 11) {
retstr = "0" + retstr;}

I'm not sure what the warning is but you might try...
Forum: FusionPro® VDP Creator September 17th, 2019, 02:26 PM
Replies: 5
Views: 9,772
Posted By ThomasLewis
Re: Complex Form Numbering Question

It looks like the only thing that is really variable is the Exam #.

You could create a rule that is put in a text frame on each page that looks something like this:

var form =...
Showing results 1 to 25 of 196

Forum Jump

All times are GMT -7. The time now is 08:13 PM.

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