15001 Print must be of a frame
Cause
This error is raised by the print method of the Printer class when there is an attempt to print a control other than a frame.
Action
Change your application code to ensure that the control to be printed is a frame.