Linux Commands Examples

A great documentation place for Linux commands

psbook

rearrange pages in PostScript file into signatures


see also : psselect - pstops - epsffit - psnup - psresize - psmerge - fixscribeps - getafm - fixdlsrps - fixfmps - fixpsditps - fixpspps - fixtpps - fixwfwps - fixwpps - fixwwps - extractres - includeres - showchar

Synopsis

psbook [ -q ] [ -ssignature ] [ infile [ outfile ] ]


add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!

examples

1
source
            
psmerge call.ps > merged.ps
psbook -s4 merged.ps > paged.ps
1
source
            
exit 1
fi
psbook $input ${input}_booklet.ps
psnup -2 ${input}_booklet.ps ${input}_printme.ps
echo Fertig.
0
source
            
new_bb="0 0 $h $((2*$w))"
psbook $1 | pstops "4:0L($h,0)+1L($h,$w)" | strippagesize "$new_bb" >v_$output
psbook $1 | pstops "4:2L($h,0)+3L($h,$w)" | strippagesize "$new_bb" >h_$output
0
source
            
pdftops $INFILE $PSFILE
psbook -s 8 $PSFILE $PSFILE-tmp-file
psnup -2 $PSFILE-tmp-file $PSFILE-booklet
ps2pdf $PSFILE $OUTFILE

description

Psbook rearranges pages from a PostScript document into ’’signatures’’ for printing books or booklets, creating a new PostScript file. The input PostScript file should follow the Adobe Document Structuring Conventions.

The -s option selects the size of signature which will be used. The signature size is the number of sides which will be folded and bound together; the number given should be a multiple of four. The default is to use one signature for the whole file. Extra blank sides will be added if the file does not contain a multiple of four pages.

Psbook normally prints the page numbers of the pages rearranged; the -q option suppresses this.

trademarks

PostScript is a trademark of Adobe Systems Incorporated.


bugs

Psbook does not accept all DSC comments.


see also

psbook, psselect , pstops , epsffit , psnup , psresize , psmerge , fixscribeps , getafm , fixdlsrps , fixfmps , fixpsditps , fixpspps , fixtpps , fixwfwps , fixwpps , fixwwps , extractres , includeres , showchar


author

Copyright (C) Angus J. C. Duggan 1991-1995

How can this site be more helpful to YOU ?


give  feedback