I'm writing a document with the class scrreprt.
I would like to draw borders around the pages of the document. I found some examples on how to do this with TikZ, but the borders I would like to draw are too complex (at least for my tikz skills), and I'm searching other solutions. In particular, I would like to have a border similar to the one depicted in this image - second page from the top:

For the record, the boxes in the document are produced with the package umrand, which is quite old - and in any case, I haven't found a way to use it to produce a border.
How can I produce a similar border on all the pages of the document?
Since I was asked to provide further details, here's what I tried. My idea was to try to get a box similar to the one shown above, and then find a way to use the code to draw the border around the page. Unfortunately the manual for the package umrand is in German, and the following code aborts because umrand.sty is not found:
\documentclass[a4paper,11pt]{scrreprt}
\usepackage{umrand}
\usepackage{niceframe}
\begin{document}
\RandBox{Test}
font {\UB} [0pt]
(\C5) ([\C1]) (\C4)
([\C2]) ([\CO])
(\C6) ([\C3]) (\C7)
\end{document}
I then tried to obtain a similar image with tikz but failed miserably. I'm currently trying to draw it but I'm nowhere near. Will update if I can get the image in tikz.
\AddThispageHookto\AddEverypageHook, and the result will carry across all pages of the document. – Steven B. Segletes Jan 27 '15 at 13:48scrlayer. But in any case, you need to provide how it should look like somehow. – Johannes_B Jan 27 '15 at 17:44\scalebox{H-scale}[V-scale]{\includegraphics...}to match the size. On the other hand, there also exist complex "corners" (for lack of a better word). With these, you would place an appropriate corner in each of the four paper corners. – Steven B. Segletes Jan 28 '15 at 10:57celticpackage maybe of help? https://ctan.math.utah.edu/ctan/tex-archive/graphics/pgf/contrib/celtic/celtic.pdf – TobiBS Jan 14 '22 at 17:01