Go Back   MarcomCentral (PTI) and FusionPro User Communities > Software-Related Talk > FusionPro® VDP Creator > Imposition

Notices

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old July 20th, 2021, 11:10 AM
vicki vicki is offline
Junior Community Member
 
Join Date: Jun 2010
Posts: 11
Default Stacks and Total Sheet Count

When using stacks and sheet counts I'm having a problem getting the correct total sheet count after the 2nd stack.

I've attached the small test files I've been using – 2up, stacks of 10.

If I run 20 records it comes out fine. Slugline reads F. 1 of 10, F. 2 of 10, etc. If I run 17 records it comes out fine .... F. 1 of 9, 2 of 9, etc.
BUT if I run 26 records I get ... 1 of 15, 2 of 15, 3 of 15, like it's a full stack when it isn't. It should read 1 of 13, 2 of 13, etc.
Attached Files
File Type: zip FP Stack Sheet Count Test.zip (87.4 KB, 5 views)

Last edited by vicki; July 21st, 2021 at 01:47 PM.. Reason: add attachment
Reply With Quote
  #2  
Old July 21st, 2021, 01:35 PM
Dan Korn's Avatar
Dan Korn Dan Korn is offline
FusionPro Senior Engineer / Forum Moderator
 
Join Date: Aug 2008
Location: Chicago, IL
Posts: 4,671
Default Re: Stacks and Total Sheet Count

I don't see any attachment.
__________________
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@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)});
Reply With Quote
  #3  
Old July 21st, 2021, 01:48 PM
vicki vicki is offline
Junior Community Member
 
Join Date: Jun 2010
Posts: 11
Default Re: Stacks and Total Sheet Count

Helped to hit "upload".
Attached Files
File Type: zip FP Stack Sheet Count Test.zip (87.4 KB, 1 views)

Last edited by vicki; July 23rd, 2021 at 07:49 AM..
Reply With Quote
  #4  
Old July 28th, 2021, 09:27 AM
vicki vicki is offline
Junior Community Member
 
Join Date: Jun 2010
Posts: 11
Default Re: Stacks and Total Sheet Count

I've uploaded the files.

Thanks.
Attached Files
File Type: zip FP Stack Sheet Count Test.zip (87.4 KB, 3 views)
Reply With Quote
  #5  
Old July 28th, 2021, 07:15 PM
Dan Korn's Avatar
Dan Korn Dan Korn is offline
FusionPro Senior Engineer / Forum Moderator
 
Join Date: Aug 2008
Location: Chicago, IL
Posts: 4,671
Default Re: Stacks and Total Sheet Count

Thanks for creating a great sample job which demonstrates the problem clearly.

This is a bug in the calculation of the total number of imposed sheets when one or more stacks are "short", i.e. there are not enough composed output records/pages to completely fill the number of sheets defined for the stack. Typically, as in this case, it's the last sheet that's short.

You can work around this by calculating the number of sheets based on the total record count and the number of sheets in a stack. In this job, you can modify the rule "Slugline Rule" like so:
Code:
var sheet = FusionPro.Composition.impositionSheetNumber || 1;

//var totalSheets = FusionPro.Composition.impositionTotalSheets;
// Work around bug with calculating the total number of sheets when stacks (such as the last) are incomplete.
var recordsPerSheet = 2; // for "stack test.fpi"
var totalRecs = FusionPro.Composition.totalRecordCount || 1;
var totalSheets = Math.ceil(totalRecs / recordsPerSheet);

return "F. " + sheet + " of " + totalSheets;
I've entered a case about this, FP-508.
__________________
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@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)});
Reply With Quote
  #6  
Old August 11th, 2021, 08:40 AM
vicki vicki is offline
Junior Community Member
 
Join Date: Jun 2010
Posts: 11
Default Re: Stacks and Total Sheet Count

Thanks so much.
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 04:18 PM.


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