Jump to content

MeeshKB

Registered Users - Approved
  • Posts

    65
  • Joined

Everything posted by MeeshKB

  1. Maybe I'm missing a complicating factor here, but could you not just do this... case "backCTA.txt".toLowerCase(): return Field("First Name")+ ", Can you believe it's been " + Field("MONTH") + " months already?";
  2. Hi Naval. As Dan has said, it's hard to know exactly what is going wrong without some more details. But if the issue is that DSF won't upload your .zip file (I've run into this issue before), make sure that before you collect your zip you select Define HTML Form --> From Current Data and configure your fields there. This creates the xml file that DSF needs to properly utilize the web form. This is apparently a very common cause of .zip files not uploading. Hope that helps!
  3. Ste, you are the best. Revisiting my ampersand issues a year later, now that we are moving our clients from Avanti eAccess to EFI DSF. The same solution that worked for Thomas also solved my issues perfectly (as one would expect, since it looks like we're both working in DSF). Thank you!
  4. Great question, Randy! As one of those clients of yours who use the phone format rule constantly - and constantly update it - I'm definitely going to make a new copy of the rule with our common formats. Thanks Don, Ste and Dan for the thoughts on how to go about it.
  5. Dan, I don't know if you tire of hearing this or not...but you are freaking genius. Thank you. That was exactly what was happening.
  6. For some reason, one line in my contacts block is being suppressed, even though it has a value. I'm attaching an image of my text frame settings and data preview. It's the Skype line that isn't behaving as I would expect. What very basic thing am I missing here? I'm stumped.
  7. Dan's solution is (as expected) far more eloquent than mine. Glad you got it to work. :-)
  8. Try this... return Field("Disclaimer").replace(/SM/g,'<superscript>'+ "SM" + '</superscript>'); That worked for me.
  9. Thanks, Dan. I'll review this tomorrow and no doubt be back with questions.
  10. Thank you so much for this, Dan. I can definitely see that my approach was...what is the polar opposite of succinct? That. I was definitely "mowing my lawn with tweezers". In my defense, I hadn't yet learned how to use the lawnmower and was afraid of cutting my feet off. Anyway, I sincerely appreciate the guidance. I would like to explore this further even though - and I apologize for this - I learned this morning that my multi-up solution isn't suitable for this application. Because pricing is attached to these jobs on a "per layout" basis, I need a simple form which only includes one layout. That's up and running now. Regardless of that, I do want to understand this approach. Unfortunately, I am unable to work with your PDF. A version compatibility issue, perhaps? Although, I am on 9.1.0. I can open and view the PDF, but my FP menus are greyed out. I can access the Text Editor by double-clicking, but all else is inaccessible.
  11. Sorry - I didn't explain myself particularly well. I forget how many different applications FP has. This is a web form which I am loading to Avanti eAccess. Our client will use the form to choose art and indicate quantities for each double-sided poster. The composed file will look similar to the image in my previous post (except with varying pieces of art and quantities in each category). These items are set up as a bunch of frames on a single body page. The composed file is not final art but rather a "key" which will allow our CSRs to see which art needs to be retrieved and printed, as well as for production to understand which items need to be partnered for laminating back to back. I would like to include a second page in the output which lists all the art files required, and a tally of how many of each we need to print. Based on the collected job I'm attaching, it might look something like this: Antacids and Laxitives - 1 First Aid - 1 Men's Health - 1 Women's Health - 1 Skin Care - 2 Pain & Discomfort - 2 I hope this, along with the collected job, makes some sense. Thanks for whatever insight you can provide. MS-TOPPERDS.zip
  12. This is bit a of a "creative" use of FP (at least it is for me). So please bear with me. I am wondering if there is a way to return a count of the number of instances of a variable within a job. For reference and context, a composed copy of my form is attached. This is essentially what it looks like (except that there are a total of 12 available items - I cropped the image to make it easier to view). It is a form to allow our client to order double sided posters. http://i141.photobucket.com/albums/r42/Turtlegirl203/Public/Professional/MS-TOPPERDS-Output-1_zpsf9207355.jpg Basically, the user will choose artwork for each side, for each "topper" poster. They will also indicate a quantity. This form will not return the print ready artwork - rather, it will create a form suitable for them to review and confirm, and for our customer service reps to create the job. I would like to include, on the second page of the output, a summary of each art file required (resources, in my form) as well as how many total prints of each are require to fulfill the job (ie, how many occurrences of the resource within the job). I know I will need to work in some additional math for the quantities, but I wasn't sure if there is a function to count the occurrences. If anyone is still with me, could you kindly point me in the right direction or divest me of my grand illusions? MS-TOPPERDS-Output.pdf
  13. Brilliant. Thanks so much, Dan. It's working like a charm.
  14. Dan, I'm just trying this for the first time. It seems to be magnifying just the width of the type, not the height. Is this intended, or am I missing a step? Here's my code: function CopyfitLineWithMagnifyTag(line, widthInPoints, AllowToExpand) { var tm = new FusionProTextMeasure; tm.CalculateTextExtent(line); if (tm.messages) ReportError("CopyfitMagnifyLine: " + tm.messages); if (tm.textWidth < widthInPoints*87 && !AllowToExpand) return line; var factor = Round(87 / tm.textWidth * 10000, 0) - 1; return "<magnify type=setwidth factor=" + factor + ">" + line + "</magnify>"; } return CopyfitLineWithMagnifyTag('<f name="Swis721 BT">' + '<z newsize=11>' + Field("Name") + '<z newsize=6>' + ", " + Field("Designation"), 87, false);
  15. Thanks, Dan. I'll get in touch with support to see if they can offer any assistance. I appreciate the direction.
  16. Thanks for that, Dan. My belief that only CS6 was supported was "confirmed" by the notice at the top of this board. So I don't feel quite as badly about being mistaken. I'll be investigating whether we can update to 9.2 for sure. Although I think our server version may restrict us there. I know that was an issue previously. But I sure would like to get away from having more than one version of ID installed. I will now back out and return this thread to its regularly scheduled discussion. Good day, gentlemen.
  17. I have read all the posts I can find here regarding font styles in Fusion Pro and I'm aware that there are limitations when compared to creative suite's handling of type. But I have run into a project which uses 4 different styles of the same font, and I just want to see if there is any way I can get close to those styles. This is an exerpt from my fonts.ini (I've removed the font locations to make it slightly easier to read here): Raleway;Raleway-Bold;Bold;1;0;W;;OpenType PostScript;; Raleway;Raleway-ExtraBold;ExtraBold;0;0;W;;OpenType PostScript;; Raleway;Raleway-ExtraLight;ExtraLight;0;0;W;;OpenType PostScript;; Raleway;Raleway-Heavy;Heavy;0;0;W;;OpenType PostScript;; Raleway;Raleway-Light;Light;0;0;W;;OpenType PostScript;; Raleway;Raleway-Medium;Medium;0;0;W;;OpenType PostScript;; Raleway;Raleway;Regular;0;0;W;;OpenType PostScript;;; Raleway;Raleway-SemiBold;SemiBold;0;0;W;;OpenType PostScript;; Raleway;Raleway-Thin;Thin;0;0;W;;OpenType PostScript;; I need to use Raleway ExtraBold, Raleway SemiBold, Raleway Medium and Raleway Regular. By the info in the fonts.ini, it looks like only bold and regular are available. Is that correct? I just want to make sure I've explored all the options before I tell my client that his fancy font work is a no go.
  18. Adam, It may be your version of InDesign. As far as I know, FusionPro is only supported up to CS6 (which is why I have two versions of InDesign installed on my machine). If this is not the case, I'll be ditching CS6 today!
  19. Thank you for the reply, Dan. I have to admit to using that code (kindly provided by someone on this board for another, more complex project) many times without fully understanding how it works. The last line of the code is greek to me, despite my best efforts to understand it. It has worked for me on countless other occasions, which is why I was stumped when it didn't work this time. The only difference in this case seemed to be the tab markup preceding the alpha character. Regardless, you are right. I am overthinking this one. Since the numbers are all on their own lines, I can simply use the suppress function in the text editor. Thanks once again for your assistance. It's much appreciated.
  20. I am having trouble with a rule for formatting business card contacts. It's not filtering as I would expect. The rule is as follows: var tel = Rule("Change Tel format Rule") var cell = Rule("Change Cell format Rule") var dir = Rule("Change Dir format Rule") var fax = Rule("Change Fax format Rule"); var numbers = ['<color name="c0m0y0k50">' + '<t>' + "t. " + '<z newsize=7>' + '<color name="Black">' + tel, '<z newsize=5>' + '<color name="c0m0y0k50">' + '<t>' + "c. " + '<z newsize=7>' + '<color name="Black">' + cell, '<z newsize=5>' + '<color name="c0m0y0k50">' + '<t>' + "d. " + '<z newsize=7>' + '<color name="Black">' + dir, '<z newsize=5>' + '<color name="c0m0y0k50">' + '<t>' + "f. " + '<z newsize=7>' + '<color name="Black">' + fax,]; return numbers.filter(function(m){return m.match(/.*\s(?=.)/);}).join('<p>'); and is currently returning this: http://i141.photobucket.com/albums/r42/Turtlegirl203/Public/Professional/e4dd43cb-314b-405e-8553-6ba6ce168a70_zpsf24618c1.jpg It isn't filtering the alpha characters for the contacts which don't have numbers. It appears that the tab before the alpha character may be causing the issue, but I need a tab there to right align those characters. Any thoughts on how to get around this?
  21. Thanks so much, Ste. I knew the <superscript> tags would be involved, but wasn't sure of the syntax inside the ReplaceSubstring expression. I really appreciate the direction.
  22. I currently have this rule which replaces the word "LEED" with "LEED®". var s = Rule("Fit Name Degree Designation"); s = ReplaceSubstring(s, "LEED", "LEED<®>"); return s; The one tweak I need to make is to superscript the Registered Trademark symbol. Just not sure of the syntax for doing that within the ReplaceSubstring expression. Could someone please point me in the right direction? Thanks so much!
  23. FusionPro server version 9.1.0.
  24. Thanks, Dan. When I validate the rule in Rule Editor, it includes the semicolon. "Safety Advisor, OH&S;" I will confirm our VDP Producer version on the server as soon as I can get in touch with IT (I don't have direct access to the server). That should be later this morning. eAccess generates xml from the web form. I've attached a sample here, along with a collected copy of the card itself. PAGNBUSCRD01.zip Web Form Data.zip
  25. I have read both of these threads and applied the logic shared there, but I am still having an issue with ampersands. http://forums.pti.com/showthread.php?t=2808&highlight=ampersand http://forums.pti.com/showthread.php?t=1702&highlight=ampersand I am working on a business card. Our client uses the abbreviation "OH&S" frequently in the title field of their card. When rendered, the ampersand and following character both drop. I have done as Dan suggested in the first thread and created a rule using the TaggedDataField function, thusly return TaggedDataField("Title") but I am getting the terminating semicolon that Eric encountered when I preview the data in FP. Even more confounding, when I upload the form to our web-to-print portal (Avanti eAccess), it drops the ampersand and following character regardless of my rule. Any thoughts on how we can overcome this? Even a solution which only addresses the specific text "OH&S" would work, as they would not ever use the ampersand without spaces in any other instance.
×
×
  • Create New...