To add a Prism command to the tear-off region, issue the pushbutton command, specifying the label for the tear-off button and the command it is to execute. The label must be a single word. The command can be any valid Prism command, along with its arguments. For example,
pushbutton printa print a on dedicated
adds a button labeled printa to the tear-off region. Clicking on it executes the command print a on dedicated.
To remove a button created via the pushbutton command, you can either click on it while in tear-off mode, or issue the untearoff command as described above.