I know it is possible to check the box "Include headers on first page" in the "Headers and Footers" dialog box of the Print Settings menu item, but is it also possible to check this using commands in the Notebook itself? It would be for the current notebook.
Thanks for all help, as always!
Answer
SetOptions[EvaluationNotebook[], PrintingOptions -> {"FirstPageHeader" -> True}]
You can open $InstallationDirectory/SystemFiles/FrontEnd/SystemResources/HeadersFootersDialog.nb as text file and find all possible options. For completeness I want add that with
SetOptions[EvaluationNotebook[], PageHeaders -> {{"a1", "a2", "a3"}, {"a4", "a5", "a6"}}]
you can set headers. See also: PageHeaders, PageFooters, PageHeaderLines, PageFooterLines.
Comments
Post a Comment