PRINTING
Introduction
The PRINTING section allows you to use the same language as the ROUTE section of the DSC to programmatically create a PDF (or other format) of the questionnaire, either with or without individual response data.
The following additional functions are available in the PRINTING section:
PAGE()- Insert a hard page breakPRINT()- Print a question (equivalent toASK)PRINTCANVAS()- Print a CANVAS structure (equivalent toDISPLAYCANVAS)
The following display-related functions and constructs are not valid in the PRINTING section:
NEWPAGE()ENDPAGE()ASK()XASK()STORE()DISPLAYCANVAS()CHECK: {}
For further information on using the PRINTING section, see ....
Example
``` QUESTIONS
Q1 : INTEGER
ROUTE
NEWPAGE() ASK(Q1) ENDPAGE()
PRINTING
PAGE() MESSAGE("This is some text") PRINT(Q1)