[pdftex] Duplex printing?

Geoff Russell geoffrey.russell at gmail.com
Thu Feb 16 12:08:43 CET 2006


Hi Hans et al,

Thanks for everyone's help. Han's script got me looking at driver rather than
pdftex and sure enough xpdf has an option:

              psDuplex yes|no

in its .xpdfrc initialisation file that works.

It sets a flag when it calls its pdfSetup postscript prolog and somehow the ppd
gets consulted and presto, everything works.

I've no idea what happens with Acroread, but the free version may be a little
less featurefull than acrobat because it doesn't let you set any fancy
printer options.

Thanks again,
Geoff

On 2/16/06, Robin Fairbairns <Robin.Fairbairns at cl.cam.ac.uk> wrote:
> > Using the ppd file I know that the postscript I need to insert into the
> > pdf output file is:  statusdict begin true setduplexmode false settumble en=
> > d
> >
> > I have tested this by taking the pdf output, converting to postscript
> > and inserting
> > this statusdict statment into the Setup. It works, and is what I might have
> > to end up doing - its just very messy.
> >
> > So my revised question is: how do I get the above postscript
> > (statusdict ...) into
> > the pdftex output (if I were using dvips, I could use \special).
>
> without knowing how you generate the postscript to print, it's hard to
> guess.  hans's script looks like an interesting stab (though i've not
> looked to see if it'll run as a filter).
>
> certainly adobe reader on linux will let you send the postscript
> printer output to an arbitrary command, and it'll remember that
> command for you, so you don't have to keep typing it...
>
>



More information about the pdftex mailing list