DITA topicref attribute @print (with value yes, no, or printonly) allows you to specify whether the referenced topic is to be included in print output, excluded from print output, or included only in print output.
By default, DITA2Go includes topics referenced with @print="printonly" in RTF output for Word or WordPerfect, but in no other output type. To include topics for which @print="printonly" in other output types:
[Setup]
; PrintProject = No (default) or Yes (override topic inclusion
; that is based on value of @print attribute)
PrintProject = Yes
When PrintProject=Yes, topics for which @print=printonly are included in output.
When PrintProject=No, topics for which @print="printonly" are included only in Word or WordPerfect output; and topics for which @print="no" are included in all outputs, except for Word and WordPerfect.
Table 4-2 shows the effect of the PrintProject setting for different values of the @print attribute.
Note: You do not need to specify a PrintProject setting at all unless you are trying to override normal expectations for type of output.
If your DITA maps do not include values for the topicref @print attribute, you can achieve the same effect with PI markers inserted in the topicrefs, and a ditaval file. For example:
In this example the effect on DITA2Go output is the same as if you had included @print="printonly" in the topicref for each such topic.