home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.editors      What? Edlin ain't good enough for you?      123,932 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 123,430 of 123,932   
   Peter Flynn to Andrew   
   Re: How to remove a link in a PDF that i   
   26 May 24 22:04:13   
   
   XPost: comp.text.pdf   
   From: peter@silmaril.ie   
      
   On 24/05/2024 01:04, Andrew wrote:   
    > I have a PDF with a link in it of the form:   
    >    http://domain.com   
   > in a million places (usually at the top, bottom or middle of a page   
   > that is mostly empty - where all I want to do is delete it   
   > completely.   
   >   
   > I want to delete those links, and the only PDF editor I know of that   
   > will delete them easily is the Adobe Acrobat (writer) but it deletes   
   > them one by one. Yuck. I'm doing that, but is there a better way?   
      
   I have in the past had good success by converting the document to   
   Postscript, finding the pattern of the offending links, and running a   
   stream editor, then converting back to PDF, eg   
      
   pdf2ps foo.pdf | sed -e "s+http://domain.com++g" | ps2pdf >foo2.pdf   
      
   Peter   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca