Jump to content

Dmiller35

Members
  • Posts

    27
  • Joined

Converted

  • Location
    South Carolina, USA

Converted

  • FusionPro Products
    Yes

Converted

  • FusionPro VDP software version
    11.1.2

Converted

  • OS
    MacOS10.14

Converted

  • Acrobat Version
    Acrobat DC

Dmiller35's Achievements

Contributor

Contributor (5/14)

  • First Post Rare
  • Collaborator Rare
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

10

Reputation

  1. Ah, okay. That's what I tried originally but I had left out the plus symbols between the tags. That worked great, thanks.
  2. Sorry, I just realized I wasn't super specific with the issue I'm having in the first post. My issue is that when I use the markup tags, the result is "emailarray[0]@domain.com" instead of displaying the correct name. If I take the markup tags off, it displays everything correctly, just not in bold. I think the tag is making it so that it's not seeing the variable name correctly.
  3. I have some business cards that require either a different font or a different color for a portion of a field. For example, the email address has the name in Eurostile Bold and the domain Eurostile Regular. I can't seem to split the email address and apply the Bold tag. Here is the code I'm currently trying to use: var emailarray = Field("Email Address").split("@"); return '<b>emailarray[0]</b>' + "@" + emailarray[1]; This would work in splitting the address but it doesn't work once I add the bold tag. I've also got phone number fields where the area code needs to be in a pantone color. I haven't tried that one yet but felt like I was going to run into the same problem. Anyone have any ideas?
  4. Of course! Thanks. I knew it had to be something simple I was overlooking.
  5. I'm having an issue getting the smallcap tag to work. I am including it in a rule so that when an extension is present on a phone #, it puts in the word "EXT" in smallcaps. However, I haven't been able to get it to work. Here is what I've been trying: if (Left(phoneNum, 12)=="555-555-5555") return "555.555.TEXT" + '<smallcap> EXT </smallcap>'+(Right(phoneNum, 3)); return FormatPhoneNumber(Trim(RuleOrField(PhoneVar)), delim, Format.match(/[\(\)]/), spaceAfterCloseParend); Basically, their office number spells out their name so I'm switching the last 4 digits to text instead of numbers. (I've removed the real numbers and letters) I don't use tagged markup a lot so I'm never sure if I'm plugging it in correctly. Could it be a font issue? Are there some fonts that don't want to work with that tag? I'm using DIN 2014.
  6. Thanks Jon, But that won't that just define the data source? I won't necessarily combine the sources together, right?
  7. Thanks Thomas, I'll try that and see if it works. Dan: I should have mentioned that the colors are being changed by our designers. They often don't know what their color needs will be so they just want the ability to change it. They could need to match a customer's color on one project but on another it could need to be white.
  8. Our design department occasionally needs to create QR codes for certain print and web customers. They want an easier way to generate a vector QR code than using some website like QR Monkey. I've tried doing it in FP but I run into issues where I can't fill the text frame consistently and almost need to change my font size for each code. When generating the codes, some will create larger barcodes based on the information in the link. I tried using copyfit and while I can get it to enlarge some of them, it doesn't do anything to shrink the font. Is this because copyfit is reading the font size in the text box and not the rule? I feel that the graphic rule really works best but unfortunately I need vector files so that our designers can change the colors if need be. Is there any way to get this to work better or should I find another solution?
  9. Thanks Dan. That's what I needed. I have a couple of .xml templates that I've customized and 1 rule I add to the RuleTemplate.js. Just couldn't find the files.
  10. I recently upgraded to a new M1 iMac running Ventura and I cannot find the JS and XML files to add my own functions like I had in the past. Did the path change?
  11. Thanks Dan, I had tried that before but couldn't get it to work. I realized that I had the code wrong. I was trying to split my field SCKNDPCKNM so that it was only seeing the Tray # as the field contains both the Tray and Pack #'s. Once I split those in my data file it worked great. if (FieldChanged("TRAYNUM")) FusionPro.Composition.OpenNewOutputFile(Field("TRAYNUM")+".pdf");
  12. We recently added an inline cutter to our iX3200 and want to split the output based on mailing trays. I know that this is possible under normal output but can we still accomplish this using imposition as well? I've had success creating new stacks every time the tray number changes but I can't seem to get it to work to create a new output file. Here's my code to create the stacks. var SelectedField = "SCKNDPCKNM"; var trayNum = (Left(Field("SCKNDPCKNM"), 3)) if (FieldChanged(Left(Field("SCKNDPCKNM"), 3))) FusionPro.Composition.StartNewStack(); } Is there a way to generate a new file every time there is a new stack?
  13. I realized the issue with the quotes and fixed that but the other things you mentioned might have still been causing it not to work. After fixing those, it now does not give me an error, but it also doesn't give me the returned function. It will only display "Presets.LBLMUM ()" and tells me that it does not return a value. Am I just not using this functionality correctly? I just want an easy way to repeat code that I use a lot.
  14. I've read in the user guide that I can supposedly add a .js file to the Plugins folder so that I can have my most common functions easily available. However, I've never been able to get it to work. I write the file just as the guide says, but it seems to have an issue with Line 1. Here is what I'm trying to use. Whenever I pull up the building blocks, it tells me "line 1: SyntaxError: illegal character:" Presets = new Object; Presets.LBLNUM = function (str) { return Int(Field(\“LBLNMBR\”)); } Presets.LBLNUM.description = “Remove Leading Zeroes from Label Number” Presets.LBLNUM.syntax = "LBLNUM(<string>)"; I've found in other places that sometimes the user guides have typos or are missing something in order to get the code to work correctly. Is that the case here or does this function just not work?
  15. I don't come across this often but I've had a few jobs lately where the customer supplies us with an excel data file that contains multiple "sheets". Is there a way for FP to process all of the sheets at the same time? Right now, I'm pulling up each sheet, outputting the file, then switching the data source. Just wanted to know if there was a less time consuming way to handle this. If that is possible, then is there a way to output the files based on the "sheets"? For example, I'm currently working on some name badges. I have 3 different lots of badges so I'll need to have 3 different pdf files. Can I program a rule for OnNewOutputFile that will split the file based on the "sheet" in the data file?
×
×
  • Create New...