Jump to content

iprint2

Registered Users - Approved
  • Posts

    32
  • Joined

Everything posted by iprint2

  1. We have our first client requesting SSO service. Unfortunately we have no one our team with experience handling this request. We are looking for additional information on this forum for guidance on how this is implemented and what questions needs to be asked of our client so we can sound "somewhat" informed. We have received the SSO documentation from Marcom support but it is all a little foreign to us.... Thanks for the help!
  2. I am trying to load a font Poppins for a client to run Variable Ask offers. The font loads in InDesign and will not load in FusionPro. I have tried putting the font in my system font folder, loading it in font book and no success. Anyone else have this issue. Thanks
  3. Below is the rule that I am working with if (FormatDate(Field("BIRTH_DATE"),"mm/dd/yyyy") > FormatDate("08/31/1963","mm/dd/yyyy")) { return Resource("Entertainment TL_Sept.jpg"); } else { return Resource("Better with Age Day_new TL_Sept.jpg"); } My problem is that I have the date of 10/08/1942 and it is returning the Entertainment graphic rather than the Better with Age Day and I have a 05/15/1976 that is doing the opposite. Other dates are working fine. Any idea what I am doing wrong?
  4. Text List Libaries Is there a way to create a hard return in a text list in the library (MarcomCentral)? I need this title to break this way in my Library(MarcomCentral). Vice President, Employee Experience/ Human Resources Any suggestions? Thanks Gretchen __________________ iPrint Fusion Pro VDP Creator 9.3.22 Acrobat 11.0.10 and DC Mac OS 10.10
  5. Is there a way to create a hard return in a text list in the library? I need this title to break this way in my Library. Vice President, Employee Experience/ Human Resources Any suggestions? Thanks Gretchen
  6. Hi Dan We have been testing this today and so far it has been great. I want to thank you for your help as it is very much appreciated!
  7. Hi Dan Attached is the FPI. Thanks for the help and let me know if you need anything else. UHC_ICP_2018_English_2018_cntl.zip
  8. Hi Dan We tried it again using your rule and have noticed that when processing records that are each 10 pages (5 duplex sheets printed) in length; The impositionSheetNumber gives us "01" for the first record (all 10 sheets read the same - 01) and then "06" for the next record and "11" for the next.... The impositionTotalSheets gives us a "00" for all records and sheets.
  9. Yes - we did use FusionPro.Composition.impositionSheetNumber and FusionPro.Composition.impositionTotalSheets but it was generating no results. We are thinking this may be due to there is no imposition? So we did attach an imposition and the TotalSheets became a "1" for all pages and no result for SheetNumber. Any ideas??
  10. Thanks Dan, this is helping. We are making progress. This is what we currently have working. However, the currentPageNumber is not working how we would like. We need the code to do sheet count and not page count - for example; Pages 1-2 = 1 Pages 3-4 = 2 Pages 4-5 = 3 etc... Current programming: var dataforbarcode = FormatNumber("00", FusionPro.Composition.currentPageNumber) + FormatNumber("00", FusionPro.Composition.totalPages/2) + "00000" + Field('SEQUENCE'); var dmbarcodeobj = new DataMatrixBarcode; dmbarcodeobj.encodingmode = "C40"; dmbarcodeobj.pointSize = 6; return dmbarcodeobj.Make(dataforbarcode);
  11. I am in need of generating a 2D barcode using 15 digits. 01 – Digit 1 and 2 – these are the sheet count of the current sheet for the record 04 – Digits 3 and 4 – this is the total sheet count for the record Digits 5-9- we won’t use for now so they all need to be “0” (6 and 7 are the ones we can program to tell it if a certain record gets an additional insert) Digits 10-15 we can use for the 6 digit Sequence Code Example 030500000025066 This is sheet 3 of a 4 sheet set with Seq number of 025066 Can someone help with setting up code for this?
  12. This is what I need it to look like. It’s my pleasure to provide you with the enclosed annual endowment report(s) for the <Designation 1>. It’s my pleasure to provide you with the enclosed annual endowment report(s) for the <Designation 1> and the <Designation 2>. It’s my pleasure to provide you with the enclosed annual endowment report(s) for the <Designation 1>, <Designation 2> and the <Designation 3>. It’s my pleasure to provide you with the enclosed annual endowment report(s) for the <Designation 1>, <Designation 2>, <Designation 3> and the <Designation 4>. This is what I have but it is not returning like the above. if (Field("Designation 1") != "") { return "<span>" + TaggedDataField("Designation 1") + RawText(" and the ") + TaggedDataField("Designation 2") + RawText(".") + "</span>"; } if (Field("Designation 1") && Field("Designation 2") && Field("Designation 3") != "") { return "<span>" + TaggedDataField("Designation 1") + RawText(", ") + TaggedDataField("Designation 2 ") + RawText("and the") + TaggedDataField("Designation 3") + RawText(".") + "</span>"; } if (Field("Designation 1") && Field("Designation 2") && Field("Designation 3") && Field("Designation 4") != "") { return "<span>" + TaggedDataField("Designation 1") + RawText(", ") + TaggedDataField("Designation 2") + RawText(", ") + TaggedDataField("Designation 3") + RawText(" and the ") + TaggedDataField("Designation 4") + RawText(".") + "</span>"; } else { return "<span>" + TaggedDataField("Designation 1") + RawText(".") + "</span>"; }
  13. I am needing to use a 2D barcode. My problem is that in the first line of code the “02” I need to be the page count with a zero before it. This page count is variable per record. Any idea how to make that happen. I tried to put the page count rule in there, but it didn’t seem to work. var dataforbarcode = “02" + Field('SEQUENCE'); var dmbarcodeobj = new DataMatrixBarcode; dmbarcodeobj.encodingmode = "C40"; dmbarcodeobj.pointSize = 4; return dmbarcodeobj.Make(dataforbarcode);
  14. I need to have a minimum of 5 numbers in a field if 5 are not entered I need it to automatically fill with leading zeros. How can I make this happen. I was trying to use this to create an error alert, but it is not working either. <script type="text/javascript"> //This needs to match the <input id= of the field that the url is entered in. var EmployeeNumber = "EmployeeNumber"; document.getElementById(EmployeeNumber).onblur = alert_box;EmployeeNumber function alert_box() { var EmployeeNumber= /^\(?([0-9]{5})\)$/; if(!this.value.match(EmployeeNumber)) { alert("This is not a valid number.Must be 5 digits. Use leading zeros if necessary. Example: 00001”); this.value = ""; } } </script>
  15. I have a document that I need to include a 2D barcode on for collating. Each record will have a different page count. The barcode needs to reflect the number of pages being output. Has anyone done anything similar? If so how can I make this happen
  16. Lisa - thank you very much for this and for taking the time - enjoy your weekend J
  17. Hi Lisa Would you mind posting what your final code looks like? We have a job that this would work perfectly for proofing their multiple data records. Thank you! Jason
  18. I need to create a 2d bar code. The only info that I have is that it needs to be binary coding for a Pitney Bowes realy 6000 inserter. The code needs to go in the same place on a survey and letter.
  19. Ah i see how that works. Have you ever considered, teaching java? You seem to have a Damn good handle on it, and both times you've helped you've also explained how its working in an understandable way. Not something i see a lot dealing with coding stuff. I bet you could make some money on a site like udemy. I know id take that course. Anyway, thanks a ton for the help again!
  20. This would assume that there is a field in my Xcel file for "ps" though right? Is there a good way to get it to populate that graphic frame without having it in the excel list?
  21. Man sorry i didnt even consider the Graphics, The whole job should be attached now, at least everything needed for this. Also a pdf of what im able to get, and what i want to get. what i would need is the second option. PDF before the blanks start (PDF, blank, blank, blank, etc) I have one pdf (closing letter_ps.pdf in the attached zip folder.) that will need to be placed before the template outputs blanks to the remaining graphic frames. var field = eval(frameName); return (field) ? Resource(pdfMap[field]) : [color=Red]Resource("Closing Letter_PS")[/color]; If I make the change in red to the code i already posted, i get the pdf i attaced "this is what im getting" What i would like is for the the closing letter ps, to go in, and then have the rest be blank. Im not sure if this is any clearer, let me know if you have more questions. Thanks Htel Test.zip Should look like this.pdf This is what im getting.pdf
  22. Hey Everyone, I have an image rule I've been using for about a year that works great. Now i need to adjust it so that it does something slightly different. Basically this is what ive got now var frameName = FusionPro.Composition.CurrentFlow.name; var [p1,p2,p3,p4,p5,p6,p7,p8,p9,p10,p11,p12,p13,p14,p15,p16,p17,p18] = [Field("P1"),Field("P2"),Field("P3"),Field("P4"),Field("P5"),Field("P6"),Field("P7"),Field("P8"), Field("P9"),Field("P10"),Field("P11"),Field("P12"),Field("P13"),Field("P14"),Field("P15"),Field("P16"),Field("P17"),Field("PROTOCOL")].filter(String); var pdfMap = { "1": "Heart disease1.pdf", "2": "Heart failure2.pdf", "3": "Breathing3.pdf", "4": "Kidney4.pdf", "5": "Diabetes5.pdf", "6": "Depression6.pdf", "7": "7_Other Health Conditions.pdf", "8": "8_No Health Conditions Listed.pdf", "9": "************9.pdf", "10": "Multiple medications10.pdf", "11": "Falls11.pdf", "12": "Cane12.pdf", "13": "Caregiver13.pdf", "14": "Calling14.pdf", "15": "Overnight15.pdf", "16": "Memory loss16.pdf", "17": "17_Confidence in Filling Out Med Forms.pdf", "201": "Closing letter18.pdf", "701": "Closing letter18.pdf", "702": "Closing letter18.pdf", "703": "Closing letter18.pdf", } var field = eval(frameName); return (field) ? Resource(pdfMap[field]) : NullResource(); What is does is add a bunch of graphics, and then when there isnt anymore "active" fields, it returns a blank. What i need now it that is does the same thing, but i need it to add a particular pdf before the blank, for every record. Ive included a zip with the test file im working with. Any thoughts Jason Htel Test.zip
  23. Step, Thank you so much for your help with this. So far it is working perfectly! Is there somewhere i can give you props for being super awesome and helpful?
  24. If you've imported all of your PDFs as resources your return line needs to look like this: return (field) ? Resource(pdfMap[field]) : NullResource(); If you want to add the resources on the fly: return (field) ? CreateResource(pdfMap[field], 'graphic') : NullResource(); Ok, So i uploaded a new batch of files in case anyone else wants to try. Also I tried changing the return line to Resource, i also tried to just insert the resource using the building block tool only did it for resource 1). Im still just getting a return value of Resource("<None>") when i validate it. So im guessing its missing something that needs to stop it from getting to nullresource. This is what i have now var frame = FusionPro.Composition.CurrentFlow.name; var [f1,f2,f3] = [Field("P1"),Field("P2"),Field("P3"),Field("PROTOCOL")].filter(String); var pdfMap = { "1": Resource("Heart disease1.pdf"), "2": "Heart failure2.pdf", "3": "Breathing3.pdf", "4": "Kidney4.pdf", "704":"Closing letter15.pdf", "712": "ClosingLetter16" } var field = eval(frame); return (field) ? Resource(pdfMap[frame]) : NullResource(); healthtel java code.zip
×
×
  • Create New...