#1
|
||||
|
||||
![]()
Have a bit of a dilemma...have a project that has the possibility of multiple page output for each record in the data (record 1 may have 2 pages, record 2 may have 8 pages, record 3 may have 7 pages, etc...). We want to impose this 2-up to save money, time and print streams produced; however since FusionPro can only impose the input data-stream and not the output print-stream I don't believe that it is possible. I have done some tests in the past with the imposer on similar situations and imposer would either 1-Crash and Flame, or 2-Add pages to the imposition of one side (the smaller output page side) to match up with the other larger output count side thus giving us a huge amount of blank pages that need to be weeded out by hand increasing our time and squandering any potential savings to begin with.
Using a bit of calculations we can tell how many pages are produced based on the information in each record; we currently split up all data files by output record count keeping the output counts together (all 3's together all 8's together, etc.). One data file containing as little as only 50 records may have up to a dozen or more data streams depending on the number of output pages that each individual record may produce. Then each "matched sub-set" data sream is fed through the template and sent to a printer ... that way we have matching output counts for the imposition to work with. Very lengthy, very tedious, the possibility of error to mix a batch set from one file with another increases with each new daily data file set we receive ... we receive between 50 to 60 files daily. It's been a while since I've had the chance to look into some of the newer "chunking features" of FusionPro or maybe as part of the imposer itself but is there anything new that would help with this...or has anyone else been down this road and found "a path less travelled", or like Wiley Coyote just hit that same brick wall time and time again? Any help and insight would be appreciated. Thank you. .
__________________
David A. Sweet Variable Data Specialist HKM Direct Market Communications Windows 7, Acrobat 10.x FusionPro Desktop and Server 10.0.26 Last edited by DSweet; October 17th, 2016 at 10:32 AM.. |
#2
|
|||||
|
|||||
![]()
When you say "Variable page sizes," that makes me think of the physical sizes of the pages (such as 8.5 x 11 inches). And yes, all pages need to be the same size to impose them.
Quote:
The reason for this should be obvious. If you are composing a two-sided postcard, you need to have something on both the front and the back, and if you leave off the back, FusionPro has to leave a blank space for that in the imposed output. Quote:
Quote:
Quote:
Quote:
__________________
Dan Korn FusionPro Developer / JavaScript Guru / Forum Moderator PTI Marketing Technologies | Printable | MarcomCentral 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@marcom.com. Complex template-building questions, as well as all installation and font questions or problems, should be directed to FusionProSupport@marcom.com. Paid consulting work may be required to fulfill your template-building needs. This is a publicly viewable forum. Please DO NOT post fonts, or other proprietary content, to this forum. Also, please DO NOT post any "live" data with real names, addresses, or any other personal, private, or confidential data. 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)}); ![]() |
#3
|
|||
|
|||
![]()
When I have dealt with this in the past, I usually output non-imposed data from FusionPro and then impose the resulting file using a separate PDF imposition plug-in (you could use FP for the second pass, but you wouldn't be composing anything; just imposing). The latter plug-in doesn't care about records; it's just imposing an n-page PDF.
|
#4
|
||||
|
||||
![]() Quote:
__________________
Dan Korn FusionPro Developer / JavaScript Guru / Forum Moderator PTI Marketing Technologies | Printable | MarcomCentral 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@marcom.com. Complex template-building questions, as well as all installation and font questions or problems, should be directed to FusionProSupport@marcom.com. Paid consulting work may be required to fulfill your template-building needs. This is a publicly viewable forum. Please DO NOT post fonts, or other proprietary content, to this forum. Also, please DO NOT post any "live" data with real names, addresses, or any other personal, private, or confidential data. 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)}); ![]() |
#5
|
||||
|
||||
![]()
Sorry to be so long in getting back...
First off Dan you are correct and I wasn't quite clear enough...the length of the output varies from one record to another but all output pages are 8.5x11. Apologies. The use for this project (for a product warranty company) is that each 2-page letter refers to any number of informational sheets that may accompany the letter depending which product(s) the end customer purchased a warranty for. These info-sheets are pre-built pdf files that simply grow from the end of each letter (using in-line pdf files through an overflow page) depending on the number of "packets" required. Each info-packet may contain anywhere from 3 to 12 pages and the end-user might get any number of these packets attached to their letter. Therefore record 1 might produce 14 pages, record 2 might produce 4 pages, record 3 might produce 20 pages, and so on through the file. Accordingly this output file can not be imposed by FusionPro Imposer as it currently runs. Quote:
Code:
..... Preprocessing record #233, input record 233 Preprocessing record #234, input record 234 Preprocessing record #235, input record 235 Preflight ended 13:58:33 - 1476381513. Composing record #1, input record 1 Sheet #1, record #1 Composing record #2, input record 119 Sheet #1, record #2 Composing record #3, input record 2 Sheet #2, record #1 Composing record #4, input record 120 Sheet #2, record #2 ...... If FusionPro were to impose the "output" for a stacked pdf file I would expect FusionPro to 1.. process a temporary pdf file in a single page format (in this case 8.5x11 pages) then 2.. count the number of pages within that document and finally 3.. step through that temporary file and place the proper pages on the final imposed sheet much in the same manner it currently steps through the data file records. That way even if the bottom of the right stack contains a page or two from say "record 13" and the top of the left side contains the remaining 8 pages from "record 13", when the imposed output sheets are "cut and stacked" the pages come out in their proper order. I realize that this is may be a somewhat unique situation and is only useful for a stacked output, but I do think that others might have the same frustration as I do. My bosses continually scream to impose all jobs to save money and clicks on the machine, but I have to tell them that FusionPro can't, or we have to preprocess all the data files and split them up into several files based on the output pages and feed up to as many as 25 data files for a single job. Which again takes up time and wastes recources thus negating any potential savings from the lower number of clicks on the machines. Sorry to be ranting here because I am a proponent of the FusionPro and would like to see it grow even more in areas that I personally feel like it is lacking. Charts are another big concern but that needs a whole new subject thread. .
__________________
David A. Sweet Variable Data Specialist HKM Direct Market Communications Windows 7, Acrobat 10.x FusionPro Desktop and Server 10.0.26 |
#6
|
||||||||
|
||||||||
![]() Quote:
Quote:
It's true that for stacked imposition, in particular, FusionPro does basically compose the pages in the imposed sheet order, by first doing a preprocessing pass through the data to determine (a) how many records and pages, and therefore how many sheets, will be composed, and (b) the offset to each record in the input data file so that it can randomly access ("jump" to) records in the data as needed in the second (composition) pass. But technically, it still composes each record first, in the sense that it runs all the rules, typesets all the text, and saves off an "image" of each page in memory, then it takes those images and places them onto imposed sheets. Also, it's not because of stacked imposition that all records have to have the same number of pages; this is true of non-stacked imposition as well. You still need a front and a back for each postcard in a non-stacked duplex imposition. Quote:
To get probably way more technical than is necessary here, all of that composition, typesetting, and laying out pages onto imposed sheets happens before FusionPro even writes the output to a particular output format. It's all output format agnostic, if you will (other than some low-level stuff about embedding fonts and processing graphics). Everything is laid out, completely composed and imposed, in memory, for each output file (chunk), then that abstract in-memory representation of the output is sent to a particular output module (OM) to turn it into a PDF or PostScript or AFP or whatever kind of file. Quote:
Quote:
Quote:
Quote:
Quote:
Okay, now I did promise I would tell you how you can get the output you want. That will be in my next reply.
__________________
Dan Korn FusionPro Developer / JavaScript Guru / Forum Moderator PTI Marketing Technologies | Printable | MarcomCentral 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@marcom.com. Complex template-building questions, as well as all installation and font questions or problems, should be directed to FusionProSupport@marcom.com. Paid consulting work may be required to fulfill your template-building needs. This is a publicly viewable forum. Please DO NOT post fonts, or other proprietary content, to this forum. Also, please DO NOT post any "live" data with real names, addresses, or any other personal, private, or confidential data. 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)}); ![]() |
#7
|
||||
|
||||
![]()
Okay, so to continue from my previous reply, here's how I think you can get the output you want.
In order to do what you describe here: Quote:
Code:
var result = []; var r = CreateResource("insert.pdf", "graphic"); var numpages = r.countPages; for (var p = 1; p <= numpages; p++) result.push('<graphic file="' + r.name + '" pagenumber=' + p + '>'); return result.join("<p>"); So instead of doing that, why not just add a whole new record for each page, and impose what FusionPro considers to be a bunch of single-page records? If you really don't care about preserving the integrity of the output record boundaries, then why deal with output "records" in that sense at all? It's really just a matter of setting up the job with a page with a graphic frame for the inserts (information sheets), instead of the overflow page, and refactoring the code above somewhat and putting it into the OnRecordStart rule. Something like this: Code:
var repeat = FusionPro.Composition.repeatRecordNumber; //var allPages = []; // defined in JavaScript Globals var numStaticPages = 2; if (repeat <= numStaticPages) { FusionPro.Composition.SetBodyPageUsage("static page " + repeat, true); if (repeat == 1) { allPages = []; for (var i = 1; i <= numStaticPages; i++) allPages.push([]); var r = CreateResource("insert.pdf", "graphic"); var numpages = r.countPages; for (var p = 1; p <= numpages; p++) allPages.push([r.name, p]); FusionPro.Composition.repeatRecordCount = allPages.length; } } else { FusionPro.Composition.SetBodyPageUsage("insert page", true); var pagerec = allPages[repeat-1]; var r = CreateResource(pagerec[0], "graphic"); r.pagenumber = pagerec[1]; var insertFrame = FindGraphicFrame("insert"); insertFrame.SetGraphic(r); }
__________________
Dan Korn FusionPro Developer / JavaScript Guru / Forum Moderator PTI Marketing Technologies | Printable | MarcomCentral 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@marcom.com. Complex template-building questions, as well as all installation and font questions or problems, should be directed to FusionProSupport@marcom.com. Paid consulting work may be required to fulfill your template-building needs. This is a publicly viewable forum. Please DO NOT post fonts, or other proprietary content, to this forum. Also, please DO NOT post any "live" data with real names, addresses, or any other personal, private, or confidential data. 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)}); ![]() Last edited by Dan Korn; October 27th, 2016 at 05:47 PM.. Reason: minor fix to rule |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|