🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #5898

Re: Tumblemode and duplex mode

#5898
From: Stephen Zisk
Date: Sun, 13 Dec 1992 06:23
28 lines
2054 bytes
In article <1gal7aINNa9p@moe.ksu.ksu.edu>, terry@eece.ksu.edu (Terry Hull)
wrote:
> 
> I have two basic questions.  
> 
> 1)  How do you set the tumble mode for a printer with duplexing capability?
On a Level 1 machine, this is normally done using settumble (false = flip
across long edge, true = flip across short edge). I believe there was also
at least one printer that did it by using ints for values to setduplex, but
I am not positive. For Level 2, you need to set the /Tumble key to true in
a call to setpagedevice, although for compatibility, duplex printers would
probably have the settumble operator available.
> 2)  Where is the best place in a PS file to put things like the duplex mode
> and the tumble mode? 
Presuming you want the whole file in a single mode, do it as part of
the setup, before you fiddle with graphics state or put any marks on
a page. This is definitely required in level 2, where the call to
setpagedevice will initialize your state. The big caution here is that
on some Level 1 machines, duplex and tumble obey save/restore, while
on others they do not! This means you cannot rely on restore setting
you back to simplex within your job. On Level 2 machines, setpagedevice
strictly obeys save/restore.

Stephen Zisk (zisk@adobe.com)  Disclaimer: These are my personal views
Adobe Systems Incorporated     and do not represent the position of
Eastern Regional Office        Adobe Systems Incorporated.
24 New England Exec. Park
Burlington, MA 01803           They pay me but they don't muzzle me!
Technical Details
Message-ID: <zisk-131292011429@macne009.boston.us.adobe.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!wupost!usc!elroy.jpl.nasa.gov!decwrl!adobe!macne009.boston.us.adobe.com!user
References: <1gal7aINNa9p@moe.ksu.ksu.edu>

Show Full Headers
Complete Article Headers
Newsgroups: comp.lang.postscript
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!wupost!usc!elroy.jpl.nasa.gov!decwrl!adobe!macne009.boston.us.adobe.com!user
From: zisk@adobe.com (Stephen Zisk)
Subject: Re: Tumblemode and duplex mode
Message-ID: <zisk-131292011429@macne009.boston.us.adobe.com>
Followup-To: comp.lang.postscript
Sender: usenet@adobe.com (USENET NEWS)
Organization: Adobe Systems Incorporated
References: <1gal7aINNa9p@moe.ksu.ksu.edu>
Date: Sun, 13 Dec 1992 06:23:33 GMT
Lines: 28