The .print index command prints the sorted index of words and page numbers. The index is sorted in alphabetical order, and printed two columns per page. The .print index command changes the tab settings, and issues a .begin page command.
.print index