You are here: DAL Examples > Preparing PCL print streams for Docusave

Preparing PCL print streams for Docusave

To add Docusave comments to an PCL print stream, add the DocusaveScript option and the name of a DAL script to execute. The DAL script should call the AddDocusaveComment function to add a string as a Docusave comment record. Here is an example:

< PrtType:PCL >

DocusaveScript = DOCUSAVE.DAL

Here is an example of what the DOCUSAVE.DAL file might look like:

* Add Docusave Comment - use default: APPIDX record!

COMMENT = AppIdxRec()
PRINT_IT(COMMENT)
ADDDOCUSAVECOMMENT(COMMENT)
RETURN('FINISHED!')