#11
|
|||
|
|||
![]()
I apologize for being real dumb here but I can't get the $impositionsheetnumber and $impositiontotalsheets variables to work in a text box. I tried adding the << and >> but it looks at it as literal text.
I also tried using the a javascript rule using FusionPro.Composition.impositionSheetNumber and FusionPro.Composition.impositionTotalSheets but not sure how to get the syntax to work.
__________________
Don Reimer - JavaScript Novice MAC OS 10.14.6 Acrobat DC FP Creator 12.0.1 |
#12
|
||||
|
||||
![]() Quote:
Quote:
Code:
return "Sheet " + FusionPro.Composition.impositionSheetNumber + " of " + FusionPro.Composition.impositionTotalSheets; The sample job posted earlier in this thread has examples of most of what you need to do.
__________________
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)}); ![]() |
#13
|
|||
|
|||
![]()
OK, those both work perfectly.
Onto the next problem I need to figure out! This one may not work. Is there a way to also pull from the data the description (it is in a data field in my source data) for the first and last page that goes onto each imposed sheet? So for example, can I pull from a data field the description for record 1 and 70 and populate that on my template page to the imposed sheet 1, then pull data from the same field for records 71 and 140 to go on imposed sheet 2? I don't think this would be possible but you never know? Thank you for your patience!
__________________
Don Reimer - JavaScript Novice MAC OS 10.14.6 Acrobat DC FP Creator 12.0.1 Last edited by dreimer; June 3rd, 2014 at 12:17 PM.. |
#14
|
||||
|
||||
![]() Quote:
There probably is some tricky way to accomplish it, but I think that's beyond what can be done in the context of this forum. You might want to consider redesigning the job to do a manual type of imposition, by outputting Repeatable Components into frames on a Body page, or maybe with a table, and reading in the data with ExternalDataFileEx, which would give you arbitrary (random) access into the data.
__________________
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)}); ![]() |
#15
|
|||
|
|||
![]()
Kind of figured that. I think I have a decent enough workaround by configuring the data a little differently upfront. I will just use the imposed file as my new FP template and impose that one with additional text boxes. Won't need the code you gave me previously, but I will for sure use that code for other things.
Thanks again!
__________________
Don Reimer - JavaScript Novice MAC OS 10.14.6 Acrobat DC FP Creator 12.0.1 |
#16
|
|||
|
|||
![]()
I can't get the "impositionTotalSheets" to work. When I compose I get the impositionsheetnumber to count correctly but the total always returns 0. So I end up with 1 of 0, 2 of 0, 3 of 0, and so on.
Any ideas doesn't matter how many records I try.
__________________
Don Reimer - JavaScript Novice MAC OS 10.14.6 Acrobat DC FP Creator 12.0.1 |
#17
|
||||
|
||||
![]() Quote:
Code:
FusionPro.Composition.forcePreprocessing = true;
__________________
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)}); ![]() |
#18
|
|||
|
|||
![]()
I know I was thinking this was going to work for a new job today and no luck. Thanks for the response and I will give that a try.
__________________
Don Reimer - JavaScript Novice MAC OS 10.14.6 Acrobat DC FP Creator 12.0.1 |
#19
|
|||
|
|||
![]()
Looks like that did it, thanks!!
__________________
Don Reimer - JavaScript Novice MAC OS 10.14.6 Acrobat DC FP Creator 12.0.1 |
#20
|
||||
|
||||
![]()
Have an additional request to this ... not quite sure if it's totally related though ...
I'm using the saddle stitch imposition scheme and I would like FusionPro to output the sheet number for each signature of the booklet that is being produced. There are 12 pages in the booklet in all and I would like something like "Impo sheet 1 of 3", "Impo sheet 2 of 3", "Impo sheet 3 of 3" to appear on the bottom of one side of the 6 sheets that the saddle stitch output pdf will contain. That way even if there are no page numbers in the actual document that is being printed, trimmed and stitched our bindery will still know the correct order. Getting the tag line to print only on one side was simple enough but they all say "Impo sheet 1 of 1" for all three sections. Am I missing something? I've placed this in the text box on the imposition sheet Code:
Impo sheet: «$impositionsheetnumber» of «$impositiontotalsheets» .
__________________
David A. Sweet Variable Data Specialist HKM Direct Market Communications Windows 7, Acrobat 10.x FusionPro Desktop and Server 10.0.26 |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|