pdf

QPDF

Installation
Download it:

cd /extra/src
wget http://iweb.dl.sourceforge.net/project/qpdf/qpdf/4.0.1/qpdf-4.0.1.tar.gz
tar zxf qpdf-4.0.1.tar.gz
cd qpdf-4.0.1

Build and install:

./configure
make
make install

Technology:

PDF Utilities

Various utilities for working with PDF files.

Technology:

pdf2email

pdf2email is a CUPS backend that uses GhostScript to print a document to PDF and sends the final file to the user that requested the print via email.

Technology:

CUPS-PDF

CUPS-PDF is designed to produce PDF files in a heterogeneous network by providing a PDF printer on the central fileserver.

cd /extra/src
wget http://www.cups-pdf.de/src/cups-pdf_2.5.1.tar.gz
tar zxf cups-pdf_2.5.1.tar.gz
cd cups-pdf-2.5.1

Compile CUPS-PDF:

cd src
gcc -O9 -s -o cups-pdf cups-pdf.c

To install it, copy cups-pdf to the backend directory of your CUPS server:

cp cups-pdf /usr/lib/cups/backend/

The permissions of the file must be changed in order for the CUPS backend to recognize it:

chmod 700 /usr/lib/cups/backend/cups-pdf

Copy the supplied config file:

cp ../extra/cups-pdf.conf /etc/cups/

Technology:

pdfcrop

Perl script that can crop a PDF file.Tried numerous other ways to do it and damned if I could get any other methods to work!

Requires pdftex and ghostscript.

cd /usr/local/bin
wget http://mirror.its.dal.ca/ctan/support/pdfcrop/pdfcrop.pl
chmod ugo+x pdfcrop.pl
mv pdfcrop.pl pdfcrop

If pdfcrop complains about not being able to find pdftex, either add it's location to $PATH, or add a command-line switch such as:

--pdftexcmd /usr/local/texlive/2010/bin/i386-linux/pdftex

Example usage, to take 36 points off the left and right and 18 points off the top/bottom:

pdfcrop --margins '-36 -18 -36 -18' input.pdf output.pdf

CTP Workflow

Rudiments of a newspaper CTP workflow to n-up pages for plate production

  • Overlay Editorial and Advertising components of a page:
    pdftk editorial.pdf stamp ad.pdf output complete_page.pdf
  • 2-up broadsheet pages
    --noautoscale true prevents scaling the source PDFs if the output size is bigger/smaller.

    pdfjam --nup 2x1 --suffix 2up --papersize '{23in,22.5in}' \
    --noautoscale true --outfile ./2-up_page.pdf \
    righthand_odd_page.pdf lefthand_even_page.pdf

    Offset them a bit to move them off the top of the page:

    pdfjam --noautoscale true --nup 2x1 \

PDFjam

PDFjam is a small collection of shell scripts which provide a simple interface to much of the functionality of the excellent pdfpages package (by Andreas Matthias) for pdfLaTeX.

Prerequisites

  • pdftex

    cd /extra/src
    wget http://sarovar.org/frs/download.php/1292/pdftex-1.40.10.tar.bz2
    tar -jxf pdftex-1.40.10.tar.bz2
    cd pdftex-1.40.10

    Attempt to build it

    ./build-pdftex.sh
  • TeX Live
    cd /extra/src
    wget http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz
    tar zxf install-tl-unx.tar.gz
    cd install-tl-20110415

    Run the installer:

Technology:

Poppler

poppler-utils is a collection of command-line utilities for getting information on PDF documents or convert them to other formats. It is part of the Poppler, a PDF rendering library.

  • pdffonts -- font analyzer
  • pdfimages -- image extractor
  • pdfinfo -- document information
  • pdftoabw -- PDF to Abiword converter
  • pdftohtml -- PDF to HTML converter
  • pdftoppm -- PDF to PPM/PNG/JPEG image converter
  • pdftops -- PDF to PostScript (PS) converter
  • pdftotext -- text extraction

Installation
pdftohtml is part of the poppler-utils package:

  • CentOS Linux

    yum install poppler-utils

Technology:

Pages

Subscribe to RSS - pdf

Recent Updates

  • 5 months 3 weeks ago
    1.27.2 update
  • 6 months 2 days ago
    Drupal 10/11 config
  • 6 months 4 days ago
  • PHP
    6 months 4 days ago
    PHP 8.3.11 and AlmaLinux
  • 6 months 4 days ago
    New version of Pound