Jump to content

david.young

Registered Users - Approved
  • Posts

    46
  • Joined

Posts posted by david.young

  1. I have a job that requires getting some registration targets on the leading edge of the sheet.

    Following the information in the manual I can get the background sheet to be used however I'm having a problem with the targets.

    I have created a graphic resource of the target and rule for it. drew a graphics box and assinged the rule to it and have these located in 4 positions. When I preview I can see all 4 targets. when I compose the targets only show on the left side of the sheet.

    Any ideas?

     

    Thanks

    David

     

    FP 9.3.21

    Windows 7

    Acrobat DC

  2. Step,

    I had to post so I could regale to you how this ended up.

    It seems all the other barcode projects I've done for this client worked well because no one ever scanned them. The barcodes were just for show to make it look official.

    After much disscussion we finally ended up using a QR code. All they're readers can scan it and the client is happy, for now.

    Gotta love this stuff

  3. jwhittaker and Dan thanks for your help got it sorted out. I shouldn't try to wrote code with no sleep.

    Dan your comment about a space in what appears to be an empty cell, that was one of my first thoughts, been burned by sloppy data several times.

    Notepad ++ is one of my favorite pieces of software for looking for problems like that

    Thanks again

  4. FP 9.3.21

    Windows 7

    Acrobat DC

     

    What should be simple has me perplexed, when this rule executes if there is no Business name the "and" shows.

     

    if (Field("Business") == "")

    {

    return Field("First Name");

    }

    else

    {

    return Field("First Name") + ("and") + Field("Business") + Field("Name2");

    }

    return "";

     

     

    Thanks

    David Young

  5. Alex,

    Thanks for the quick response however your suggetion did not help my issue.

    I downloaded a fresh copy of the IMB barcode, reloaded fonts still nothing.

    Just for grins I opened Font Book to see if the fonts were showing in there.

    Well it seems the fonts were listed and the IMB and all the ID automation fonts were set to off. Turned them on and the went to FP load all fonts.

    Launch acrobat open my file, no font message did a preview and the barcode shows correctly. Made a rule fore a 30f9 barcode and the font is listed and works.

    I am happy again.

    Thank You

  6. Mac OS 10.10 FP ver 9.3.22 Acrobat DC

    Installed this last night and opened an old job that we do on a regular basis.

    Get a warning that not all font are available. Drop missing fonts into the \Library\fonts folder. Run the load all fonts in FP. Now some of the fonts have loaded but not USPS IMB Compact., which I need. Try several attempts with load all still nothing.

    Go to my old installation and copy the fonts I need from the Libray\Preferences\PTI folder and put them into the same location on my new installation still nothing.

    I also notices in the FP fonts folder are all the ID Automation font. I try seeing if they are available for generating a 30f9 barcode. None of those fonts shows up.

    Help! What do I need to try. I have been using FP for many years and never had a font issue this bad.

  7. Thanks Step,

    I've made some files for test prints, all I can do is see what happens with the customer scanning the barcode.

    I realize those are the stop start characters just kind of funny I've never run into this before and I have done bunches of these for this same client, smaller number of characters tho, and several others.

    Thanks again.

  8. I am running Fusion Pro v6.2PIA on a Mac OSX 10.4

    Using the built in 3 of 9 barcode rule.

    My input data looks like this

    BBEA3-WQMBU-HKPK7-PUEMT-IAF7B

    Printed some samples, barcode looks fine.

    My customer scans the barcode and the data shows like this

    !BBEA3/WQMBU/HKPK7/PUEMT/IAF7B!

    What do I need to do to get rid of the "!". or is this something they need to fix in their scanner?

    Thanks

    David

  9. Thanks Step,

    I copied and pasted your code like this, and when I click validate I get an error "Function does not return a value"

     

    //Now, loop through all records in the external data file and

    //find the records that belong to the customer. This is done

    //by comparing the value of "CustomerID" from the main input

    //data file to the value of the "CID" field in the external data

    //file.

    //

    //Note that in this example, there can be multiple records in the

    //external data file for each customer which is why we are going to

    //look at every record in the external data file.

    var total = 0;

     

    for (recordWalker=1; recordWalker <= numRecsExtDF; recordWalker++)

    {

    //Compare the value of the CID field in the current record

    //we are looking at in the external data file to the value

    //of the CustomerID field in the main data file.

    if (externalDF.GetFieldValue(recordWalker, 'Constituent ID') == Field("Constituent ID"))

    {

    //Check to see if this is a TAX item. If it is, let's format it differently

    //if (externalDF.GetFieldValue(recordWalker, 'Product-Purchased') == 'Tax')

    //{

    // returnStr += '<br><b>Total Tax - ' + externalDF.GetFieldValue(recordWalker, 'Price') + '</b>';

     

    //}

    //else //OK - so this is a normal product - not a Tax item

    {

    returnStr += externalDF.GetFieldValue(recordWalker, 'Gift Date');

    returnStr += '<t>';

    returnStr += externalDF.GetFieldValue(recordWalker, 'Gift Type');

    returnStr += '<t>';

    returnStr += externalDF.GetFieldValue(recordWalker, 'Gift Amount');

    returnStr += '<t>';

    returnStr += externalDF.GetFieldValue(recordWalker, 'Gift Receipt Number');

    returnStr += '<t>';

    returnStr += externalDF.GetFieldValue(recordWalker, 'Gift Receipt Amount');

    returnStr += '<br>';

    total += StringToNumber(externalDF.GetFieldValue(recordWalker, 'Gift Receipt Amount').replace(/[^\d\.]/g,''));

     

    }

    }

    }

     

     

    returnStr += '<t><t><t><t>$' + FormatNumber("#.00",total);

  10. Thanks to the example of how to work with an external data file I have been able to get the data into the template but one field,'Gift Receipt Amount', needs to show a total at the end. Attached is how the out put needs to look

    Thanks in advance

    David

     

    for (recordWalker=1; recordWalker <= numRecsExtDF; recordWalker++)

    {

    //Compare the value of the CID field in the current record

    //we are looking at in the external data file to the value

    //of the CustomerID field in the main data file.

    if (externalDF.GetFieldValue(recordWalker, 'Constituent ID') == Field("Constituent ID"))

    {

    //Check to see if this is a TAX item. If it is, let's format it differently

    //if (externalDF.GetFieldValue(recordWalker, 'Product-Purchased') == 'Tax')

    //{

    // returnStr += '<br><b>Total Tax - ' + externalDF.GetFieldValue(recordWalker, 'Price') + '</b>';

     

    //}

    //else //OK - so this is a normal product - not a Tax item

    {

    returnStr += externalDF.GetFieldValue(recordWalker, 'Gift Date');

    returnStr += '<t>';

    returnStr += externalDF.GetFieldValue(recordWalker, 'Gift Type');

    returnStr += '<t>';

    returnStr += externalDF.GetFieldValue(recordWalker, 'Gift Amount');

    returnStr += '<t>';

    returnStr += externalDF.GetFieldValue(recordWalker, 'Gift Receipt Number');

    returnStr += '<t>';

    returnStr += externalDF.GetFieldValue(recordWalker, 'Gift Receipt Amount');

    returnStr += '<br>';

    }

    }

    }

     

     

    return returnStr;

    tax statements 1.pdf

  11. I've created this rule which fills my first need. Now I need to take the result of this and multiply by 1.5

     

    if (StringToNumber(Field("GIFTAMNT")) < 20.01)

    {

    return "<span>" + String("20") + "</span>";

    }

    if (StringToNumber(Field("GIFTAMNT")) > 500)

    {

    return "<span>" + String("500") + "</span>";

    }

    else

    {

    return "<span>" + (Math.ceil(Field("GIFTAMNT")/5)*5) + "</span>";

    }

    return "";

×
×
  • Create New...