Jump to content

AFitz

Registered Users - Approved
  • Posts

    8
  • Joined

Converted

  • Location
    Rock Island, IL

Converted

  • FusionPro Products
    Yes

Converted

  • FusionPro VDP software version
    12.1.2

Converted

  • OS
    Windows 10

Converted

  • Acrobat Version
    Acrobat DC

AFitz's Achievements

Rookie

Rookie (2/14)

  • First Post Rare
  • Week One Done
  • One Month Later
  • One Year In
  • Conversation Starter Rare

Recent Badges

10

Reputation

  1. One step further... if a fillable PDF has properties set to calculate the fields entered, should the "Preserve Annotations" save those settings too? See the attached PDF "2156-C Output8.pdf" after composition. The fillable fields are on page 2 and they are still fillable. However, the fields do not calculate like they are in the PDF I started with, "2156-C Original.pdf". The tab order also changed after composing. Thanks!!2156-C Original.pdf 2156-C Output8.pdf
  2. Awesome!! That worked! Thank you so much! This is going to make a lot of people very happy...
  3. Thanks, Jon! And sorry for the delayed response, I didn't get notified that you responded. Unfortunately, that still only resulted in the label page being previewed within the Marcom Admin tool. See revised collect attached. Did I miss something else? Amber Booklet with Label_Preview and Print.zip
  4. I'm hoping you can help me! I have a project where I need to be able to print a label with variable information to be adhered to a booklet we have in inventory. My end users will be ordering this "label" through our MarcomCentral store-front, but I want them to be able to preview the entire booklet at the time the variable label is composed, and then only send the label page to the printer. So, attached is the collect file. I want the preview to display pages 1-21 and to send page 22 to the printer. (I renamed pages 21 and 22 to "Rep" and "RepLabel" in the collect.) Here's my OnRecordStart rule that I've landed on (I've tried many variations trying to get this to work): onlinePreviewVal = FusionPro.Composition.JobOptions.IsOnlinePreview; if (onlinePreviewVal=="Yes") { FusionPro.Composition.SetBodyPageUsage("1", true); FusionPro.Composition.SetBodyPageUsage("2", true); FusionPro.Composition.SetBodyPageUsage("3", true); FusionPro.Composition.SetBodyPageUsage("4", true); FusionPro.Composition.SetBodyPageUsage("5", true); FusionPro.Composition.SetBodyPageUsage("6", true); FusionPro.Composition.SetBodyPageUsage("7", true); FusionPro.Composition.SetBodyPageUsage("8", true); FusionPro.Composition.SetBodyPageUsage("9", true); FusionPro.Composition.SetBodyPageUsage("10", true); FusionPro.Composition.SetBodyPageUsage("11", true); FusionPro.Composition.SetBodyPageUsage("12", true); FusionPro.Composition.SetBodyPageUsage("13", true); FusionPro.Composition.SetBodyPageUsage("14", true); FusionPro.Composition.SetBodyPageUsage("15", true); FusionPro.Composition.SetBodyPageUsage("16", true); FusionPro.Composition.SetBodyPageUsage("17", true); FusionPro.Composition.SetBodyPageUsage("18", true); FusionPro.Composition.SetBodyPageUsage("19", true); FusionPro.Composition.SetBodyPageUsage("20", true); FusionPro.Composition.SetBodyPageUsage("Rep", true); } else { FusionPro.Composition.SetBodyPageUsage("RepLabel", true); } This still isn't resulting in what I want though. Can you help me? FusionPro Version: VDP Producer 12.1.2 Rep Booklet with Label.zip
  5. Thank you for the response! Yes, it is a complex product and hard to explain without showing, but your explanation made sense to me. I thought I had tried the "Do not break on copyfit" in one of my attempts and it didn't work, but now I took out the rule and applied the checkbox to just that text and it worked. Oh well... I was reading it as "Do not break OnCopyFit" like the rule, but I see now it says "Do not break on (space) copyfit" - totally different meaning! I'll come back to this post if I find the scenario where I felt that option wasn't working. Thank you for your time!!
  6. I actually fixed this by making the base font size of the AgentInfo 12pt (the largest point size I'd except) int the text editor window, and deselected the "Expand to fill" checkbox in the Overflow option. And, for the company name to fit on one line, I created a new CopyfitLine Text rule, from one I found somewhere on this forum. Then inserted this rule in the text frame's text editor with the other fields and rules for that text frame. var lineText = "CompanyName"; var initialFont = "Myriad Pro Cond"; var initialPointSize = 12; if (FusionPro.inValidation) return lineText; var content = '<f name="' + initialFont + '"><z newsize="' + initialPointSize + '">' + lineText; var frameWidth = FusionPro.Composition.CurrentFlow.GetFrame().GetSettableTextWidth(); return CopyfitLineWithMagnifyTag(content, frameWidth); function CopyfitLineWithMagnifyTag(line, width, AllowToExpand) { var tm = new FusionProTextMeasure; tm.CalculateTextExtent(line); if (tm.messages) ReportError("CopyfitMagnifyLine: " + tm.messages); if (tm.textWidth < width && !AllowToExpand) return line; var factor = Round(width / tm.textWidth * 100, 0) - 1; return "<magnify type=text factor=" + factor + ">" + line + "</magnify>"; } If you would have done anything different, please let me know. I could definitely see me needing to manipulate some Copyfit rules in some of my upcoming products.
  7. I've found some threads about handling different situations with OnCopyFit rules (controlling font size, keeping on one line, etc.); however, I'm looking to incorporate a couple of these exceptions into my rule. I have a resizable ad with several variable frames. While my Headline frame can expand to fill up to 36 point size, I don't want the AgentInfo frame (aka Contact Information) to exceed 12 pt. But, I need the actual AgentInfo frame to be large enough to accommodate multiple fields, while some users may only use a few fields. I also want to keep the text that is intended to be on one line, to be on just one line. For example, the company name is the first line (actually typed into the text frame, not pulling from a rule or field), and I want the whole company name to be on one line and not wrap. What do I need to add to the OnCopyFit rule to do this? Below is my current rule: if (!Copyfit(new MagnifyAttributes("text", 25, 200, 8, 36))) ReportWarning("Could not copyfit text in flow " + FusionPro.Composition.CurrentFlow.name); Please and thank you!!!
×
×
  • Create New...