Thanks Jan That's what I wanted. > - 'open' -- open the application > - 'odoc' -- open a document > - 'pdoc' -- print a document > - 'quit' -- quit the application