Jump to content

Meir

Registered Users - Approved
  • Posts

    50
  • Joined

Converted

  • Location
    Lawrenceville, NJ

Converted

  • FusionPro Products
    Yes

Converted

  • FusionPro VDP software version
    8.2.7

Converted

  • OS
    10.8.2

Converted

  • Acrobat Version
    Acrobat 9.x

Meir's Achievements

Enthusiast

Enthusiast (6/14)

  • First Post Rare
  • Collaborator Rare
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

10

Reputation

  1. Thanks Dan. That seems to make sense. I am making a very general product that allows users to choose page size and upload a graphic up to 250 pages. The product uses inline graphic with overflow enabled to create the number of pages uploaded in the pdf at the size selected from a drop down. I've done a little testing and it seems the padding needed is somewhere greater than 0.1" and less than or equal to 0.12". I just wanted to make sure that this is supposed to happen. Otherwise I was concerned there was something wrong with my inline graphic rule, that I would have to adjust. Seems like it is supposed to happen though. Thanks for the help.
  2. I have a product with an inline graphic. I am finding that my 8.5" x 11" image does not fit in an 8.625" x 11.125" text box. I have found that same file fits in an 8.625" x 14.125" text box. I also notice that my text box is 8.62" x 11.1" because it cannot have two decimal places when the dimension reaches 3 digits. I am just looking to confirm my observation that a text box must be at least "0.12" bigger than the dimension of the image inserted inline within it. Otherwise, do you know of any other reason this might be happening? Thank you, Meir
  3. I have product that has an option for page size, orientation, and bleed. As of now, my product will suppress all pages that are not the size or orientation selected. However, when I compose my record, regardless of my selection for bleed, the "Bleed" and "NoBleed" graphic box appears. Each page has a two graphic fields on them [bleed, NoBleed]. Is the fact that there are multiple graphic frames with the same name an issue? I assume that it should suppress all graphic fields with this name. if (Field("Bleed") == "Yes"){ FindGraphicFrame("Bleed").suppress = false; FindGraphicFrame("NoBleed").suppress = true; } else { FindGraphicFrame("Bleed").suppress = true; FindGraphicFrame("NoBleed").suppress = false; } if (Field("Orientation")== "Portrait") { FusionPro.Composition.SetBodyPageUsage("small_L", false); FusionPro.Composition.SetBodyPageUsage("large_L", false); if (Field("Size") == '11" x 17"' ) { FusionPro.Composition.SetBodyPageUsage("small_P", false); FusionPro.Composition.SetBodyPageUsage("large_P", true); } else if (Field("Size") == '8.5" x 11"' ) { FusionPro.Composition.SetBodyPageUsage("small_P", true); FusionPro.Composition.SetBodyPageUsage("large_P", false); } } else if (Field("Orientation")== "Landscape") { FusionPro.Composition.SetBodyPageUsage("small_P", false); FusionPro.Composition.SetBodyPageUsage("large_P", false); if (Field("Size") == '11" x 17"' ) { FusionPro.Composition.SetBodyPageUsage("small_L", false); FusionPro.Composition.SetBodyPageUsage("large_L", true); } else if (Field("Size") == '8.5" x 11"' ) { FusionPro.Composition.SetBodyPageUsage("small_L", true); FusionPro.Composition.SetBodyPageUsage("large_L", false); } }
  4. well that works... I still have no idea why it wasn't working the other way, but that'll do. Thank you very much!
  5. Thank you for taking the time to help me. I'm sorry, the extension is not in the data file, as I am using this online and that is where I am encountering the error by a user. However, the error persists in the collect files. I tried your method, but this is making the entire phone number drop to the line below my phone label. I attached a screen shot of the output. Before your change: Main: +1(123) 456-7890 ext.12345 After your change: Main: +1(123) 456-7890 ext.12345 Desired output: Main: +1(123) 456-7890 ext.12345 I have attached updated collect files with records 3-7 demonstrating the issue. You will notice in record 3 that all those lines fit in the text box. Notice how Address2 is present. You will notice in record 4 that all the phone extensions can fit on the same line as their phone numbers. Notice how Address2 is not present. You will notice in record 5 that all those extensions that had previously fit on the same line as the phone number are dropped to the next line. Notice how Address2 is present. You will notice in record 6 that the extension on phone 1 pushes to the next line. Address 2 is present. All the fields that fit in record 3 no longer fit, because phone is taking up two lines instead of 1. In record 4, I displayed that the extension for every phone number can fit on the same line as the phone number. Yet in record 6, the phone number and extension are on different lines. Why is the extension dropping onto the next line only when Address2 is present? Collect_Example.zip
  6. This did not have an effect. The Address 2 field was suppressing when it is not present prior to your change. After your change, the extension is still dropping one line when address2 is present. Attached are screen shots. Address 2 drops the extension on all the phone numbers when it is present even though they all fit fine on one line when it is not present. Archive 2.zip
  7. So I have a business card where the address and other info all share one box. They display like this: «Address»«Address2_rule» «City», «State» «Zip» «Country» «Gap_rule» «Phone1_Label_Rule» «Phone1_Format_Rule» «Phone2_Label_Rule» «Phone2_Format_Rule» «Phone3_Label_Rule» «Phone3_Format_Rule» «Phone4_Label_Rule» «Phone4_Format_Rule» Email: «Email»@epam.com «Other_Label_Rule»«Other» The text box is set to "Adjust text to fit" The phone lines are set to "Do not break on copyfit" Address2 is not involved in any rules for any Phone label or number. When there is no Address 2, my output displays like this: """ 123 Anystreet Citytown, PA, 12356 USA Main: +1(123) 456-7890 ext.12345 Fax: +1(123) 098-7654 Cell: +1(123) 102-9837 Email: JSnow@company.com """ When there is an Address 2, my output displays like this: """ 123 Anystreet Suite 303 Citytown, PA, 12356 USA Main: +1(123) 456-7890 ext.12345 Fax: +1(123) 098-7654 Cell: +1(123) 102-9837 """ When there is no Address2, but an extra line for Phone4, the extension is still on the same line. I need help understand what is going on here. I cannot comprehend why the extension would drop a line only when address2 is present. This is also causing my email to no longer fit in the text box. Attached is my collected files. 84150_Epam_BC_Mar-11-2014_07-40-39.zip
  8. What kind of file is it? If it is a PDF file, then how the browser handles it depends on the user's settings. Do you know what browser the user is view your site on?
  9. adding the parenthesis and ||[]) did the trick. Thank you.
  10. Ahh sorry. I forgot it cuts off everything you write after and end code block. No it did not work. I am getting an error when there are either no titles or the title(s) can all fit on one line: TypeError: str.match(/\<br\>/g) has no properties) I need to edit the code to be able to continue if there are no properties. Right now that if statement errors out.
  11. I tried var str = Rule("Title Copyfit Rule"); // Titles if (str.match(/\<br\>/g).length == 4) return "<br>" else return ""
  12. I have customers entering up to three titles. Occasionally they add a linebreak tag to have more control on appearances. Currently, there is an email field in a static position, but they want it to shift down a line only if the titles take up 4 lines. I have a rule that outputs the all the titles formatted as one variable, and breaks those lines with a linebreak tag. How can I count the number of instances of "<br>" in the output string?
  13. I just got a Japanese font working in my online storefront. In addition to enabling asian character support with fusion pro, It seems you need to mess with the data file a little. In the field I wanted to use Japanese characters, I put this as my sample data: The advice came from this forum: http://dsfforums.efi.com/showthread.php?177-DSF-Product-Using-Asian-Characters I didn't have to change any settings in my storefront. Once I added that to my data file, when I uploaded the collect files it just worked.
  14. I have a letterhead I need the address info to be on the top right corner, but aligned left, where the end of the furthest right letter of the Address and/or Address2 lines up with the 8" mark. To compensate for this, I have set a rule that calculates how many spaces it needs to use as padding to before each line. (Feel free to point out a better way.) The below code keeps erroring out on line 52: Error: execution limit exceeded. I'm not sure why it wouldn't work. Any ideas? var frameWidth = 2; // set width of the text box (in inches) // Use TextMeasure to get the length of each company name var space = new FusionProTextMeasure; space.pointSize = "8 pt"; // set the type size space.font = "HelveticaNeue Condensed"; // set your typeface space.CalculateTextExtent(" "); space.useTags = false; var spaceWidth = space.textWidth; // Use TextMeasure to get the length of each company name var address1 = new FusionProTextMeasure; address1.pointSize = "8 pt"; // set the type size address1.font = "HelveticaNeue Condensed"; // set your typeface address1.CalculateTextExtent(Field("Address")); address1.useTags = false; var addressWidth = address1.textWidth; // Use TextMeasure to get the length of each company name var address2 = new FusionProTextMeasure; address2.pointSize = "8 pt"; // set the type size address2.font = "HelveticaNeue Condensed"; // set your typeface address2.CalculateTextExtent(Field("Address2")); address2.useTags = false; var address2Width = address2.textWidth; // Use TextMeasure to get the length of each company name var gap = new FusionProTextMeasure; gap.pointSize = "8 pt"; // set the type size gap.font = "HelveticaNeue Condensed"; // set your typeface gap.CalculateTextExtent(" • "); gap.useTags = false; var gapWidth = gap.textWidth; var i=1 var success = false while (success == false) { if (Field("Address2") != "") //if there is an address2 { if((spaceWidth*i) + addressWidth + gapWidth + address2Width >= frameWidth*7200) //if there is an address 2 and the width is greater or equal to frameWidth { success= true; //then stop looking } else i= i+1; // if there is an address 2 and the width is less than frameWidth }; if ((spaceWidth*i) + addressWidth >= frameWidth*7200) //if there is no address 2 and the width is greater than frameWidth { success= true; //then stop looking } else i= i+1; // if there is no address 2 and the width is less than frameWidth #### ERRORS OUT ON THIS LINE #### }; var result = Array(i).join('space'); return result;
×
×
  • Create New...