I
I
ivanko2014-03-06 19:16:43
Seal
ivanko, 2014-03-06 19:16:43

How to print with headers and footers regardless of the document format?

Colleagues!
There is a task to print documents with certain metadata. For example, to indicate in the headers and footers the file name, the owner of the file, the name of the process from which printing is being done, and a bunch of other arbitrary information - for each page or page by page, while maintaining the formatting of the document page by page.
There is an idea to do this through a virtual printer of this kind - it receives a print request, after which it receives additional metadata for inclusion through the SDK or through a request to the user. After that, it formats the footers and headers for the transferred blocks, displays a reduced copy of the original page in the remaining space.
Restrictions - OS Windows is not older than XP, Delphi language.
How deep do you have to dig into the Windows API?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question