Publishing Engine Programmer's Guide > PTC Arbortext Publishing > The Publishing Framework > The Outer Layer of the Publishing Framework > The Publishing Framework Callback Functions > The postprocess Callback
  
The postprocess Callback
The post-process callback is called after the content pipeline runs and it runs the content compiler(s). It also displays the results of the operation to the user (such as launching Adobe Acrobat Reader to view PDF output), and it also performs clean-up.
comp_type::postprocess_cb(doc, params[], interactive)
doc
is the document being published
params
is the parameter array
interactive
is set to 1 if the operation was invoked from the Arbortext Editor user interface
The callback can return:
-1
error detected, error message was logged
0
error detected, no message was logged
1
success