Jump to content

8.2 Imposition Sheet Options?


esmith

Recommended Posts

I found this example and was able to get a custom impo sheet working. Are there any other constants built in to FP/FPImposer that can be referenced on these special pages? Can the constants be used in text rules (i.e. to pad numbers) with rules being inserted into these template pages?

 

P.S. The downloaded example does not include data which makes it difficult to see the results. ;)

Link to comment
Share on other sites

I found this example and was able to get a custom impo sheet working. Are there any other constants built in to FP/FPImposer that can be referenced on these special pages? Can the constants be used in text rules (i.e. to pad numbers) with rules being inserted into these template pages?

The properties you can access in JavaScript are all included in the Building Blocks dialog, on the Objects tab, under FusionPro (Global) -> Compostion -> Imposition.

 

The variables you can access in text are there in the Variable drop-down list in the Variable Text Editor dialog.

P.S. The downloaded example does not include data which makes it difficult to see the results. ;)

The post you quote says very specifically:

Unzip the files to the "Working Files" subfolder of the "Real Estate Mailer" tutorial and compose.

If you follow those instructions, the data is indeed there.

Link to comment
Share on other sites

Okay, there are actually a few other properties and variables you can access, besides the ones shown in the GUI.

 

For text variables, these include:

 

  • $pagenum
  • $pagecount
  • $inputrecordnumber
  • $repeatnumber
  • $repeatrecordcount
  • $outputrecordnumber
  • $outputrecordnumberbysheet
  • $processedrecordnumber
  • $impositionsheetnumber
  • $impositionsheetside
  • $impositiontotalsheets
  • $totalrecordcount
  • $pagenumberinchunk
  • $pagenumberinjob
  • $recordnumberinchunk

For JavaScript, these include the following properties of FusionPro.Composition:

 

  • inputRecordNumber
  • repeatRecordNumber
  • repeatRecordCount
  • outputRecordNumber
  • outputRecordNumberBySheet
  • processedRecordNumber
  • pageNumberInRecord
  • pageNumberInChunk
  • pageNumberInJob
  • currentPageNumber
  • totalPages
  • impositionSheetNumber
  • impositionSheetIsBack
  • impositionSheetSide
  • impositionTotalSheets
  • totalRecordCount
  • recordNumberInChunk

 

Some of these are valid only if preprocessing has been done to count records and layout imposed sheets before the main composition run.

Edited by Dan Korn
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...