Jump to content
David Schwartz

simple PDF editing need

Recommended Posts

I've got a couple hundred pages of PDF files in many documents and someone said they need me to put some ID numbers in the footer or a margin of every page. Ugh.

 

I don't have Acrobat and I'm not going to buy it just for this.

 

I've also used several PDF libs and I know they can be used, but again, they cost about what Acrobat costs. (I don't have access to any of them myself.)

 

Is there a simple PDF library for Delphi that I can use to put a small rectangle with a string in it onto every page in the same location on each one?

 

Kinda like printing a bunch of stickers and then putting them on each page in the same place (eg., vertically in the left margin)

Edited by David Schwartz

Share this post


Link to post

With my very limited knowledge in this area (in the information collecting stage for a possible future project), ActiveX solutions aside, AFAIK, there is only one free option - use the low-level API of PdfiumLib, but I'm not sure if there is any Delphi sample code.

 

If you can wait, ImageEn developer is planning to add such annotation feature to that lib (with has a PDF viewer already).

Share this post


Link to post
14 hours ago, David Schwartz said:

Kinda like printing a bunch of stickers and then putting them on each page in the same place (eg., vertically in the left margin)

So the numbers are not specific to the page(s)?

 

Affinity Publisher https://affinity.serif.com/en-us/publisher/ is an inexpensive tool which can edit a PDF and you could put the ID numbers into what they call master pages. That would remove the need for editing all the pages.

Share this post


Link to post
15 hours ago, Bill Meyer said:

So the numbers are not specific to the page(s)?

No. It's a bunch of paperwork the bank wants that's already in PDF files, including a few years of tax returns.

 

They want an ID printed on every page of every PDF, then FAXed to them

 

All the same info on every page in the same place.

 

I wonder how long it will be before banks move their data systems into the 21st Century?

Edited by David Schwartz

Share this post


Link to post
6 hours ago, David Schwartz said:

No. It's a bunch of paperwork the bank wants that's already in PDF files, including a few years of tax returns.

 

They want an ID printed on every page of every PDF, then FAXed to them

 

All the same info on every page in the same place.

 

I wonder how long it will be before banks move their data systems into the 21st Century?

Using Pdfium (free), you can convert PDF page to bitmap, add what you need and print this bitmap.

Synopse contains SynPdf.pas, which allows you to create PDF (from that bitmap, for example).

Edited by Vandrovnik
  • Like 1

Share this post


Link to post
7 hours ago, David Schwartz said:

They want an ID printed on every page of every PDF, then FAXed to them

  

All the same info on every page in the same place. 

That's much simpler. PDF split to images - many tools can do it, f.ex. free PDF-XChange viewer. Then add your ID with image processing tool that allows batch processing (IrfanView is free and powerful). Then join images back to PDF - the same PDF-XChange viewer can do it too

  • Like 2

Share this post


Link to post
Guest

The "make image - manipulate image - send" solution re documents is something that has boomed during the pandemic in a host of "digitally sign" services.

Taking note on the huge accessibility debate/development/legal/awareness-discourse that i personally is very involved with, i really really hope that such measures will disappear.

People who need screen-readers cannot sign legal documents digitally with these solutions.

Sure, for the above scenario, the bank requested a fax so any actual text will be destroyed in that step anyway, but who knows, lets hope the bank becomes a modern employer and start employing people that are visually challenged. Or... as already wished for, a more current digital approach.

 

So a bit OT - anyone of you found a digital signing service where the signee can actually read a proper PDF or OOXML document? I have a very interested client (with a limited budget).

 

I am sorry David that i cannot be of more help.

Share this post


Link to post
1 hour ago, Dany Marmur said:

"make image - manipulate image - send"

Make document - print - scan to image - send - manipulate image - send - OCR to text - read 🙂

Share this post


Link to post
3 hours ago, Dany Marmur said:

the bank requested a fax so any actual text will be destroyed in that step anyway,

the paperwork can be submitted via FAX or printed and sent via snail mail. 

 

FAX is easier. 

 

My sister solved the problem with NitroPDF and combined all of the documents into a single large document, then added a header in the top margin with the required info.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×