A
A
antonwx2019-10-15 10:28:31
Automation
antonwx, 2019-10-15 10:28:31

How to automate printing in Publisher or Pdf?

Given: a document in Publisher format and a list of strings, about three hundred. For each line, you need to print a document that differs from others, in fact, only by this line in the document. Of course, you don't want to do this by hand. Is there any way to automate the process? Say, create 300 files with a replaced string, or a document with 300 pages, the output does not have to be in Publisher, you can use the same Pdf.
From the point of view of the algorithm, I see it something like this, the line %placeholder% is searched in the source file, replaced with a list element, stored in a separate file / page, and all this is repeated for each line of the list.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
antonwx, 2019-10-15
@antonwx

Total - no way. I saved it in html, then I created a bunch of files with a super-simple script and printed it out from chrome as a result. It is a pity that the office still does not have such functionality.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question