The StarDoc event is fired when the selected printer starts to print a document. The parameter of this event is the name (with the full path) of the generated group file.