Jump to content

dennis.wolfers

Registered Users - Approved
  • Posts

    25
  • Joined

Everything posted by dennis.wolfers

  1. You've opened my eyes to some functionality of Producer that I need to explore. I didn't have access to the Producer configuration utility, so got our IT folks to give me a remote login. Now I can understand what you're referring to when you speak of Hot Folders and the Working folder (they happen to be configured as 'Output' and 'Submitted' respectively on our system). As it turns out, my immediate need has passed; I couldn't stop production while we had our discussion. However, I'm grateful for the enlightenment that resulted. Your patience is much appreciated!
  2. Yes. I don't know; I (almost) never compose on the desktop. 10.0.16 I'm guessing that what you're calling the Working folder is our Output folder. It's where we look for the output of all Producer composition. We have no hot folders. Can this behavior be toggled for a particular job?
  3. What versions of FusionPro and the OS? FP: 10.0.16 Desktop: Win 10 Server: I don't know Do you have the "Output to multiple files" box checked on the Output tab of the Composition Settings? Yes; one file per record. What exactly do you mean by the "default Output directory"? FP Producer (or Server, or whatever PTI is calling it these days) puts all of its output in a specified "Output" folder; that's what I'm referring to. Does this problem occur with all jobs, or just with a particular one? This is the first time I've used the OnNewOutputFile callback, so just this one so far.
  4. I've created a rule for OnNewOupputFile that directs appropriately named files to a specific directory, and that works great. The problem is that identical files are also being generated in the default Output directory. Is it possible to defeat redundant file creation in the Output folder?
  5. The reversal of Left and Right margins appears to be true in the Table Object too. WTF!
  6. I just read the most recent posts. I really appreciate the thought you both have put into this quirky problem. As it turns out, I came to the same conclusions that you've suggested. Though I really need to learn to use regex, this is the code I came up with that gets the result I need: var bill = ReplaceSubstring(Resource("Raw Bill").content, "", "*"); bill = ReplaceSubstring(bill, " ", "*"); bill = ReplaceSubstring(bill, " ", "*"); return bill; P.S. I don't see documentation of entity #32; what is it? P.P.S. I see that the browser converted my entities into space characters, making my code into nonsense, but I was replacing #19, #32, and regular spaces with #160 (non-breaking space) characters.
  7. Thank you for your quick response! I do have the "Treat returned strings as tagged text" box checked. I'll attach a capture of the output with it un-checked. There is absolutely no way to convert the input files into tables, or any other automated formatting (as you'll see if you look at the text file). Remember that there are tens-of-thousands of these files, each unique! I have a very convoluted work around, but I'm looking for an elegant solution. Is there any way to fine-tune the TaggedTextFromRaw functionality so that it doesn't entity-ize the tags themselves? Dennis
  8. I need to bring in approximately 50,000 plain text resources (one per record), preserving leading space characters, blank lines, etc. so that the formatting remains intact when using a mono-space font (Courier). TaggedTextFromRaw() looks like the logical solution, but it creates entities for the elements of tags so that checking 'Treat returned strings as tagged text' results in the tags being returned as literal text rather than being interpreted as tags. This is my code: return TaggedFromRaw(Resource("Raw Bill").content); Screen capture from preview and source text file attached. What am I missing? Sample Page without font command lines.txt
  9. I am having this issue now, and changing word spacing is not a solution. It appears to me that FusionPro is not using Courier's space character, nor respecting the mono-space font metrics. Please help!
  10. Sorry about that, I've attached a few of them to this post.external data files.zip
  11. Hi Dan, Thank you for all of your help. I've been able to answer many of my own questions by reading your posts in various threads, and when I have to ask, you've gotten right back to me! I've attached my project and output PDF. Hopefully my code doesn't make you cringe too much. I was using similar code to what you suggested (in the Logo rule). I modified it to more closely match yours, but still got unexpected results. On a separate note (in the OnRecordStart rule), I am perplexed by the need to use hard-coded leading settings in the section of code that starts on line 107, compared to what I use in the section that starts on line 85. These two sections reproduce the same information, but end up formatted differently without the forced leading settings in the second section. Dennis VDP odd test Layout.zip 80571 logo test.pdf
  12. I'm attempting to use FusionPro.Composition.pageNumberInJob to determine whether an output page is odd as I need a logo to appear on odd pages only. The problem is that the graphic frame appears on an overflow page, and despite checking the "Re-evaluate this rule for every graphic frame" checkbox, the evaluation appears to happen just once, and the logo appears on all subsequent overflow pages. For instance, I wrote a rule that returns the logo on page 5, and it did appear on page 5, but also on all subsequent overflow pages for that record.
  13. I have a very similar challenge in which I need the header to repeat at the top of each column, so am generating a series of tables as described in this thread. The headers are not repeating for me though. Is the repeating header something that needs to be activated in some way? Also, I take it from the preceding discussion that there is no way to add the word "Continued" to the header name of the second and subsequent instances of a given header. Is that so?
  14. I've been using FP since it was DL-100, and have seen the problem many times over the past ten years, but it has never happened if I convert the wizard-created script to JS code, so that is my habit.
  15. Thanks. I'll update you if I can detect a pattern. But mostly I'll stick to JavaScript.
  16. That's the problem with this problem. I can't identify what triggers it either.
  17. I'm assuming you got the files? Any insights?
  18. It's at: //FusionPro TechSupport Jobs/forDanKorn/ I removed the spaces.
  19. The upload finished; they're in a subdirectory called "for Dan Korn".
  20. OK, I've identified the before and after composition jobs. They're uploading now. The rule that disappeared is named "Single Type". The only actions I took between the two composition jobs were to pick a different data source and change the name of the output file.
  21. I've used FP since its early life as DL100, and gradually increased my sophistication as a user, learning JavaScript, etc. I'm presently running under Windows XP SP3 (all patches applied), using Acrobat 9. As I mentioned, the problem has persisted across multiple versions of OS, FP and Acrobat. Though this particular project was never opened anywhere else, we have two other workstations running FP under XP and Win 7(64bit) respectively and Acrobat 8. I should be able to provide before and after snapshots of the project in question from the server, but they'll be large files. Where and how may I send (FTP?) them to you? The disappearing rule problem is very unpredictable. Sometimes, as in this case, it happens mid session, with no trigger that I can identify. When I first encountered it, it seemed to happen when opening a template, as if the missing rule were simply skipped during loading. In that case, if I closed the template without saving, the rule would be there when I re-opened the file. If I happened to save before I realized that the rule was missing, it was un-recoverable.
  22. 7.1P1c and composing on FP Server. Your advice about saving, while good generally, would assure the loss of the rule permanently in this case. In fact, I was able to find (and recover) the rule on the server among the submitted jobs, and track down when it disappeared by looking at the sequence of jobs submitted to the server. This has been an ongoing problem for more than a year (several years?), and across multiple versions of FP. At what rev. do you believe it was resolved?
  23. On several occasions I've had rules disappear. It only happens to rules created with a wizard (switch, drag & drop, etc.), but only if they are not converted to JavaScript, so I routinely convert all rules to JavaScript. Recently, I had a very complex and time critical job in which I neglected to convert one of my rules to JavaScript, and that rule disappeared between the time I composed my proof file and the time I composed production files. I made no changes in the interim; nor did I close the file or make any other modifications other than settings in the composition dialogs. Unfortunately, the entire job got printed wrong, and had to be re-printed at substantial cost to my employer.
×
×
  • Create New...