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

Notices

Showing results 1 to 25 of 178
Search took 0.04 seconds.
Search: Posts Made By: ThomasLewis
Forum: Getting Started, Learning, Etc. January 15th, 2020, 09:16 AM
Replies: 3
Views: 119
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: 548
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: 376
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: 426
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: 426
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: 1,309
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: 994
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 =...
Forum: FusionPro® VDP Server (API) March 15th, 2019, 04:05 PM
Replies: 5
Views: 6,387
Posted By ThomasLewis
Re: Original Input File Name Path

Sorry if I confused the issue with the product names. The server itself has the API on it. In this particular case, it's just used to compose jobs being sent to Producer.

I understand everything...
Forum: FusionPro® VDP Server (API) March 15th, 2019, 02:35 PM
Replies: 5
Views: 6,387
Posted By ThomasLewis
Re: Original Input File Name Path

The job is a regular template in acrobat that is then sent to the API server for composition.

What happens is data files are placed on a file server in a folder that is the job number. The input...
Forum: FusionPro® VDP Server (API) March 15th, 2019, 10:51 AM
Replies: 5
Views: 6,387
Posted By ThomasLewis
Original Input File Name Path

I'm trying to grab the name of the folder the original input file came from. FusionPro.inputFileName doesn't work because it changes to the path the scheduler uses once the file is composed.

I see...
Forum: FusionPro® VDP Creator December 7th, 2018, 05:20 PM
Replies: 3
Views: 1,513
Posted By ThomasLewis
Re: Multiple Page PDF

Here's how I would do it:


pagesInPDF = 0;
markupToReturn = '';
PDFresourceRef = CreateResource(Field("PDF"), "graphic", true);

//Find out how many pages it has
pagesInPDF =...
Forum: The JavaScript Library January 18th, 2018, 12:09 PM
Replies: 11
Views: 7,426
Posted By ThomasLewis
Re: Determine if a text frame exists

With the previous way I was trying to do this, where the only javascript in the entire template was the Load function, no errors appear at all at save and validation only would result in a "null"...
Forum: The JavaScript Library January 17th, 2018, 05:27 PM
Replies: 11
Views: 7,426
Posted By ThomasLewis
Re: Determine if a text frame exists

Adding that extra function call directly to OnRecordStart did the trick. It's working perfectly now. It's just a matter of updating all the templates to include that extra line. Thanks so much for...
Forum: The JavaScript Library January 17th, 2018, 04:01 PM
Replies: 11
Views: 7,426
Posted By ThomasLewis
Re: Determine if a text frame exists

Attached is my template with the external JS file. When you open OnRecordStart and click validate, it returns "null". If I paste the code from the JS file directly into OnRecordStart, it returns the...
Forum: The JavaScript Library January 17th, 2018, 11:50 AM
Replies: 11
Views: 7,426
Posted By ThomasLewis
Re: Determine if a text frame exists

Those examples were all very helpful.

I'll try to explain where the issue is. I have a series of templates that all use very similar javascript for the OnRecordStart callback but also require the...
Forum: The JavaScript Library January 12th, 2018, 12:26 PM
Replies: 11
Views: 7,426
Posted By ThomasLewis
Re: Determine if a text frame exists

Sorry to pull up such an old post but I was unable to find anything similar. I'm running into the same issue where I need to check if a frame exists in validation.

Using the Try/Catch method still...
Forum: The JavaScript Library September 12th, 2016, 12:09 PM
Replies: 10
Views: 11,158
Posted By ThomasLewis
Re: Move to new sheet when field changes?

If you look back at my very first post in this thread, there is a bit of vital information there to get this to work. In the imposition, you have to set the stack to 1. I've attached a revised...
Forum: The JavaScript Library September 9th, 2016, 03:34 PM
Replies: 10
Views: 11,158
Posted By ThomasLewis
Re: Move to new sheet when field changes?

EDIT: I think I misunderstood at first, this should work:


FusionPro.Composition.chunksBreakStacks = true;

var amount = parseInt(Field("Unit"));
FusionPro.Composition.repeatRecordCount =...
Forum: The JavaScript Library September 9th, 2016, 03:06 PM
Replies: 10
Views: 11,158
Posted By ThomasLewis
Re: Move to new sheet when field changes?

I'm not real sure what you are trying to do based on your brief description. If I had to guess, you have something like:

Red, 20
Green, 15
Blue, 32

Then you want 3 separate output files with...
Forum: The JavaScript Library December 8th, 2015, 11:19 AM
Replies: 2
Views: 4,876
Posted By ThomasLewis
Re: Check variation of FusionPro

It's strictly for preview purposes. I want to be able to add some information on specific templates that users of lower variations would see. The users I have on FP Designer don't know the product...
Forum: The JavaScript Library December 2nd, 2015, 06:30 PM
Replies: 2
Views: 4,876
Posted By ThomasLewis
Check variation of FusionPro

Is there a way to check in the rule validator which variation of FusionPro the template is open on? Basically whether it's open on Designer, Desktop, or Producer.

I know you can see if the...
Forum: FusionPro® VDP Creator June 25th, 2015, 12:06 PM
Replies: 9
Views: 8,101
Posted By ThomasLewis
Re: GraphicsFrame and TextFrame suppression and movement

The problem with those borders is it screws up the ability to see copyfitting properly or anything at all in frames smaller than 12pt. If there were one thing I could change about FusionPro out of...
Forum: FusionPro® VDP Creator June 23rd, 2015, 05:57 PM
Replies: 9
Views: 8,101
Posted By ThomasLewis
Re: GraphicsFrame and TextFrame suppression and movement

Before you get too far into this, you need to make sure you are composing the output on Producer or Producer API for x and y movement.
Forum: The JavaScript Library May 27th, 2015, 04:48 PM
Replies: 3
Views: 7,271
Posted By ThomasLewis
Re: Form Validation

See if this works for you:

function zip_validator(zip)
{
if ((/^([0-9]){5}(([ ]|[-])?([0-9]){4})?$/).test(zip))
return zip;
else
return "invalid";
}
Forum: FusionPro® VDP Creator May 13th, 2015, 05:21 PM
Replies: 7
Views: 10,778
Posted By ThomasLewis
Re: Compose Multiple Output of non-fixed quantities

You mean like this? http://forums.pti.com/showthread.php?t=3163

That drove me insane for a very very long time. Somewhere around 9.2/9.3 it got fixed. You might check to make sure you are on the...
Showing results 1 to 25 of 178

 
Forum Jump

All times are GMT -7. The time now is 04:24 AM.


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