2022.2

Table Of Contents
l
ThePrintcontextiscreatedandonePrint sectionisaddedtoit.Youcanseethisonthe
Resourcespane:expandtheContextsfolder,andthenexpandthePrintfolder.
ThePrintcontextcancontainmultiplesections:acoveringletterandapolicy,forexample,orone
sectionthatismeanttobeattachedtoanemailasaPDFfileandanotheronethatisgoingtobe
printedoutonpaper.OnlyonePrintsectionisaddedtoitatthebeginning,butyoucanaddas
manyprintsectionsasyouneed;see"AddingaPrintsection"onpage448.
See"Printsections"onpage447tolearnhowtofillaPrintsection.
l
OneMaster Pageisaddedtothetemplate,ascanbeseenontheResourcespane,inthe
Master Pagefolder.
InPrintsections,thereareoftenelementsthatneedtoberepeatedacrosspages,likeheaders,
footersandlogos.Inaddition,someelementsshouldappearoneachfirstpage,oronlyonpages
inbetweenthefirstandthelastpage,oronlyonthelastpage.Examplesareadifferentheader
onthefirstpage,andatear-offslipthatshouldshowuponthelastpage.
ThisiswhatMasterPagesareusedfor.MasterPagescanonlybeusedinthePrintcontext.
See"MasterPages"onpage462.
Initially,the(empty)masterpagethathasbeencreatedwiththePrintcontextwillbeappliedtoall
pagesinthePrintsection,butmoreMasterPagescanbeaddedandappliedtodifferentpages.
l
OneMediaisaddedtothetemplate,asisvisibleontheResourcespane,intheMediafolder.
Thisfoldercanholdthecompany'sstationeryintheformofPDFfiles.Whenappliedtoapagein
aPrintsection,MediacanhelppreventthecontentsofaPrintsectionfromcollidingwiththecon-
tentsofthestationery.See"Media"onpage465tolearnhowtoaddMediaand,optionally,print
them.
Initially,the(empty)mediathathasbeencreatedwiththePrintcontext,isappliedtoallpagesin
thePrintsection.YoucanaddmoreMediaandapplythemeachtodifferentpages.
l
OneStylesheet,namedcontext_print_styles.css,isaddedtothetemplate,asyoucanseeon
theResourcespane,intheStylesheetsfolder.Thisstylesheetismeanttobeusedforstylesthat
areonlyappliedtoelementsinthePrintcontext.Seealso"StylingtemplateswithCSSfiles"on
page672.
PrintsettingsinthePrintcontextandsections
ThefollowingsettingsinthePrintcontextandPrintsectionshaveanimpactonhowthePrintcontextis
printed.
Arranging and selecting sections
ThePrintcontextcancontainoneormorePrintsections.WhengeneratingoutputfromthePrintcon-
text,eachofthePrintsectionsisaddedtotheoutputdocument,oneaftertheotherinsequence,for
Page 444