Jump to content

Printing Partners

Registered Users - Approved
  • Posts

    61
  • Joined

Everything posted by Printing Partners

  1. Dan, Will this also allow me to crop a page? If I had an 8.5 x 11 page and wanted to crop it (not scale it) to 5.5 x 10. Can I do that?
  2. Okay, this has me a bit stumped. Anyone else ever have this problem? I have a copyfit rule in FusionPro, I am trying to copyfit a job title. The title has a "Pipe" character and space that leads it off, then the actual title. So it would look like: | Chief Cook and Bottle washer I don't want the pipe and space to copyfit. BUT the Pipe and space use the font Lato Bold, the title uses Lato Regular. If I leave the whole line in Lato Regular the rule works fine. If I change the font in the rule to Bold for the pipe, it fails. I have done this before with another rule and font without problems. Below is my code. does anyone see if I have made a mistake, or do you think it is just a font problem? Suggestions? if (Field("Title2") != "") return CopyfitLine('<span font="Lato Bold" pointsize="11.5">' + Field("Pipe3") + '</span>', Field("Title2"), "Lato Regular", 9, 152, 4, true); else return "";
  3. Guys this sounds odd, so sorry. But We have a Fusion Pro Template that gets re-used a lot. It was set up with a bunch of resources. 95% of the resources get deleted each time the template is used (which ones get deleted changes each time). But on the Mac and PC, you can only select one Resource at a time and delete it. Does anyone know if you can delete multiple resources at once? "Shift + Click" will not work for us on Mac or PC.
  4. Has anyone attempted to change the page size based on an input field and rule? Looking to create a template for a perfect bound book cover. I was thinking, if I have the User enter the number of pages, then I can calculate the spine and add it to the cover spread width dimension. I am doing this with Fusion Pro and MarcomCentral. In theory this is possible. Any better ideas?
  5. I have had this problem as well. Save the Excel file as an XLSX file, then try it again. I have found that an Excel file back saved in an older XLS format causes this error.
  6. I see where you can assign a color to text using a predetermined color from the Color List, and how you can assign a text color using hex values. But can you do it using CMYK values? I have Profile Attributes that are CMYK values that I use for coloring text boxes via an OnStart script. I would like to be able to use those same values to color text. Is it possible? Or do I need to convert the CMYK values to their hex equivalents and then apply them?
  7. Figured it out. I was over thinking my code. if (Field("InductionDate") != "") { var str = Field("InductionDate"); var arr = str.split(/[- ]+/); var day = arr[0]; var month = arr[1]; var year = arr[2]; if (month.length <= 4) { var editmonth = month.replace(/Jan/g,"January") .replace(/Feb/g,"February") .replace(/Mar/g,"March") .replace(/Apr/g,"April") .replace(/May/g,"May") .replace(/Jun/g,"June") .replace(/Jul/g,"July") .replace(/Julyy/g,"July") .replace(/Aug/g,"August") .replace(/Sept/g,"September") .replace(/Oct/g,"October") .replace(/Nov/g,"November") .replace(/Dec/g,"December"); } else { editmonth = month; } if (year.length == 4) { var edityear = year; } else { edityear = "20" + year; } return day + " " + editmonth + " " + edityear; } else { return "error"; }
  8. Okay, I have been looking at this too long and it isn't making sense anymore. Below is my code, it breaks down where I try to assign the new value. I am re-formatting a date submitted via a spreadsheet. so their date of "10-Aug-16" or "16 August 2016" or "16-August-2016" returns as "16 August 2016". if (Field("InductionDate") != "") { var str = Field("InductionDate"); var arr = str.split(/[- ]+/); var day = arr[0]; var month = arr[1]; var year = arr[2]; if (month.length < 4) { var editmonth = month.replace(/Aug/g,"August") .replace(/Sept/g,"September"); } else { editmonth = month; } if (year.length == 4) { var edityear = year; } else { edityear = "20" + year; } var Field("InductionDate") = day + " " + editmonth + " " + edityear; return (Field("InductionDate"); } else { return "error"; } My script functions in a normal javascrip environment, but assigning the new value to the FusionPro Field "InductionDate" is where i am failing. I know it is something simple, I just can't see it.
  9. Dan, I tried the PDF route, changing the opacity of the vector image in Illustrator. The graphic would come in lighter, but have no transparency. You could not see the business card text under the graphic. PDFs and opacity don't always play well with each other depending on what viewer is being used. Since MarcomCentral uses Flash to preview the products, that might be my problem. But even downloading a PDF and looking at it in Acrobat it showed no opacity/transparency change. Again the graphic was lighter, but not transparent. By using a TIFF, MarcomCentral preserved the transparency of the image and allowed the text underneath to show through. But then there is the whole bitmap problem of jagged edges. The result achieved was what I wanted, it just didn't look good. So my thought was to see if I could get the Javascript to change the opacity of the vector image as it placed it. This might be the wrong way to approach it, but I am grasping at straws.
  10. I still have not found a script solution. But did find that using a TIFF and reducing the opacity sort of works. MarcomCentral really pixelates the image, but it will work. Still want a better solution if one exists.
  11. I have a script from Marcom Customer Support for applying a watermark to an online proof. It works very well. However, I need it to "ghost" over the preview so that you can see or read what is under it. I have tried applying opacity to the image, that didn't work. So I was wondering if it could be done with the Javascript. I created the scrip below, but the opacity is still 100% in the preview. //This script applies the word PROOF to previews //access the "isOnlinePreview" property and the "isPreview" property Text onlinePreviewVal = FusionPro.Composition.JobOptions.isOnlinePreview; desktopPreviewVal = FusionPro.Composition.isPreview; //if this is a preview composition or a desktop preview //then return the graphic "PROOF" if (onlinePreviewVal == "Yes" || desktopPreviewVal == true) { FindGraphicFrame("watermark").suppress = false; FindGraphicFrame("watermark").style.opacity = "0.7"; FindGraphicFrame("watermark").style.filter = 'alpha(opacity=70)'; // IE fallback } else { FindGraphicFrame("watermark").suppress = true; }Any ideas? Can this be done? Thanks, Steven ____ Fusion Pro Version: 9.3.26
  12. That was too easy. Worked perfectly. Thanks for the help. Now to make the rest of it work.
  13. Is it possible to put an Inline Graphic in a CopyfitLine statement? I have a business card that has two lines of phone numbers and email with icons. I would like the email address to Copyfit but not the phone numbers. Line 1: Phone Icon, Phone, Cell Icon, Cell, Email Icon, Email I have been trying to get the image to come in as an inline resource. But I have had no success. Below is the script I am working with. It only has one field right now, trying to troubleshoot why the icon won't come in. if (Field("Email") != "") return CopyfitLine(Resource("FCBCIconsEmail.pdf") + " ", Field("Email")+ "@" +Field("emailDomain"), "Vaud", 8, 228, 4, true); else return ""; I may also be going at this all wrong. Any direction would be helpful. Thanks, Steve
  14. Okay, sorry for this. But I keep seeing mentions of scripts with "OnRecordStart", but I can't find any documentation that explains that. Can someone point me in the right direction?
  15. Thanks for posting this. I have been working in Fusion Pro and couldn't get scripts to copy and paste in or save correctly. Working in UTF-16 made the difference. I'm not going crazy, I'm not going crazy...
  16. Problem Solved! For those interested, below is my final code. if (Field("Email") != "") //If Email is NOT blank, execute the following statement return CopyfitLine("<smallcap>" + Field("Landmark") + "</smallcap>" + " " + '<span font="Wingdings" pointsize="5">' + Field("Block") + '</span>' + " ", "<smallcap>" + Field("Email") + "</smallcap>"+"<smallcap>" + Field("emailDomain") + "</smallcap>", "Adobe Garamond Pro", 8, 236, 3, true); else return Field("Landmark"); This script puts all of the text in small caps. Landmark and Block do not compress if the text oversets, but Email and emailDomain do. Yes I have my box width at 236, my version does not work in hundredths.
  17. Thanks Dan. Any ideas on how to get a finicky font to display? I have to switch out Arial for Zapf Dingbats and the font is not working. Grrr.
  18. Okay, I need to change the point size of one field on a line. I have the font change set up, now I need to change the size. I haven't been able to find a solution. Where I change the line to Arial is where I also need that field to be 5 point text. Current Script: if (Field("Email") != "") //If Email is NOT blank, execute the following statement return CopyfitLine("<smallcap>" + Field("wwwLandmarkIndycom") + "</smallcap>" + " " + '<span font="Arial">' + Field("Block") + '</span>' + " ", "<smallcap>" + Field("Email") + "</smallcap>"+"<smallcap>" + Field("emailDomain") + "</smallcap>", "Adobe Garamond Pro", 8, 236, 3, true); Probably something simple. Thanks.
  19. Thanks for catching the extra semicolon. Even with the font in (which I have seen Dan leave out, so I tried it) it still won't work. Since it is working in my test file, I wonder if there is a conflict with another rule. Could that be possible?
  20. This is my first time working with CopyfitLine, so bear with me. I created a test file and was able to get the Rule to work as I wanted it to. I then went back to my production document and entered the rule just as I had in testing, adjusting the appropriate values and fields, and it won't work. I get no script or syntax errors. i am at a bit of a loss. My script: if (Field("Email") != "") { return CopyfitLine("", Field("email")+Field("emailDomain"), "", 10, 135, 5, true); }; I have deleted and recreated the box in Fusion Pro. I do not have CopyFit on this Template anywhere. It has to be something really simple that I am not seeing. Ideas? Steven
  21. Is there a field in Marcom (User or Group) that can be accessed by a FusionPro Rule so I can swap out a graphic based on who logs in? I need to change a logo in a layout, without the User having to select it. I want to do it so that the logo is switched out based on the User login. If I could reference the User or the User's Group that would work. The rule I can create, I am just not sure what fields I can access.
  22. Lisa, Thanks for the help. I am not getting anywhere. I guess I have to study more before I get too much further into scripting with FusionPro and Marcom. I solved it by using a Library of Images. Simple, fast, done. Probably not the best solution, but I can't spend anymore time on this today. Already lost one day messing with this. Steven
  23. I need to be able to allow the User to select which back to use on a business card. They have two to choose from. I think I have two methods for this: 1) Place both backs in a Library and allow the User to select the one they want using a pull down menu. 2) Allow them to select which they want from a pull down and use a script to suppress the one they don't want. I have been trying to create a rule, with no success. Anyone have any experience with this? Constructive suggestions are welcome.
×
×
  • Create New...