🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.next.sysadmin
2 messages
2 total messages Started by Pok Ng Fri, 04 Sep 1992 16:10
how to print file in normal order
#968
Author: Pok Ng
Date: Fri, 04 Sep 1992 16:10
9 lines
664 bytes
Hi,

	Does anyone know how to set up the NeXT so that it WIIL NOT  generate 
postscript file with pages in reverse-order(ie I want first page first instead of
last page first)?


thanks
/pok
Re: how to print file in normal order
#622
Author: Michael Alan Blommer
Date: Fri, 04 Sep 1992 21:08
65 lines
3258 bytes
In article <POK.92Sep4111044@gabriel.ccs.yorku.ca> pok@gabriel.ccs.yorku.ca  
(Pok Ng) writes:
> Hi,
> 
> 	Does anyone know how to set up the NeXT so that it WIIL NOT  generate 
> postscript file with pages in reverse-order(ie I want first page first  
instead of
> last page first)?
> 
> 
> thanks
> /pok

I asked this question awhile back, and got the following response:

------------------------------------------------------
In article <1992Aug17.150405.6011@zip.eecs.umich.edu>  
blommer@euler.eecs.umich.edu (Michael Alan Blommer) writes:
# This may be a FAQ, but I have not found the answer anywhere.  Does anyone now  
# how to reverse the order in which the NeXT printer prints out pages?  That  
is,  
# how can I make so that the printer begins printing with the first page of a  
# document instead of the last page of a document?
# 
# Thanks in advance,
# Mike
# blommer@engin.umich.edu

If it is I couldn't find it with Librarian.

I use /usr/lib/transcript/psrev in a shell script as the output filter in the  
queue.  psrev accepts POSTSCRIPT input on its stdin, reverses the page order  
and places the output on its stdout.

--
   __     _             _            Colin Wu
  /  )   //            ' )   /       Network Analyst
 /    __|/  o ____      / / / . .    Computing & Information Services
(__/ (_) \_<_/ / <_    (_(_/ (_/_    McMaster University
email:	wucolin@popeye.CIS.McMaster.CA	(NeXTmail welcome)
	wucolin@McMaster.CA		(Generic email only)
--------------------------------------------------------------

Here's an example that I used to test this method, and it works (thanks Colin):
First I used the Preview option in the print panel to create a .ps file.  For  
the example it created the file /tmp/.preview760088.ps.  Then in a shell, I  
used the psrev command

% psrev /tmp/.preview760088.ps | lpr -P zwicker_printer

zwicker_printer is the name of the printer used to print the stuff out.  See  
the man pages for more info. and capabilities regarding psrev.

Now for the good news.  I looked around the documentation for printing in 3.0  
(beta release) and it turns out that things CAN be printed in reverse order (in  
3.0).  The print panel is very similar to that in 2.1, but to print stuff in  
reverse order, you just use the "From" option in Pages and enter "last" in the  
"From" field and enter "first" in the "To" field.  It worked with a document I  
printed from a machine with 3.0 on it, but it doesn't work in 2.1.  So if you  
can wait for 3.0, everything should be much easier.


Mike Blommer
blommer@eecs.umich.edu
(NeXT mail welcome)
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads