Go Back   PTI Marketing Technologies User Community > Software-Related Talk > FusionPro® VDP Producer (formerly FusionPro® Direct)

Notices

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old October 3rd, 2017, 02:32 PM
dennis.wolfers dennis.wolfers is offline
Junior Community Member
 
Join Date: Jun 2012
Posts: 24
Default Defeat regular Output when using FusionPro.Composition.outputFileFullPathName

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?
Reply With Quote
  #2  
Old October 3rd, 2017, 03:59 PM
Dan Korn's Avatar
Dan Korn Dan Korn is offline
FusionPro Senior Engineer / Forum Moderator
 
Join Date: Aug 2008
Location: Chicago, IL
Posts: 3,997
Default Re: Defeat regular Output when using FusionPro.Composition.outputFileFullPathName

I just tried this and I'm only seeing the files specified in the rule being generated, and no others anywhere else.

Some questions:
  1. What versions of FusionPro and the OS?
  2. Do you have the "Output to multiple files" box checked on the Output tab of the Composition Settings?
  3. What exactly do you mean by the "default Output directory"?
  4. Does this problem occur with all jobs, or just with a particular one?
__________________
Dan Korn
FusionPro Developer / JavaScript Guru / Forum Moderator
PTI Marketing Technologies | Printable | MarcomCentral
LinkedIn

I am a not a Support engineer, and this forum is not a substitute for Support. My participation on this forum is primarily as a fellow user (and a forum moderator). I am happy to provide help and answers to questions when I can; however, there is no guarantee that I, or anyone else on this forum, will be able to answer all questions or fix any problems. If I ask for files to clarify an issue, I might not be able to look at them personally. I am not able to answer private messages, emails, or phone calls unless they go through proper Support channels. Please direct any sales or pricing questions to your salesperson or inquiries@pti.com.

Complex template-building questions, as well as all installation and font questions or problems, should be directed to FusionProSupport@PTI.com. Paid consulting work may be required to fulfill your template-building needs. Please do not post proprietary font files to this forum.

Please include the specific versions of FusionPro, Acrobat, and your operating system in any problem reports or help requests. I recommend putting this information in your forum signature. Please also check your composition log (.msg) file for relevant error or warning messages.

Please post questions specific to the MarcomCentral Enterprise and Web-to-Print applications in the MarcomCentral forum. Click here to request access. Or contact your Business Relationship Manager (BRM/CPM) for assistance.

Please direct any questions specific to EFI's Digital StoreFront (DSF) to EFI support.

How To Ask Questions The Smart Way

The correct spellings are JavaScript, FusionPro, and MarcomCentral (each with two capital letters and no spaces). Acceptable abbreviations are JS, FP, and MC (or MCC). There is no "S" at the end of "Expression" or "Printable"! The name of the product is FusionPro, not "Fusion". "Java" is not is not the same as JavaScript.

Check out the JavaScript Guide and JavaScript Reference! FusionPro 8.0 and newer use JavaScript 1.7. Older versions use JavaScript 1.5.

return "KbwbTdsjqu!spdlt\"".replace(/./g,function(w){return String.fromCharCode(w.charCodeAt()-1)});
Reply With Quote
  #3  
Old October 3rd, 2017, 04:14 PM
dennis.wolfers dennis.wolfers is offline
Junior Community Member
 
Join Date: Jun 2012
Posts: 24
Default Re: Defeat regular Output when using FusionPro.Composition.outputFileFullPathName

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.
Reply With Quote
  #4  
Old October 4th, 2017, 11:13 AM
Dan Korn's Avatar
Dan Korn Dan Korn is offline
FusionPro Senior Engineer / Forum Moderator
 
Join Date: Aug 2008
Location: Chicago, IL
Posts: 3,997
Default Re: Defeat regular Output when using FusionPro.Composition.outputFileFullPathName

Quote:
Originally Posted by dennis.wolfers View Post
What versions of FusionPro and the OS?
FP: 10.0.16
Desktop: Win 10
Server: I don't know
So, you're submitting the job to another machine via Producer or Server? That's certainly relevant.

More questions:
  1. To exactly what system are you submitting the job? Is it Producer (via the "Use FusionPro Producer" check box in the Composition Settings)? Or to some other system using FP Server?
  2. What happens if you compose the job locally, directly from FP Creator in Acrobat? Does the output go where you expect?
  3. What is the version of FusionPro on the composition server? You can simply open the output in Acrobat and select File -> Properties, and it will tell you the version of FusionPro used to make the PDF. You should also be able to access the composition log file. (There's a View Log button in the Producer Monitor app.)
Quote:
Originally Posted by dennis.wolfers View Post
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.
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.

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.

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.
__________________
Dan Korn
FusionPro Developer / JavaScript Guru / Forum Moderator
PTI Marketing Technologies | Printable | MarcomCentral
LinkedIn

I am a not a Support engineer, and this forum is not a substitute for Support. My participation on this forum is primarily as a fellow user (and a forum moderator). I am happy to provide help and answers to questions when I can; however, there is no guarantee that I, or anyone else on this forum, will be able to answer all questions or fix any problems. If I ask for files to clarify an issue, I might not be able to look at them personally. I am not able to answer private messages, emails, or phone calls unless they go through proper Support channels. Please direct any sales or pricing questions to your salesperson or inquiries@pti.com.

Complex template-building questions, as well as all installation and font questions or problems, should be directed to FusionProSupport@PTI.com. Paid consulting work may be required to fulfill your template-building needs. Please do not post proprietary font files to this forum.

Please include the specific versions of FusionPro, Acrobat, and your operating system in any problem reports or help requests. I recommend putting this information in your forum signature. Please also check your composition log (.msg) file for relevant error or warning messages.

Please post questions specific to the MarcomCentral Enterprise and Web-to-Print applications in the MarcomCentral forum. Click here to request access. Or contact your Business Relationship Manager (BRM/CPM) for assistance.

Please direct any questions specific to EFI's Digital StoreFront (DSF) to EFI support.

How To Ask Questions The Smart Way

The correct spellings are JavaScript, FusionPro, and MarcomCentral (each with two capital letters and no spaces). Acceptable abbreviations are JS, FP, and MC (or MCC). There is no "S" at the end of "Expression" or "Printable"! The name of the product is FusionPro, not "Fusion". "Java" is not is not the same as JavaScript.

Check out the JavaScript Guide and JavaScript Reference! FusionPro 8.0 and newer use JavaScript 1.7. Older versions use JavaScript 1.5.

return "KbwbTdsjqu!spdlt\"".replace(/./g,function(w){return String.fromCharCode(w.charCodeAt()-1)});
Reply With Quote
  #5  
Old October 4th, 2017, 04:24 PM
dennis.wolfers dennis.wolfers is offline
Junior Community Member
 
Join Date: Jun 2012
Posts: 24
Default Re: Defeat regular Output when using FusionPro.Composition.outputFileFullPathName

Quote:
To exactly what system are you submitting the job? Is it Producer (via the "Use FusionPro Producer" check box in the Composition Settings)?
Yes.

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

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

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

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

Quote:
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?
Reply With Quote
  #6  
Old October 4th, 2017, 06:26 PM
Dan Korn's Avatar
Dan Korn Dan Korn is offline
FusionPro Senior Engineer / Forum Moderator
 
Join Date: Aug 2008
Location: Chicago, IL
Posts: 3,997
Default Re: Defeat regular Output when using FusionPro.Composition.outputFileFullPathName

Quote:
Originally Posted by dennis.wolfers View Post
Yes.
I don't know; I (almost) never compose on the desktop.
Well, can you give it a try and see what happens?
Quote:
Originally Posted by dennis.wolfers View Post
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.
No, that's not what I mean. The Working folder is defined right at the top of the General Setup tab in the Producer Configuration app on the Scheduler machine. But it's not an "output folder." The outputs go into each job's specific subfolder under the Working fglder, not all in one common place. UNLESS you have a Hot Folder defined on the Queue Configuration tab of that Producer Configuration app, in which case all the output submitted to that queue gets copied to that hot folder.

Also, I'm not sure what you mean by "our Output folder." If you're looking for all your output there, then it must be defined somewhere. Where do you think that folder is specified?
Quote:
Originally Posted by dennis.wolfers View Post
We have no hot folders.
Are you sure about that? Have you checked the Producer Configuration app? Because what you're describing to me as "where we look for the output of all Producer composition" sure sounds like a hot folder.

Can you check the log file from one of your Producer jobs and see if it has a line in it starting with "Copied file:"? That denotes that the output has been copied to the hot folder. (Again, you can use the View Log button in the Producer Monitor app.)
Quote:
Originally Posted by dennis.wolfers View Post
Can this behavior be toggled for a particular job?
No. But the hot folder is specific to a queue. So you can define multiple queues, and have one with a hot folder and another without a hot folder. Then when you submit the job to Producer, you can select whichever queue you want from the drop-down list in the Composition Settings.
__________________
Dan Korn
FusionPro Developer / JavaScript Guru / Forum Moderator
PTI Marketing Technologies | Printable | MarcomCentral
LinkedIn

I am a not a Support engineer, and this forum is not a substitute for Support. My participation on this forum is primarily as a fellow user (and a forum moderator). I am happy to provide help and answers to questions when I can; however, there is no guarantee that I, or anyone else on this forum, will be able to answer all questions or fix any problems. If I ask for files to clarify an issue, I might not be able to look at them personally. I am not able to answer private messages, emails, or phone calls unless they go through proper Support channels. Please direct any sales or pricing questions to your salesperson or inquiries@pti.com.

Complex template-building questions, as well as all installation and font questions or problems, should be directed to FusionProSupport@PTI.com. Paid consulting work may be required to fulfill your template-building needs. Please do not post proprietary font files to this forum.

Please include the specific versions of FusionPro, Acrobat, and your operating system in any problem reports or help requests. I recommend putting this information in your forum signature. Please also check your composition log (.msg) file for relevant error or warning messages.

Please post questions specific to the MarcomCentral Enterprise and Web-to-Print applications in the MarcomCentral forum. Click here to request access. Or contact your Business Relationship Manager (BRM/CPM) for assistance.

Please direct any questions specific to EFI's Digital StoreFront (DSF) to EFI support.

How To Ask Questions The Smart Way

The correct spellings are JavaScript, FusionPro, and MarcomCentral (each with two capital letters and no spaces). Acceptable abbreviations are JS, FP, and MC (or MCC). There is no "S" at the end of "Expression" or "Printable"! The name of the product is FusionPro, not "Fusion". "Java" is not is not the same as JavaScript.

Check out the JavaScript Guide and JavaScript Reference! FusionPro 8.0 and newer use JavaScript 1.7. Older versions use JavaScript 1.5.

return "KbwbTdsjqu!spdlt\"".replace(/./g,function(w){return String.fromCharCode(w.charCodeAt()-1)});
Reply With Quote
  #7  
Old October 5th, 2017, 01:28 PM
dennis.wolfers dennis.wolfers is offline
Junior Community Member
 
Join Date: Jun 2012
Posts: 24
Default Re: Defeat regular Output when using FusionPro.Composition.outputFileFullPathName

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!
Reply With Quote
  #8  
Old October 6th, 2017, 09:43 AM
Dan Korn's Avatar
Dan Korn Dan Korn is offline
FusionPro Senior Engineer / Forum Moderator
 
Join Date: Aug 2008
Location: Chicago, IL
Posts: 3,997
Default Re: Defeat regular Output when using FusionPro.Composition.outputFileFullPathName

Quote:
Originally Posted by dennis.wolfers View Post
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!
Glad I could help. Jargon is always hard to navigate. Fortunately, we never change the names of our products. Or our company.
__________________
Dan Korn
FusionPro Developer / JavaScript Guru / Forum Moderator
PTI Marketing Technologies | Printable | MarcomCentral
LinkedIn

I am a not a Support engineer, and this forum is not a substitute for Support. My participation on this forum is primarily as a fellow user (and a forum moderator). I am happy to provide help and answers to questions when I can; however, there is no guarantee that I, or anyone else on this forum, will be able to answer all questions or fix any problems. If I ask for files to clarify an issue, I might not be able to look at them personally. I am not able to answer private messages, emails, or phone calls unless they go through proper Support channels. Please direct any sales or pricing questions to your salesperson or inquiries@pti.com.

Complex template-building questions, as well as all installation and font questions or problems, should be directed to FusionProSupport@PTI.com. Paid consulting work may be required to fulfill your template-building needs. Please do not post proprietary font files to this forum.

Please include the specific versions of FusionPro, Acrobat, and your operating system in any problem reports or help requests. I recommend putting this information in your forum signature. Please also check your composition log (.msg) file for relevant error or warning messages.

Please post questions specific to the MarcomCentral Enterprise and Web-to-Print applications in the MarcomCentral forum. Click here to request access. Or contact your Business Relationship Manager (BRM/CPM) for assistance.

Please direct any questions specific to EFI's Digital StoreFront (DSF) to EFI support.

How To Ask Questions The Smart Way

The correct spellings are JavaScript, FusionPro, and MarcomCentral (each with two capital letters and no spaces). Acceptable abbreviations are JS, FP, and MC (or MCC). There is no "S" at the end of "Expression" or "Printable"! The name of the product is FusionPro, not "Fusion". "Java" is not is not the same as JavaScript.

Check out the JavaScript Guide and JavaScript Reference! FusionPro 8.0 and newer use JavaScript 1.7. Older versions use JavaScript 1.5.

return "KbwbTdsjqu!spdlt\"".replace(/./g,function(w){return String.fromCharCode(w.charCodeAt()-1)});
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 10:30 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
(c) 2011, PTI Marketing Technologies™, Inc.