[comp.sys.next] Generating Postscript files.

kls30@duts.ccc.amdahl.com (Kent L Shephard) (05/15/91)

Yea, it's me again with another question.

I have a '040 system and I want to print to a file so I can take it to
my PC and print.

Now the problem:

I know I can select print and then save via the save button.  The problem
is that when I take this file to my PC to be printed it coughs and pukes
and gives me an error.

I'm using a software postscript interpretor.  This should not be the
problem because I can take postscript files generated by programs on my
pc and print them fine.  I can do the same with Mac files.  If I take
a postscript file from my PC to my NeXT and use the postscript viewer to
look at it everything is fine.

The one thing I did notice is that a Postscript file with no graphics
generated by my PC word processor (Wordstar 5.5) is only slightly larger
than the original text file.   On the NeXT a file generated by WordPerfect
is 10 times larger. So what's the deal????  Is ther a specific way to
print to a file so it looks like the other types of postscript files
I've seen.

My PC is running Goscript and it does Postscript interpretation and sends
it to the printer it is configured for.  The files from a NeXT are the
only ones I have trouble with.


      Thanks in advance.  I would like to print but right now I can't
                          justify the expense of a NeXT laser printer.

                 KeNT
--
/*  -The opinions expressed are my own, not my employers.    */
/*      For I can only express my own opinions.              */
/*                                                           */
/*   Kent L. Shephard  : email - kls30@DUTS.ccc.amdahl.com   */

cnh5730@maraba.tamu.edu (Charles Herrick) (05/16/91)

In article <99Us02Ia07KJ01@JUTS.ccc.amdahl.com> kls30@duts.ccc.amdahl.com (Kent L Shephard) writes:
   I have a '040 system and I want to print to a file so I can take it to
   my PC and print.

   Now the problem:

   I know I can select print and then save via the save button.  The problem
   is that when I take this file to my PC to be printed it coughs and pukes
   and gives me an error.

Kent, what errors does it give you?

   I'm using a software postscript interpretor.  This should not be the
   problem because I can take postscript files generated by programs on my
   pc and print them fine.  I can do the same with Mac files.  If I take
   a postscript file from my PC to my NeXT and use the postscript viewer to
   look at it everything is fine.

Not too surprising, but the PostScript interpreter on the NeXT is
pretty robust and quite forgiving.

   The one thing I did notice is that a Postscript file with no graphics
   generated by my PC word processor (Wordstar 5.5) is only slightly larger
   than the original text file.   On the NeXT a file generated by WordPerfect
   is 10 times larger. So what's the deal????  

Kent, the NeXT constructs a fairly complicated (read powerful)
PostScript file when you travel by means of the Save button in the
Print panel. One way to see this is to create a file in Edit, say,
with the text "Hello World", click Print, click Save, then rename the
file without the "ps" file extension and you can read the file like a
normal ASCII file. It's quite instructive to read.

   Is ther a specific way to
   print to a file so it looks like the other types of postscript files
   I've seen.

There may be some PostScript compatibility problems... we need to see
those errors..

spenton@sag4.ssl.berkeley.edu (Steve Penton) (05/17/91)

(kent L. Shephard) writes:
>
>I have a '040 system and I want to print to a file so I can take it to
>my PC and print.
>
>Now the problem:
>
>I know I can select print and then save via the save button.  The problem
>is that when I take this file to my PC to be printed it coughs and pukes
>and gives me an error.
>

If you look at your NeXT file, you will notice that the first line is:

%!PS-Adobe-2.0

If you edit this line down to

%!

I believe it might just work!


Chances are you are just too cool for your PC.  By dropping down to %!
you let your PC printer use the best postscript its got instead of
confusing it with the 2.0.

This has ALWAYS worked for me when I take files to work and print them
out on LaserWriters (Suns).

________________________________________________________________________________
      _____________	
     |            !|                  Steve Penton
     | Figliano!  !|              spenton@ssl.berkeley.edu
     |            !|             Center For EUV Astrophysics
     |____________@|        2150 Kittredge Blvd, Bezerkeley CA 94720
     ____ /   \ ____
   /__ ===-----=== _\  Warning!    Responding to my email has been proven to
  |__________________| significantly contribute to the disorder of the universe.
________________________________________________________________________________
--------------------------------------------------------------------------------
 .


________________________________________________________________________________
      _____________	
     |            !|                  Steve Penton
     | Figliano!  !|              spenton@ssl.berkeley.edu
     |            !|             Center For EUV Astrophysics