Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

dvips and landscape

0 views
Skip to first unread message

Peter Wilson

unread,
Aug 8, 2001, 4:23:45 PM8/8/01
to
When I use dvips to print landscape ( either via \special{landscape}
or -t landscape) on a two-sided printer, the result is printed as though
the binding was on the long side of the paper. That is, the printing on
the second side is upside down with respect to the first side. Is there
a way, within dvips, to print landscape for the binding on the short
edge (no text flipping)?

On the printer I use (LaserJet 5 SiMX) I can manually switch the
binding side but as this is shared by many others I don't particularly
want to do this as it messes up other poeople's print jobs.

Thanks
Peter W.

Anthony W. Youngman

unread,
Aug 9, 2001, 4:09:28 AM8/9/01
to
Knowing lasers rather better than dvips ...

Can you get at the escape sequence dvips uses to select duplex? If
necessary dump the printfile to a file and edit it. The sequence you're
looking for is "<esc>&l<n>s", where <n> is 0 for simplex, and 1-4 for
the four edges of the paper. Sounds like you want n=2 or n=4.

Is there / can you add a 2nd option to \special{landscape} which
specifies the value of <n>?

Peter Wilson

unread,
Aug 9, 2001, 6:08:04 PM8/9/01
to Anthony W. Youngman

Thank you for the hint which sent me off looking along the right
track. I eventually found for Postscript that:
\special{!TeXDict begin <</Tumble true>> setpagedevice end}
would get the LaserJet 5 SiMx to bind on the short instead of the long
side.

Also:
\special{!TeXDict begin <<Duplex true>> setpagedevice end}
would put the printer into its duplex mode.

The two can be combined as:
\special{!TeXDict begin <<Duplex true /Tumble true>> setpagedevice end}

Peter W.

Rolf Niepraschk

unread,
Aug 13, 2001, 4:14:33 AM8/13/01
to

May be you can find here a solution:

==> http://www.dante.de/CTAN/dviware/dvipsconfig/

...Rolf
--
|| Rolf Niepraschk c/o Physikalisch-Technische Bundesanstalt ||
|| Abbestr. 2-12; D-10587 Berlin, Germany ||
|| Tel/Fax: ++49-30-3481-316/490, email: niepr...@ptb.de ||

Peter Wilson

unread,
Aug 13, 2001, 7:20:40 PM8/13/01
to niepr...@ptb.de

Rolf Niepraschk wrote:
>
> Peter Wilson wrote:
> <snip question about controlling PostScript printers>


>
> May be you can find here a solution:
>
> ==> http://www.dante.de/CTAN/dviware/dvipsconfig/
>

That reference was very useful; it had much more than I asked about.

Thank you
Peter W.

0 new messages