Answer
A Document Macro handling this kind of file-open/print operation for a document needs to implement EVERY part of that operation itself, including the actual document-opening step — choosing to use a macro for a given file operation means you take over the entire operation rather than IFS handling parts of it automatically alongside your macro logic. The specific document's own filename is available among the standard scripting attributes exposed to a macro; check IFS's own macro-scripting documentation for the exact attribute name and a simple example showing how to access it. Building a genuinely working 'always print a fixed cover page before the real document' macro requires handling the complete print/open flow yourself within that one macro, rather than being able to simply hook in an extra step alongside IFS's own default document-open behavior.