Replace PDF Page Generic Error

Discussions about PDF management.
Post Reply
wedmondson
Posts: 10
Joined: Tue Aug 04, 2020 12:04 am

Replace PDF Page Generic Error

Post by wedmondson » Wed Sep 23, 2020 4:16 pm

I am trying to replace a page in a pdf by
  • Deleting the page from the destination pdf
  • Cloning the page from the source pdf
  • Moving the cloned page in the destination to the correct location
In my test case both the source and destination pdfs are a single page.

However when I run the clone command I get a status of "GenericError". The Delete command runs fine if it is run independently. If I remove the delete command the clone and move commands work fine. It seems I cannot modify the pdf after deleting a page. Is there a way to get more detail on the error? How do I do this replace operation?

wedmondson
Posts: 10
Joined: Tue Aug 04, 2020 12:04 am

Re: Replace PDF Page Generic Error

Post by wedmondson » Thu Sep 24, 2020 1:09 pm

Answering my own question:

It looks like cloning to what is, in essence, a 0 page document (had 1 page but then deleted it). If attempt the above steps with a larger, multi-page document I do not get the generic error.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest