Jump to content

Dan Korn

  • Posts

  • Joined

  • Days Won


Dan Korn last won the day on April 22

Dan Korn had the most liked content!



  • Location
    Chicago, IL


  • Occupation
    Senior Development Engineer


  • FusionPro Products


  • FusionPro VDP software version


  • OS
    Mainly Windows 10 Pro and macOS 13


  • Acrobat Version
    Acrobat DC
  • Homepage
  • User Title
    FusionPro Senior Engineer / <b>Forum Moderator</b>

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Dan Korn's Achievements

Grand Master

Grand Master (14/14)

  • Reacting Well Rare
  • Dedicated Rare
  • Conversation Starter Rare
  • First Post Rare
  • Collaborator Rare

Recent Badges



  1. I don't think this is possible in FP Creator. This sounds like a job for FP Server, where could run two separate compositions. You could set a CFG entry that the OnRecordStart rule could read to determine which set of pages to activate.
  2. You could generalize Doug's solution to make an upper-case version of every data field, like so in OnRecordStart: for (var fieldName in FusionPro.Fields) FusionPro.Composition.AddVariable("Cap" + fieldName, ToUpper(Field(fieldName))); And you could do something similar with the ToTitleCase() function. However, I have to echo DSweet's warning about ToTitleCase. As I have also noted many times here on this forum, it's not possible to write a computer algorithm that can correctly "unmake the soup" of proper names which have been capitalized to go back to their original "proper" casing, as there are no strict rules about how names are capitalized, and the capitalization can be arbitrary. It's more art than science, and even with a database of common exceptions, a computer does not get to dictate to anyone how their name should be capitalized. It's not just names like "McDonalds" that you have to worry about, it's also names like "Mies van der Rohe", "O'Neil", "Leonardo di Caprio", and uncountable other possibilities, which are impossible to fully account for.
  3. It's still not clear whether you're composing with Producer or Server or some other system. That said, I would add the UNC path to the graphics in the Search Path box on the Advanced tab of the Composition Settings dialog. You'll need to make sure that the user account under which the composition is occurring (set up in the Producer Configuration app for Producer) has read access to the UNC share. Alternatively, you (or your IT person who sets up Producer) can add search paths to queues in the Producer Configuration app, on the Scheduler machine.
  4. What is this normal process? How is it accomplished? Is it done manually in FP Creator (in Acrobat), by someone hitting the Compose button on the Composition Settings dialog? Or is it an automated process via FusionPro Server? If it's done manually in Acrobat, then you can simply uncheck the "Use Imposition Definition" box. If it's an automated composition with FP Server, then you can disable imposition by adding the line "UseImpositionDefFile=No" at the end of the CFG file, or by setting the property CompositionRequest.Options.UseImposition = false in the object passed to the CreateCompositionSession function in the API. I would think that whatever file or setting that you're trying to use to key off of to set something in a JavaScript rule in the job could also be accessed to accomplish either of those programatically.
  5. You would have to provide the job, or a minimal sample that reproduces the problem, in order for this to be analyzed further.
  6. Did you try "Suppress if Containing Empty Variables"?
  7. Thanks. As noted in this thread, this is a known bug in Acrobat, and we are waiting for a fix from Adobe. Sorry for the trouble.
  8. Sorry for the trouble. This is an issue with later versions of Acrobat and how it handles drawing by plug-ins on Mac. We've been talking to Adobe; they say they are working on a fix for a patch release of Acrobat in June. I don't yet know whether we will also need to make changes to our plug-in to work with whatever change they're making in Acrobat. There is no known workaround to avoid this issue completely. That said, it can be avoided by either lowering the zoom factor or making the Acrobat document window larger. If you keep enough of the active page(s) within the Acrobat window, Preview will work fine. The other thing you can do is just turn Preview off and move the frames. Note that this doesn't affect composition, just the Preview in Acrobat on Mac. Sorry again for the trouble. I'll post back if there are any updates from Adobe.
  9. Are you asking how to accomplish this? You can just make a Graphic rule, either JavaScript, Drag-and-Drop, or Switch Wizard, that returns a different PDF based on the data, and use that in a graphic frame that completely covers the back page.
  10. Yes, of course, there's a limit to everything. The nominal limit is 7,089 characters, though it depends on the encoding mode, symbol size, and error correction level. The spec is here: https://www.qrcode.com/en/about/version.html Also, there are practical limitations on how much data various scanners and applications can scan. If you actually make a QR barcode with 7000 characters, it's going to either be huge, or have pixels so small that any phone will have trouble reading them. So my advice is: keep the QR codes small. If you have to encode a large amount of data, consider encoding a URL to a webpage or a PDF with the information instead.
  11. So, searching for "FusionPro bingo card job" on Google returns this as the top hit, which is a sample job that seems to do exactly what you want. Though there is a more efficient way to accomplish this, especially with newer versions of FusionPro. As to the more general question in the title of this thread, again, if you Google something like "JavaScript non repeating random numbers", there are a lot of threads on Stack Overflow and different sites with various solutions. I would just do this: var result = []; while (result.length < 24) { var num = Math.floor(Math.random() * 75) + 1; if (result.indexOf(num) < 0) result.push(num); } return result; And in FP 13, you could modify this slightly as a table data rule: var nums = []; while (nums.length < 24) { var num = Math.floor(Math.random() * 75) + 1; if (nums.indexOf(num) < 0) nums.push(num); } nums.splice(12, 0, "FREE"); var result = []; for (var i = 0; i < nums.length; i += 5) result.push(nums.slice(i, i + 5)); return result; Then you can the "Table Style" rule, and then create the "Table - from data rule" rule, with the rule above as the data rule and the Table Style rule as the style, and add columns to get five of them. Then you can just tweak the properties in the style rule to get the output you want.
  12. What version of FusionPro? What operating system?
  13. Are you running Acrobat version 2024? If so, we will have a release that installs to that available shortly. In the meantime, you will need to install Acrobat 2023 or older. If not, then what specific version of Acrobat are you running? Also, Windows or Mac?
  14. Please email FusionProSupport@marcom.com. You'll need to include your serial number.
  15. I don't know any reason why that would happen, but I can't analyze this without any more information. Is this a multi-line record job? And what data format (tab-delimited, Excel, etc.)? If you can collect up a minimal sample that reproduces this, please post it here or send it to Support.
  • Create New...