Footer using command lines

Hi,
Is it possible to insert a footer in PDF files using command lines in Windows?
If so, how is the syntax for that?

Thank you in advance.

Please give some more details about your task.

Do you want to edit a PDF file

  • in the LO, but you want to control the LO from the command line?
  • by the control line directly (without any PDF editor/manipulator software)?
  • by a PDF viewer/editor software (adobe) but you want to control the PDF viewer/editor software from the command line?

QPDF does watermarking for PDF files from the command line. Perhaps a way to do footers? My experience is with Linux, but told it is available for Windows. I’d check more but on mobile for the holidays. If you are a C++ programmer, I think it’s FOSS.

I want to automatically print PDF files. Before printning a footer should be automatically added to the PDF files.

Nothing to do with LibreOffice but his page looks a promising lead, Numbering the pages of a PDF – Blog of Andrés Aravena

Perhaps I misunderstood this, I want to clarify. Do you need a printed PDF document and do you need a footer on every page of the printout? How about double printing? Print many sheets (pages? papers?) with footers, insert them into the printer, and print PDF files.

Writer (and LO in general) is definitely not the right tool to manipulate PDFs. PDFs are “frozen” graphical files (yes! even if they usually contain mainly text) where all “discourse structure” have been erased. Consequently, Writer can do nothing because you haveno longer any notion of area in a page (no header, content or footer; only a “surface” object). Moreover, only Draw can open a PDF and it does so as a collection of shapes.

Which software do you suggest instead of LibreOffice? It has to support wildcards like
*. pdf.

Since I never needed to edit PDFs “structurally” up to now, I have no idea. Adobe probably has adequate tools, but they are likely to be commercial.
Handling wildcards to select files is usually a feature of the OS (the shell utility).