[fusionpro] Re: Page Count
Larry, To create a simple master count rule with the following: var inputfile = (your OnJobStart or JS Global External Input File here) return inputfile.recordCount; This will return the total records of the input file. If you need a more complex version, you'll have to compare what triggers your data to your x pages and determine if that trigger exist, then return that count... and so on. Without know more, hope that helps. Ryan +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- Calling all FP Web Users! Do you have a question or lots of knowledge to share about FusionPro Web? If so, join our Printable Web to Print Users' Forum today! Send email to [EMAIL PROTECTED] to find out how! +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- -- Users of FusionPro Desktop have unlimited free email support. Contact Printable Support at [EMAIL PROTECTED] -- View FusionPro Knowledge Base, FusionPro Samples at www.printable.com/vdp/desktop.htm -- You are currently subscribed to fusionpro as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] -- -- Note: All e-mail sent to or from this address will be received or otherwise recorded by the e-mail recipients of this forum. It is subject to archival, monitoring or review by, and/or disclosure to someone other than the recipient. Our privacy policy is posted on www.printplanet.com --
[fusionpro] Re: Page Count
I am using Overflow Pages and the $pagecount works great on them. But what your saying is there is no way to total after composition. This would be a great enhancement. On Jun 27, 2007, at 10:50 AM, Dan Korn wrote: If you're changing Body Page Usage, then you could certainly keep track of how many pages you enable for each record. But if you're using Overflow Pages, then I don't know of any way to get those kinds of metrics from the composition in terms of the actual number of pages composed. That would be an interesting enhancement. A related enhancement (although harder to implement) would be to allow the current page number to be used in the context of a rule on a specific page. You should go ahead and post the question to the forum anyway, because (a) it will let us know if other people are looking for that functionality, and (b) Marketing will see it coming directly from a customer and add it as an enhancement request. Also, someone out there may have thought of something that I haven't. Dan +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- Calling all FP Web Users! Do you have a question or lots of knowledge to share about FusionPro Web? If so, join our Printable Web to Print Users' Forum today! Send email to [EMAIL PROTECTED] to find out how! +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- -- Users of FusionPro Desktop have unlimited free email support. Contact Printable Support at [EMAIL PROTECTED] -- View FusionPro Knowledge Base, FusionPro Samples at www.printable.com/vdp/desktop.htm -- You are currently subscribed to fusionpro as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] -- -- Note: All e-mail sent to or from this address will be received or otherwise recorded by the e-mail recipients of this forum. It is subject to archival, monitoring or review by, and/or disclosure to someone other than the recipient. Our privacy policy is posted on www.printplanet.com --
[fusionpro] Re: Page Count
As I said in my off-list message, there's no way to directly retrieve those kinds of metrics from FusionPro, but it would be a good enhancement. One workaround I can think of is to compose each record to its own output file and then count the pages in each one. You could even create a rule to iterate through the output files and count the pages using the FusionProResource.countPages method. You could do this in the OnNewOutputFile rule for the previous record's output file. (You'll need to add an extra dummy record at the end of the job for the last record.) Dan +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- Calling all FP Web Users! Do you have a question or lots of knowledge to share about FusionPro Web? If so, join our Printable Web to Print Users' Forum today! Send email to [EMAIL PROTECTED] to find out how! +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- -- Users of FusionPro Desktop have unlimited free email support. Contact Printable Support at [EMAIL PROTECTED] -- View FusionPro Knowledge Base, FusionPro Samples at www.printable.com/vdp/desktop.htm -- You are currently subscribed to fusionpro as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] -- -- Note: All e-mail sent to or from this address will be received or otherwise recorded by the e-mail recipients of this forum. It is subject to archival, monitoring or review by, and/or disclosure to someone other than the recipient. Our privacy policy is posted on www.printplanet.com --