2022.2

Table Of Contents
Field Type Description
height
String Print sections only.TheheightofthesectionusingaMeasurementstring.Forexample,
"11in"is11inches.
InaControlScriptthispropertycanbeusedtosettheheightofthesection.Inotherscriptsit
isonlypossibletogettheheightofthesection(read-only).
"html()"onpage1291
GetsorsetstheHTMLofthebodyelement.
margins
Margins Print sections only.Usedtosettheprintmarginsofasection.Youcansetthebottom,left,right
andtopmarginusingaMeasurementstring;forexample,"2in"setsamarginto2inches.
minPages
Number Minimumnumberofpagesinthesection.Thedefaultis1.
name
String Usedtogetorsetthenameofthesection.Notethatsectionnamesmustbeuniqueandthatsec-
tionscannothaveanintegerasitsname.Thenameshouldalwaysincludealphanumericchar-
acters.
Torenameemailattachments,usethefieldpart.
ownerPassword
String Print sections only.UsedtosettheownerpasswordforaPDFattachment.*Settingonly
theownerpasswordcreatesasecuredPDFthatcanbefreelyviewed,butcannotbemanip-
ulatedunlesstheownerpasswordisprovided.(NotethattherecipientneedsAdobeAcrobat
todothis,becausetheAcrobatReaderdoesnotallowuserstoentertheownerpassword.)
See"ControlScript:SecuringPDFattachments"onpage849.
pagination
"Pagination"on
page1313
Post Pagination scripts only.Containsthetotalpagecount,sheetcountandstart/end
pagenumbersofasinglesection.
part
String Nameforthepart.partisusedtospecifywhereanewpartstartsandthetitleforthepart.Thisis
usedtosplitEmailattachments.TheEmailoutputcan,forexample,attach3PDFsgeneratedfrom
thePrintcontext.Thepartnamewillbeusedasthefilenamefortheattachment.See"Parts:split-
tingandrenamingemailattachments"onpage843.
password
String Print sections only.UsedtosettheuserpasswordandownerpasswordforaPDFattachmentto
thesamevalue.See"ControlScript:SecuringPDFattachments"onpage849.*
restartPageNumber
Boolean Print sections only.Enablesordisablesarestartofthepagenumbering.WhengeneratingPrint
outputthiscanbeusedtoletpagenumberingcontinueovermultiplesections.
Thedefaultvalueisfalse,meaningthateachsectionwillstartwithpage1(toemulatebehavior
ofpreviousversions).
"sheetConfig"on
page1288
SheetConfig Print sections only.OverridestheMasterPage,MediaandDuplexprintingoptionsof
first/middle/last/singleorallsheetsinaPrintsection.
width
String Print sections only.ThewidthofthesectionusingaMeasurementstring.Forexample,
"8.5in"is8.5inches.
InaControlScriptthispropertycanbeusedtochangethewidthofthesection.Inother
scriptsitisonlypossibletogetthewidthofthesection(read-only).
*Thepassword(s)shouldbesetonthefirstPrintsectionwhenproducingasingleattachment,oronthe
firstsectionofeachpartwhenproducingmultipleattachments.Eachoftheparts(attachments)may
Page 1307