To display a header on the page when printing an item:
Right-click a text item, and then click Printer > Print Options.
In the Job Name field, add a %f to display the file name and a %p to display the path.
Click OK.