Document Types > Creating a Document Type Definition (DTD) > Configuring the Published Print Process for a Document Type
Configuring the Published Print Process for a Document Type
You can configure your document type to allow users to select a stylesheet when previewing a document or printing a published view.
To configure the published print process:
1. Open Arbortext Architect.
2. Choose File > Open.
3. Locate the directory in which the document type whose .dcf file you want to modify is saved, and click Select.
4. Once the document type is loaded, choose Edit > DCF. If the document type has a .dcf file, it displays in the Arbortext ArchitectDCF Editor window. If there is no .dcf file associated with this document type, Arbortext Architect automatically creates one.
5. Locate the Options element in the DCF Editor. If the file doesn't include an Options element, add one.
Open the Document Type Viewer (Tools > Document Type Viewer) to view the element hierarchy for the .dcf file. This will help you determine the valid location for the Options element.
6. Click next to the Options element to open the Modify Attributes dialog box.
You must have the Force Required Attributes EntryEdit preference selected for this dialog box to open automatically.
7. Select yes in the AllowComposeStylesheetList field to enable the Stylesheet field in the Preview and Print dialog boxes.
Select No if you don't want users to be able to select the stylesheet when previewing or printing a composed view. When they select File > Print Preview or File > Print, the document will be published using the stylesheet set by the Print/PDF option in the Select Stylesheet dialog box.
8. Click OK.
9. Choose File > Save to save the changes you have made to the .dcf file.
You may need to set the compose type for print in the Composition element in the .dcf. Each compose entry configures an allowable output type and an optional .ccf composer configuration file.