Jump to content

tou

Registered Users - Approved
  • Posts

    112
  • Joined

Everything posted by tou

  1. I never understood the red part below and will need to read up on it some more...is it an array of characters "." ","? return Field('Your Field').replace(/[\.,]/g,'€'); Sorry and thanks in advance for the explanation.
  2. I've modified the following and seems to work.....looks like nesting the filename values into the OpenNewOutputFile() function within OnRecordStart must have a lapsed error or system variable for the file part number not transferring right away..... OnRecordStart: if (FieldChanged("Order_Number")) { FusionPro.Composition.StartNewStack() FusionPro.Composition.OpenNewOutputFile() } OnNewOutputFile: FusionPro.Composition.OpenNewOutputFile(Field("Product_Desc") + "_" + Field("Order_Number") + "_" + FormatNumber("0000", FusionPro.Composition.currentOutputFileNumber) +"."+ FusionPro.Composition.outputFormatExtension); I've tested the above with both checking and not checking the "output to multiple files" and was successful. It was still able to split correctly if I have a quantity less than the split amount (for example, split amount is 100, but only 25 exist in some of these chunks - the OnRecordStart rule that has FieldChange() will honor to the next chunk of 100 records if it has it). I think we're good now. Just had to poke around with it. Thanks!
  3. I current working on splitting a file out in OnRecordStart callback rule and was wondering why the FusionPro.Composition.currentOutputFileNumber value doesn't actually jump correctly the first time up. In output settings, I'm processing the entire range. I've set the following in OnJobStart: .........codeStart............ FusionPro.Composition.chunksBreakStacks = true; .........codeEnd............ I've set the following in OnRecordStart: .........codeStart............ if (FieldChanged("Order_Number")) { FusionPro.Composition.StartNewStack() FusionPro.Composition.OpenNewOutputFile(Field("Product_Desc") + "_" + Field("Order_Number") + "_" + FormatNumber("0000", FusionPro.Composition.currentOutputFileNumber) + "."+ FusionPro.Composition.outputFormatExtension); } .........codeEnd............ Attached is a snapshot of my PDF files....note the **0001.pdf in the first two filenames. I'm sorry in advance if this issue has been resolved in other posts. Thanks in advance.
  4. create a rule (YOUR RULE NAME) and use the following code. If you sequence number is 10,000 it'll set it to 10,000 due to 0 remainder...... var setA = 10000 var a = FusionPro.Composition.inputRecordNumber%setA if (a==0) a = setA return a
  5. order of operation says that the bottom pieces are overlapping the top? so it honors the gutter closure but doesn't crop the images there? interesting...maybe do the n-up in inDesign? what you can do is use a white box to cover the top of the artwork to the crop marks and see if that will solve the issue.
  6. this should work....create a name rule, then insert into text editor...(hopefully all firstname fields are populated) if (trim(field("yourLastNameField"))=="") return "" else return field("yourFirstNameField")+" "+field("yourLastNameField")
  7. I saw this somewhere the other day.....it's a Window's feature and not an OS X feature. I believe you hold CONTROL key and scroll up to increase and scroll down to decrease the view in text editor.
  8. You can setup both scenario naming the pages "Inova 1" and "Inova 2" respectively. In OnRecordStart rule, set page usage accordingly. Scripting can be done as follows: if (2 LINE CRITERIA IS TRUE) { FusionPro.Composition.SetBodyPageUsage("Inova 2", true); FusionPro.Composition.SetBodyPageUsage("Inova 1", false); } else { FusionPro.Composition.SetBodyPageUsage("Inova 1", true); FusionPro.Composition.SetBodyPageUsage("Inova 2", false); I'm sure there are better ways of doing it....
  9. create two text frames: 1. variable coupon # text frame 2. static text frame layer static text frame above variable text frame should do the trick? using pitstop you can delete the static strings. attached is the modified PDF, but don't have futura matching font - sorry. sample.pdf
  10. Glad you got it to work.
  11. I tested the following and it works, but not dynamic like step's... var string1 = "Something" var string2 = "" //var string2 = "Something2" var string3 = "" //var string3 = "Something3" var token = 0 if (Trim(string1)!="") { token = token+1 } if (Trim(string2)!="") { token = token+1 } if (Trim(string3)!="") { token = token+1 } var parser1 = "" var parser2 = "" if (token==2) { parser1 = " and " parser2 = "" } if (token==3) { parser1 = ", " parser2 = " and " } return string1+parser1+string2+parser2+string3
  12. I was thinking when all three variables was empty...sorry. I did update my post with a javascript that I think will work. I'm sure there's other ways of doing it. Good luck!
  13. without too much programming....you can try the following in the text editor...but it looks like it's a little more complicated than that.... something like this would work..... var token = 0 var parser1 = "" var parser2 = "" if (Len(Trim(Field("Video_Level")))>0) { token = token+1 } if (Len(Trim(Field("Data_Level")))>0) { token = token+1 } if (Len(Trim(Field("Phone_Level")))>0) { token = token+1 } if (token=2) { parser1 = " and " } if (token=3) { parser1 = ", " parser2 = " and " } return Field("Video_Level)+parser1+Field("Data_Level")+parser2+field("Movie_Level")
  14. I don't know if it will work, but you can try a replacing the string with the following: var a = Field("YOURFIELD") a = a.replace("®","<superscript>®</superscript>") ** make sure you have "treat return string as tagged text" It appears that font plays a role too...so maybe you can switch the font? Calibri has a very nice default height...
  15. select FP arrow, though......sometimes when toggling back in forth, that part sets back to acrobat's pointer and will not select/copy.....
  16. I think the drop down options works great in GUI paragraph settings. It's dependent the the variables instead of the lines.
  17. Maybe index unique outside of FusionPro creating a proof data set, then feeding that into FusionPro. In excel there's a de-dupe option on data tab, so if there's a field indicating the version, select just the version field and de-dupe will return you one of each version - remember to save it as a new filename and not overwrite the original.
  18. We have BCC, which can use a function called "nearestLocation" comparing recipient's address to a listing of address (healthcare in your case), and can return x number (you specify) of nearest locations in distance. I'm not familiar with Satori, but I assume they might have a similar tool/process to achieve it. I'm sorry I couldn't be of an assistance on this. Thanks.
  19. draco66, what do you use for mailing software?
  20. This probably is discussed somewhere already, but I thought I should ask anyways. Is there a way to have a leading zero for file naming convention. for example if I have 20 files: output-01.pdf output-02.pdf output-03.pdf ... ... ... output-19.pdf output-20.pdf Just wondering.
  21. got it!......acrobat was not installed on the new server...so we will have to install acrobat/distiller on new server and it should do the trick. old server never had access to resource directories......so when we did give it access it worked. time to go watch some Simpsons now.
  22. I just don't get it why it works for PDF output and not postscript output. But I will see if the settings you mentioned are set. Thanks!
  23. Top few lines of PS file creation *postscript.txt* file... I'm at a lost. Must be a postscript deal. Thanks for all your help. Bundle-Output - pdf.txt Bundle-Output - postscript.txt
  24. Now, I'm not getting the same results with Postscript files. Looks like it's not creating resource, after it writes out a new filename (I have make multiple output files checked and set to 20 records in output tab) PDF wise it's okay. What went wrong there?
×
×
  • Create New...