View Single Post
Old 02-17-2013, 05:59 AM   #7
pepe_alter_ego
Zealot
pepe_alter_ego is kind to children and small, furry animalspepe_alter_ego is kind to children and small, furry animalspepe_alter_ego is kind to children and small, furry animalspepe_alter_ego is kind to children and small, furry animalspepe_alter_ego is kind to children and small, furry animalspepe_alter_ego is kind to children and small, furry animalspepe_alter_ego is kind to children and small, furry animalspepe_alter_ego is kind to children and small, furry animalspepe_alter_ego is kind to children and small, furry animalspepe_alter_ego is kind to children and small, furry animalspepe_alter_ego is kind to children and small, furry animals
 
Posts: 114
Karma: 6899
Join Date: Nov 2012
Device: Onyx Boox M92, Kindle Paperwhite 1 (Wi-Fi)
I've finally found a suitable temporary solution.

Please find attached the "pdf2xXpdf.sh.tar.gz" archive file.
It contains two bash shell scripts.

pdf2x1pdf.sh - creates a file.2x1.pdf from the input file.pdf
(2 "small" old pages, organized as 2x1, on one "big" new page)

pdf2x2pdf.sh - creates a file.2x2.pdf from the input file.pdf
(4 "small" old pages, organized as 2x2, on one "big" new page)

Usage: pdf2x{1|2}pdf.sh [-a] file.pdf [author] [title]
-a : utilise acroread (default: use pdftops)
author : file's author (default: just someone)
title : file's title (default: the basename of the input file.pdf)
(Note: the "author" and "title" strings must be ASCII, no UTF-8 allowed)

Both bash shell scripts need ...
awk : gawk
sed : sed
pdfinfo, pdftops : poppler-tools or poppler-utils or xpdf-tools or xpdf-utils
pstops : psutils
ps2pdf : ghostscript or ghostscript-library
acroread (optional) : AdobeReader_enu or adobereader-enu or acroread
Attached Files
File Type: gz pdf2xXpdf.sh.tar.gz (1.6 KB, 31 views)

Last edited by pepe_alter_ego; 02-21-2013 at 06:37 PM.
pepe_alter_ego is offline   Reply With Quote