# Put something manually into the header of the current page

Is it possible to write something custom into the header of the current page for example like this pseudocode

\documentclass{article}

\begin{document}
\newpage
\newpage
\thispageheader[L]{Just another Text on the left} %Displays only this in the header
\end{document}


It's important for me that everything is done locally. I don't want to define different fancy header styles globally for each manual header text.

As long as you are willing to define the pages in a group, it is relatively easy

\documentclass{article}

\usepackage{fancyhdr}
\usepackage{lipsum}

\pagestyle{fancy}
\begin{document}

\lipsum[1]
\newpage}

\newcommand{\resetheaders}{\def\headerL{}\def\headerC{}\def\headerR{}}