John Culleton on Thu, 23 Aug 2001 17:15:34 +0200 (CEST)


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: duplex printing


On Thursday 23 August 2001 10:33 am, Roger Keays wrote:
> Hi,
>
> Apsfilter is really good. I only have one problem. My printer prints
> sheets out face down, so to do a duplex print you have to reorder all the
> pages (i.e. reverse the order) before you put them back in.
>
> Is there any simple way around this?
>
> Regards,
>
> Roger

It depends. I use TeX and Lyx for my documents. At the dvips step I can 
specify -r  for reverse order of the pages. 

There is also a ps2ps program in the Ghostscript distribution. The 
documentation is tiny.  Maybe with the right switch it would reverse the 
pages.

I use psselect to select even or odd pages, and incidentally to reverse them.
Here is one script I use for duplex printing of pamphlets:

psbook $1.ps $1b.ps                #puts pages in pamphlet sequence.
echo 'psnup'
psnup -2 -ptabloid -Pletter $1b.ps $1p.ps   #sets up the pamphlet for printing
echo 'psselect'
psselect -o -r  $1p.ps $1o.ps #SELECTS ODD PAGES IN REVERSE
psselect -e -r  $1p.ps $1e.ps #SELECTS EVEN PAGES IN REVERSE
lpr $1o.ps                             #prints odd pages
echo 'switch paper'               #warning: wait till odd pages really finish
read x
lpr $1e.ps                            #prints even pages      
rm $1p.ps $1e.ps $1o.ps $1b.ps