Jump to content

Dmiller35

Members
  • Posts

    24
  • 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. Of course! Thanks. I knew it had to be something simple I was overlooking.
  2. 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.
  3. Thanks Jon, But that won't that just define the data source? I won't necessarily combine the sources together, right?
  4. 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.
  5. 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?
  6. 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.
  7. 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?
  8. 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");
  9. 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?
  10. 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.
  11. 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?
  12. 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?
  13. I have a document that has a limited amount of space and one of the fields is an email address. I can do a copyfit, but in order to keep everything on one line, the font has to go from 9pt down to 5 on some records. (The client's domain name is stupidly long). Is there a way to splt the email at the "@" so that when it's longer that 32 characters, it drops the "@unecessarilylongdomain.com" down to a second line? Every record has the same domain name so is there a way to trim the right 25 characters? This way jonathan.doe@unecessarilylongdomain.com would become jonathan.doe @unecessarilylongdomain.com
  14. Ok thanks. I do have other files where I've done it the old way so I guess I'll go back to that for now.
×
×
  • Create New...