🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #537

Re: flip-flop printing

#537
From: Kevin Grover
Date: Wed, 15 Apr 1992 18:42
47 lines
2581 bytes
In article <167C710C53.TROTH@ricevm1.rice.edu>, TROTH@ricevm1.rice.edu (Rick Troth) writes:
) From: TROTH@ricevm1.rice.edu (Rick Troth)
) Subject: flip-flop printing
) Organization: Rice University, Houston, TX
) Date: Sun, 12 Apr 92 17:04:51 PDT
) 
) Hi,
) 
)         LaserWriters lay the paper face-down.  NeXTs put it face-up.
) Somehow on the NeXT,  documents are still ordered correctly ...
) unless I prepend a header.   What magic makes a single document
) come out "in order"?   What am I breaking by prepending a header?
) 
)  Rick Troth <TROTH@RICEVM1.RICE.EDU> -------- Rice Univ, I/S VM Systems Support


If the file conforms to the Adobe Document Structuring Conventions
there are comments in the file (starting with %%) that let other
programs know where the pages are.  The NeXT uses these comments to
assure that pages come out in order (by printing them in reverse
order.)

If you do not like this, try:

%%PageOrder: Ascending     

or somthing like this in the Header (i.e. before the "%%EndComments").
There is also another comment where you can explicitly declare the
order.  Or, you could simply strip all of the DSC comments: "$ grep -v
^%% file.ps" (NOTE the resulting file lies because the first line
still indicates that it conforms the DSC -- it contains the %!PS-Adobe
stuff.) 

I have run into this also.  I use a script called "multi" to print
mutltiple pages per physical page.  It does this by redefining key PS
operators.  However, it does not change the DSC comments in files that
have them and the NeXT feeds the pages to the program in reversed
order, so the result is not nice.  I plan on attempting to fix this --
some day :-).


-- 
  +----------------------+---------------------------------------------------+
  | Kevin O. Grover      | UNLV Computer Science and Electrical Engineering  |
  | grover@isri.unlv.edu | ISRI - Information Science Research Institute     |
  | CServe: [73627,1677] | 4505 S. Maryland Parkway, Las Vegas NV 89154-1017 |
  +----------------------+---------------------------------------------------+
Technical Details
Message-ID: <1992Apr15.184253.25609@unlv.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!nevada.edu!jimi!mighty-joe.isri.unlv.edu!grover
References: <167C710C53.TROTH@ricevm1.rice.edu>

Show Full Headers
Complete Article Headers
Newsgroups: comp.lang.postscript
Path: arc1-ca.pugleaf.net!sparky!uunet!nevada.edu!jimi!mighty-joe.isri.unlv.edu!grover
From: grover@mighty-joe.isri.unlv.edu (Kevin Grover)
Subject: Re: flip-flop printing
Message-ID: <1992Apr15.184253.25609@unlv.edu>
Sender: news@unlv.edu (News User)
Reply-To: grover@isri.unlv.edu
Organization: Information Science Research Institute (UNLV-ISRI)
References:  <167C710C53.TROTH@ricevm1.rice.edu>
Date: Wed, 15 Apr 92 18:42:53 GMT
Lines: 47