Layout expressions

Posted by: JT

Layout expressions - 01/30/08 10:52 AM

Hi, I am creating a book in PrintShop Mail 6, it has 12 intro pages and then 100 numbered pages and finally 10 pages of notes. Each book is also numbered in sequence using RECORD_NR.

The pages are numbered using ;

COUNTER(PAGE_NR()- VAL("12"), 100, 1, 3, True)

on a single layout, with number of copies set to 100

My question is how do I set an expression to skip the final notes pages until the 100 pages have printed?

Thanks, I hope this makes sense.
Posted by: Raphael Lalonde Lefebvre

Re: Layout expressions - 01/31/08 11:28 AM


In the page's expression, you could use something like this:

IF(RECORD_NR() = 100, Print, Skip)
This way, if the record's number is 100, the page will be printed. Otherwise, it will be skipped.

If you don't remember where the layout's expression is, select your layout in the panels to the right. In the Properties panel to the top-right, expand the "Action" option, and you'll be able to access the expression for that layout.

Hope that helps.

Posted by: JT

Re: Layout expressions - 02/01/08 04:46 AM

The problem is each book is a single record,
the page numbers are taken from the PAGE_NR function, and book number from RECORD_NR.

When I set

IF(PAGE_NR() > 100, Print, Skip)

It won't work..

Basically what I'm trying to do is have one layout print a set number of times before printing the next layout, in a single record.

Posted by: Anonymous

Re: Layout expressions - 02/01/08 02:01 PM

Hi JT,

I strongly suggest that you open an issue with us and submit your form so we can better analyze your project and provide a solution.

Via web.
Via phone: 514-875-5863 x.555

Best regards,

Posted by: Anonymous

Re: Layout expressions - 02/04/08 02:58 AM

The current COPIES function copies records or parts of records, so copied pages are printed after the first record session is printed.

To print copies prior the next pages, you can
Posted by: JT

Re: Layout expressions - 02/04/08 05:23 AM

Thanks Alfons, I did consider that but I didn't want to have 100 indentical layouts and thought there might be an easy workaround to allow layout repetition within a single record.
Posted by: Anonymous

Re: Layout expressions - 02/04/08 05:34 AM

I understand, but there is currently no other way to achieve the thing you want as far as I know. Is this type of document something you have more often?

An easy way to duplicate so many layouts is to do a multi select in the layout tab of the layouts you want to duplicate.

e.g. select one, duplicate, select the two, duplicate, select the four, duplicate etc.