But now a days i only keep pocket references for technologies i use instead of heavy books. So i wanted to make a pocket version of those PDFs. I found "pstops" after google'ing, in just an hour i was irritated by the mangled parameters it needed and badly documented manpages & stuffs on internet.
But these two pages made my concept clear and i achieved my task in few minutes.
[REF1] Read this first:
[REF2] Then ( this will make you clear about what exactly pstops does):
My own description ( i assume you have read REF1):
pstops => postscript to postscript converter with desired arrangements, page layouts and sizes.
I will describe this powerful utility by small implementation because that in run accomplishes many people's job.
For experiments please get a ps file of atleast 16 pages. You can convert a PDF into ps by using pdftops utility (its a part of psutils). I am using 23 page file. Lets do some ps conversions.
1. Flip all the pages vertically Or horizontally
pstops '1:0V' in.ps out.ps
pstops '1:0H' in.ps out.ps
As you can see the parameters of pstops are:
pstops [ -q ] [ -b ] [ -wwidth ] [ -hheight ] [ -ppaper ] [ -dlwidth ] pagespecs [ infile [ outfile ] ]
Most of us have difficulty in pagespecs parameter only. Which is described below:
pagespecs = [modulo:]specs
specs = spec[+specs][,specs]
spec = [-]pageno[L][R][U][H][V][@scale][(xoff,yoff)]
I hope this tutorial will help you to understand how to utilize the power of pstops without Hit n Trials method :-p. Please let me know if you find some bugs or wrong info (if really it is).
linux 4-up, make 8 page booklet, linux pstops tutorial, pstops concept, how pstops works, make mini booklets, 8 page booklets