to dirprocess: working with pdfs                                       rev 25 oct 2022

Category: tech

Can save things as PDF locally from Print menu,
but these online services seem to do a better job.
[sep 2022]

» convert doc↓  convert html↓  extract↓   edit pdf↓

.......................................................
✶ convert document to pdf:

  * SmallPDF
      https://smallpdf.com
      Convert doc, .docx, JPG, PNG, Excel, PPT.
      https://smallpdf.com/pdf-to-jpg
      Can add text, annotations, images; delete; 
      Can compress it, merge with other PDFs.
      Can esign.
      Free — twice a day. Or close private window and open again.
      With signup, 1 week free access.
      [25 oct 2022]

  * jpg2pdf.com - can put multiple jpgs on one page.
  
  * Adobe - but you only get one free, then have to sign up [sep 2022]


.......................................................
✶ convert html to pdf:

  https://www.printfriendly.com
    Can remove images and other parts.
    Automatically puts the url on the top.


.......................................................
✶ extract pages from pdf:

    $ pdftk book.pdf cat 90-99 output ch11.pdf
        works great. retains formatting and margins fine.
        $ sudo apt-get install pdftk
        https://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/

    other methods:
       tried print as pdf, selecting pages - margins got
          very wide and text very small.



.......................................................
✶ edit, add text to pdf - works great, as of oct 2018

    (online) PDFEscape
       reviews on wikipedia are from 2008.
       website looks current.
       https://www.pdfescape.com/
       tried it 18 oct 2018
       wow. great!


    ..............................
    other options,  as of oct 2018

      Xournal
  
      Master PDF Editor
  
      PDF-XChange Editor
  
      uPdf - 
        $ sudo add-apt-repository ppa:atareao/updf
        $ sudo apt-get update
        $ sudo apt-get install -y updf
        Then fix a bug by editing 2 lines in a Python script.
           - https://askubuntu.com/questions/87419/how-can-i-add-text-and-images-for-example-a-signature-to-a-pdf
  
      (online) PDF Buddy
  
      (online) PDFZen
  
      (online) dochub - have to log in.
         18 oct 2018
         "Almost all the pdfs I've tried were however corrupted when imported."
  
      libreoffice: 
         tried it 18 oct 2018
         open in Draw, click on tools to add text, images.
         tried it - document text overflowed right margin,
           text added ok. export to pdf. opened, looked same,
           text was added, but bad formatting was saved as well.
        https://itsfoss.com/edit-pdf-files-ubuntu-linux/
        [2017]
       
  resources:
    * https://www.techwalla.com/articles/how-to-add-text-to-a-pdf-file
    * https://askubuntu.com/questions/87419/how-can-i-add-text-and-images-for-example-a-signature-to-a-pdf


_______________________________________________________
since: 18 oct 2018
-- 0 --