Ana içeriğe atla

Kayıtlar

Eylül, 2012 tarihine ait yayınlar gösteriliyor

Merge Ps,Pdf Files and A4 into A5

I was trying to print man pages of OpenBSD. They were in .ps format and the paper size was a4. I wanted to convert the man pages so that two a5 pages lie onto an a4 page for the sake of being printer/environment friendly. I also want to combine them as a single document. Here are the commands 1) Making OpenBSD man file a .ps file mandoc -Tps /usr/share/man/man4/route.4 > route.ps 2)Converting 2 a4 pages into 2 a5 pages on a single a4 page psnup -2 -Pa4 -pa4 input.ps output.ps  This command converts 2 a4 pages into a5 ones and put them o a single a4 page. Magic isnt it? 3) Convert .ps files to pdf ps2pdf input.ps output.pdf 4) Combine .pdf files pdftk file1.pdf file2.pdf cat output outfile.pdf There is also a psmerge command. But it gave me some errors. So I chose converting them into pdf and then combining way. Ps: Here is a command for making 2 pages of a pdf file into one page: The package is called pdjam in Ubuntu pdfnup --nup 2x1 --outfile output.pdf ...