Jump to content

StacyZ

Registered Users - Approved
  • Posts

    23
  • Joined

Everything posted by StacyZ

  1. I have one text fame and one graphic frame in the same area on my page. I need the text from the data in the text frame to be suppressed if an image is available to populate the graphic frame. What is the best way to go about that? I've been able suppress the text frame if the graphic frame is empty, but not when it is populated. Thank you
  2. Does anyone have any experience using FusionPro to set up German Premium Address postal barcodes? I've tried several things to get it to work but I never find the options I need to produce the barcode. It needs to be a 26x26 datamatrix. The barcode type can be identified as a module with the characteristics "DHLPA", "DPAGPA", "IP22", "IP26", "IPMC22 / 26", or "ECC200 / 26". Every time I try to set it up with the normal FusionPro datamatrix, it divides into 4 mirrored parts. Any information is helpful. Thank you.
  3. Hi Dan, We've sent emails to FusionProSupport@marcom.com and FusionProSupport@PTI.com (just in case), along with CC'ing Alex, John and Laurel (I won't post their email addresses). Alex sent me an email regarding this post and I responded but I haven't heard back from him.
  4. Hi, We've been trying to reach FusionPro support (included in our bundle) since last week. We've sent several emails with no response. Are you still offering support through email? Thank you, Stacy Zech National Pen Co.
  5. Just in case anyone else has this problem and is looking for answers. It turns out that this simple rule worked instead: var r = new FusionProResource(Field("IMP6"), "graphic", true); r.name = (Field("IMP6")); r.pagenumber = CurrentRecordNumber() if (r.exists) { return r; } else { return NullResource(); }
  6. I was able to get the PDF to show in the correct place and on the correct page but it won't show anything other than the first page of the resource pdf for every record in the output file.
  7. Hi Alex, I tried that but it didn't work. The output is the same with only the first address showing on what should be the overflow page, not the envelope front (page 1). Thank you
  8. Hello, I'm trying to set up a new German envelope and running into difficulty getting the multi-page resource to work correctly. Background info: Deutsche Post (German Post) is requiring that we use the Premium Address barcode on all of the envelopes we send with our direct mail. We have to use their software to produce that barcode, which is unique for every customer. Once we load our data into the DP software and run the file, it produces all of the addresses from our data with their corresponding barcodes on a single PDF file with each record on one page. I downloaded the sample file from this thread on inserting a Multi-page pdf as variable graphic: http://forums.pti.com/showthread.php?t=37 I then made some adjustments to match with my data and got the following rule, which isn't working: FieldName = 'IMP6'; PDFfileName = 'DialogLabels.pdf'; pagesInPDF = 66726; markupToReturn = Resource('DialogLabels.pdf'); pathToAllPDFs = 'C:\Users\Stacy.Zech\Desktop\PUSH\=Projects\PremAdd_Labels\TestEnvelope(DE-F001)\Links'; pathToPDF = 'C:\Users\Stacy.Zech\Desktop\PUSH\=Projects\PremAdd_Labels\TestEnvelope(DE-F001)\Links'; PDFresourceRef = 'DialogLabels.pdf'; Print(pathToAllPDFs); FieldsToInspect = 61; for (fieldCounter = 1; fieldCounter <= FieldsToInspect; fieldCounter++) { FieldName = 'SEQNO'; PDFfileName = Field('IMP6'); pathToPDF = pathToAllPDFs + PDFfileName; PDFresourceRef = CreateResource(pathToPDF ,'DialogLabels.pdf' ,'no'); pagesInPDF = PDFresourceRef.countPages; for (pageLoop = 1; pageLoop <= pagesInPDF; pageLoop++) { markupToReturn += '<graphic file="' + PDFresourceRef.name + '" pagenumber = "' + pageLoop + '" position="afterline"/>'; markupToReturn += '<P>'; } } return markupToReturn; What I am getting when I compose is the first page from the resource PDF showing on the 2nd page, which should be an overflow page. Any help on this would be greatly appreciated. Thank you
  9. Hi Brad, That worked! I had received some paperwork from Europe that indicated that the Encoding should be set to ASCII. Apparently that was wrong. The barcode scans correctly and has the right shape. Thank you so much!
  10. Hello, I'm having trouble getting a data matrix to show as a rectangular barcode (required by Poste Italiane). I've changed the format but it still views as a square barcode. My current rule: var FieldOrRuleToEncode = "IBARCODE"; var EncodingMode = "ASCII"; var PreferredFormat = "29"; var PointSize = StringToNumber("6 pt"); var NoFontTag = false; var Font = "IDAutomationDMatrix"; var ProcessTilde = false; var DataToEncode = FieldOrRule(FieldOrRuleToEncode); return MakeDataMatrixBarcode(DataToEncode, ProcessTilde, EncodingMode, PreferredFormat, PointSize, NoFontTag, Font); Are rectangular data matrix barcodes possible in FusionPro? Thank you
  11. Hi Dan, I had to adjust it a bit due to the size of the barcode, but that worked perfectly. Thank you! Appreciate it.
  12. I'm not sure that template will work for this. I've altered every variable to match and created a list of rules to have the URL info come in as well. It placed a QR Code that went nowhere. The scan read "Metadata"
  13. My company has previously used FusionPro to set up QR Barcodes on mailers that returned just a URL address, which was not a problem. We now have a situation where our marketing dept wants the QR Code to go to a customer specific page online and also deliver to them analytical results. This forces us to incorporate several fields in the data file and add code that the data team in IT sent to add to our rule. I have the code that IT sent over (what is supposed to be returned) but I'm unsure how to set it up in the Rule Editor to get it to function correctly in FP. IT Code: &pocKeyCode=[KEYCODE]&pocSource=list&referNum=[PCTNUMBER]&utm_source=mailing&utm_medium=prospect&utm_campaign=[POC"]https://www.orderpens.com/mypens.jsp?aNum=[CUSTNUMBER]&pocKeyCode=[KEYCODE]&pocSource=list&referNum=[PCTNUMBER]&utm_source=mailing&utm_medium=prospect&utm_campaign=[POC CODE]&utm_content=[MAIL NUMBER]&utm_term=QR&QR=Y The bracketed text is variable information from the data. Thank you
  14. I had originally posted this in the barcode section. Hello, I'm having an issue dealing with a QR Code where there are ampersands in the destination URL. I'll paste the code I have below but please note that the first part of the URL will be changed here due to security. That isn't the area I'm having trouble with however, the problem is with the last section that reads ("&DMC-DIRECTMAIL&mid=H3W&version=A") QR Code Rule: var dataforbarcode = ("http://order.com/H3W/Main-A.asp?No=" + encodeURIComponent (Left(Field("CODE"), 8) + ("&DMC-DIRECTMAIL&mid=H3W&version=A"))); var dmbarcodeobj = new QRBarcode; dmbarcodeobj.encodingmode = (Left(Field("CODE"), 8)); dmbarcodeobj.pointSize = 3.5; return dmbarcodeobj.Make(dataforbarcode); This code returns the correct page without the customer information. I need to get the customer information to show. Thank you
  15. Hi, We recently ran a large job with multiple pages and jobs using a combined data file. So, we had all of the data for jobs A, B, C & E in one data file and the different records were not separated in any way other than four character in the "Code" field. One of the jobs had an error (Job "E") and needs to be rerun. Is there any way to recompose just the records within that one job and exclude the others based on that one field in the data? It's the difference between rerunning 30,000 pages and 90,000. Thank you
  16. Hi, I'm trying to set up a rule for a two-language (double-sided) marketing letter, and I'm running into difficulty setting up the salutation. One side of the letter is in German and the other is in French. My data is in German but I need to remove the German words from the Name field for the salutation on the French side of the letter. Also, some of the records have a generic salutation and others are personalized with the customer's name. Below is the rule I have so far: if (Field("SALUT") == "Sehr geehrte Damen und Herren") { return "<span>" + RawText("Chère Madame cher Monsieur") + "</span>"; } if (Field("SALUT").indexOf("Frau") > -1) { return "<span>" + RawText("Chère") + RawText(" ") + (Field("NAME") + "</span>"); } if (Field("SALUT").indexOf("Herr") > -1) { return "<span>" + RawText("Cher") + RawText(" ") + (Field("NAME") + "</span>"); } else { return "<span>" + RawText("Chère Madame cher Monsieur") + "</span>"; } return ""; The first part of the rule addresses the generic records, "Sehr geehrte Damen und Herren" being the generic German salutation and "Chère Madame cher Monsieur" being the generic French salutation. The 2nd and 3rd if statements address whether to use the feminine or masculine version of the French salutation. "Chère" being the feminine and "Cher" being the masculine. All is working fine until we get to the part where we add the Name field. All of the names are listed the way we address German customers. Examples: "Frau Alexandra Roth" (feminine) "Herrn Roger Brand" (masculine) The customer's names are actually Alexandra Roth and Roger Brand. I need to remove the "Frau" and the "Herrn" from the returned text. The end result needs to be "Chère Alexandra Roth" and "Cher Roger Brand" instead of "Chère Frau Alexandra Roth" and "Cher Herrn Roger Brand." Any help would be greatly appreciated. Thank you
  17. Thank you, step! Adding the first 4 characters on the left worked perfectly. And it makes sense. The first 4 characters are always the job number and that's the way I named the pages in the template. I really appreciate all of the help.
  18. Thank you everyone for your help. I've tried several suggestions from this post and I think using a multipage template with the OnRecordStart code: ...is the most efficient option for what our company does. There are simply too many possible outcomes with all the various text frames in our combined data packages that trying to manage the locations through the other code could become messy over time. And to clarify, I was using the "OnRecordStart" rule as my "Callback" rule. Sorry to leave out that specific detail. I do have one more problem that I'm running into using the multipage template, however. The field in the data that I need to use to pull in each page isn't (nor can it be) an exact match for the page in the template. The field I'm using is called "CODE." The code contains a job number and a record specific code number, all combined into one number. (Example: "GY3A99"..."GY3A" being the job number and "99" being the specific code number) The job number is what I want to use to pull in the correct page of the template. How could I adjust my OnRecordStart code to do this? I tried applying ".indexOf" to the code but that didn't work.
  19. Hi, I'm wondering if somebody can help with an issue we've encountered suppressing text frames. Recently, we had a job using 4 different postcards (all 2-sided) using the same data file. We did this for the presorted postal rates. We needed to keep all of the records in sequential order despite the fact that they use different artwork backgrounds. I saved PDFs of the art and pulled them in using a field in the data to get the proper background per record, no problem there. The problem I had was suppressing text frames that needed to suppress when they weren't needed per the art. For example, Background A has 4 text frames at 345º, Background B has 3 text frames at 0º, Background C has 3 text frames at 0º(different locations than BG B), and Background D has 6 text frames at 90º. All of the text frames are in different locations from postcard to postcard. Each text frame has a unique name. I tried to apply a Callback Rule but that didn’t work with more than 2 backgrounds. Is there a way to suppress multiple text frames under three or more circumstances? This is a big issue at my company because we are trying to convert from an old PReS system to 100% FusionPro. Given the amount of direct mail we produce, we need to solve this issue in order to move forward in that conversion. Any help is appreciated. Thank you.
×
×
  • Create New...