Design&Print: Dynamic template: Can I print a file on the cover?

Started by ubacher, April 26, 2016, 06:33:51 PM

Previous topic - Next topic

ubacher

Dynamic templates:
There seems to be no way to put an image on the Front Cover (nor on header and footer pages) - is there?

(I wanted to print the first file on the cover)


sinus

Best wishes from Switzerland! :-)
Markus

Mario

You cannot access the file collection outside the group pages.
Just print whatever image you like using a normal graphic container. This container type can be used on covers, headers etc.

If you use a group header as the 'cover' page, you can access the files in that group using variables like

{Group:first.File.FullName}

If you use that as the file name for the graphics container, it will automatically print the first file in that group on the header.

See the section Dynamic Variables in the printing documentation for a list of all available variables.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

ubacher

Tried the group cover page as you said.

Has the problem that it does not consume the file.

All this just means that the title page needs to be hardcoded in the template.
It is the same with the title - since it too can not be taken from a file.

Mario

QuoteHas the problem that it does not consume the file.

Of course not. It's just a graphics container. They never consume files. And header/footer pages don't consume files either.
Reconsider your approach.
Maybe add a normal group page which prints only once (hide it via variable).
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

ubacher


QuoteMaybe add a normal group page which prints only once (hide it via variable).
Tried this.
How do I specify the HIDDEN property? I tried:
{Print.Document.PageNumber|is,1,False,True}
to print the first page, the reverse to print following pages.

However this expression seems to return the page number and not true or false.
( I also tried a |cast:int before the comparison with numcomp - no success)

Something else I don't understand: Under CONTAINERS there is a page listed????? See screen shot.

[attachment deleted by admin]

Mario

-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

ubacher

I did try numcomp (after a cast:int).
Did not make a difference.

Mario

1. Add a group header page. Make it hidden.
2. Use this formula for the page you only want to print:

{Print.Group.PageNumber|numcomp:eq,1,0,1}

I've made a quick check and it does the job. Please remember than printing has so many options and users come up with so many things they want to do...not everything is possible, some things require a bit of tinkering or creative thinking. I'm not doing free print design consulting here.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook