Jump to content

dennis.wolfers

Registered Users - Approved
  • Posts

    25
  • Joined

Posts 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. To exactly what system are you submitting the job? Is it Producer (via the "Use FusionPro Producer" check box in the Composition Settings)?
    Yes.

     

    What happens if you compose the job locally, directly from FP Creator in Acrobat? Does the output go where you expect?

    I don't know; I (almost) never compose on the desktop.

     

    What is the version of FusionPro on the composition server?
    10.0.16

     

    Thanks, but I need you to be even more specific than that. If you're using Producer, there's no "specified" or "regular" output folder, but there are some specific paths that get set in the Producer Configuration app. There's the Working Folder where all jobs go, but you don't usually see that.

    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.

     

    There may also be a "Printer Hot Folder" set up in the Producer Configuration. If that's the case, then ALL output files get COPIED to this hot folder, regardless of where they're written, and also regardless of whether the output is redirected with JavaScript.

    We have no hot folders.

     

    So, I'll bet that you have a Printer Hot Folder set up in Producer, and that all your output is being copied there. That's by design.

    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 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.

  5. 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

    ScreenShot2015-04-23at1_40_35PM.png.b40a27f0dae2f77b37cba169947abaa2.png

  6. 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

    ScreenShot2015-04-23at12_46_49PM.png.284c2d27637877f8ae8efeef21ab9a3c.png

  7. I can see where that would be confusing. Sorry about that.

     

    My issue is with Courier fonts. The characters in the font seem to space correctly but the space between words is smaller than it should be.

     

    I am using Fusion Pro v5.1P2c and Adobe Acrobat 8 Professional.

     

    Attached is a pdf that shows the issue. Notice the address block spacing vs the body of the letter.

     

    Let me know if you'd rather have this in a separate thread and I'll create one.

     

    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!

  8. 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

  9. 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.
  10. 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?

  11. 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.
  12. 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.

  13. 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?

  14. 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...