Skip to content

Open Print Template

Overview

Open a specific page of the print template module in a dialog box

Parameter Configuration

ParameterDescription
ModuleThe module to which the opened Print Template belongs
PageThe print template to be opened
WidthThe width of the display dialog box. Context variables can be obtained using expressions to specify dynamic content
HeightThe height of the display dialog box. Context variables can be obtained using expressions to specify dynamic content
Display Print ButtonWhether to allow direct printing of the print template content
Display Save as Image ButtonWhether to allow direct display of save as image
Automatically Close Dialog Box After PrintingWhether to automatically close the print template window after the user clicks the print button
Automatically Close Dialog Box After Saving as ImageWhether to automatically close the print template window after the user clicks the print button
Batch DisplayWhether to display print template content in batches
List DataWhen Batch Display is enabled, the list data to be rendered. Context variables can be obtained using expressions to specify dynamic content
List Item Property NameWhen Batch Display is enabled, the property name of the individual list data items to be rendered
Page DataWhen Batch Display is not enabled, the data used for page rendering

Usage Instructions

  • Dialog Box Width and Height The set dynamic content needs to have size units, unit range refer to

  • Print Template Print template configuration and usage refer to

Usage Scenarios

  • Form page controls, open the Print Template bound to the form for printing output
  • View page controls, open the Print Template bound to the list data for batch printing