[comp.sys.apple] PostScript

akc@mace.cc.purdue.edu (Bruce Cox) (01/17/89)

I finally figure out how to capture files at postscript (with a little help
from friends).  First you have to have your printer selected as the Laserwriter
even though you don't have one.  Then when get to the print window, just 
*before* you click on the ok button hold down apple-f (command-f), then click
ok.  It will then create the postscript file in the directory DRIVERS of
SYSTEM ( at least thats where it is on GS/OS).

I then upload my (huge) postscript text file to the real computers and lpc
it to our laserwriters.  Although, I did have to make one change to the file.  
The printer was not recognizing it as postscript so I added %! as the first
line and everything came out perfect.  Nice crisp graphic printouts.  Looks
much nicer than my old NEC.  (-:

Bruce

_____________________________________________________________________________
Bruce Cox         UUCP: akc@mace.cc.purdue.edu   BITNET: clone@purccvm.bitnet
Purdue University "Of All The Things I've Lost, It's My Mind I Miss The Most"
-----------------------------------------------------------------------------

pk33+@ANDREW.CMU.EDU ("Peter C. Kornelisse") (03/02/89)

I'm using MS-Word on the Macintosh and I output my text to a PostScript-file.
After transfering such a PostScript-file to Unix I used uuencode before sending
this file to the Netherlands for printing to an Apple LaserWriter connected to a
SUN-network. The result was a blinking light of the LaserWriter (six times), but
no output of printed text and pictures.

Can anyone tell me what to do, to get my text printed ?


Bye,

Peter Kornelisse.

kamath@reed.UUCP (Sean Kamath) (03/05/89)

In article <sY3=zey00VQaM1VV9-@andrew.cmu.edu> pk33+@ANDREW.CMU.EDU ("Peter C. Kornelisse") writes:
>
>I'm using MS-Word on the Macintosh and I output my text to a PostScript-file.
>After transfering such a PostScript-file to Unix I used uuencode before sending
>this file to the Netherlands for printing to an Apple LaserWriter connected to a
>SUN-network. The result was a blinking light of the LaserWriter (six times), but
>no output of printed text and pictures.
>
>Can anyone tell me what to do, to get my text printed ?
>
>Bye,
>
>Peter Kornelisse.

Congratulations!  You've been Microsofted! :-) another truly amzing and
interresting fact is that you can't encode some postscript in microsoft and
have ti do what you want it to do.  I'm thinking of a specific example in
the "blue book" that does a rotation of a name. . .

THe laserwrite sitting on a Mac network has hoards of really wonderful
dictionaries for it.  What happens, since I'm pretty certain you don't have
a mac on the laserwriter network, is that you don't have these dictionaries
loaded!  I ran into this problem when I tried to get Postscript stucc to the
NeXT machine.  I managed to get images and stuff over pretty easily, but not
having the dicts makes it sorta hard.  Short of writing a little program to
pretend a mac is a laserwriter and grab the code that gets downloaded to an
laserwrite (so that you can later download it to the real laserwriter), I
don't have an answer.

Complain to microsoft (and Apple, for that matter).

Sean kamath.
-- 
UUCP:  {decvax allegra ucbcad ucbvax hplabs}!tektronix!reed!kamath
CSNET: reed!kamath@Tektronix.CSNET  ||  BITNET: kamath@reed.BITNET
ARPA: kamath%reed.bitnet@cunyvm.cuny.edu
US Snail: 3934 SE Boise, Portland, OR  97202-3126 (I hate 4 line .sigs!)

nuwilken@ndsuvax.UUCP (Scott Wilken) (09/07/89)

I would like to thank person (the name escapes me) who posted the info
on how to generate a postscript file under system disk 5.0

I was wondering how someone would do it under 3.0 (if it is even possible).
I was also wondering if there were any gs programs that would READ postscript.
I have many files I have created on Mac's at school that are saved as
postscript that would be nice to use on the gs.

Thanks

Scott


+-----------------------------------------------------------------------------+
! Internet:  nuwilken@Plains.NoDak.EDU         AppleLink PE:  Wilken          !
! UUCP:      uunet!ndsuvax!nuwilken            GEnie Mail:    S.WILKEN1       !
! Bitnet:    NUWILKEN@NDSUVAX                  CompuServe:    75130,1571      !
+-----------------------------------------------------------------------------+

j_p@pro-lep.cts.com (Jason Perez) (10/03/89)

  Is there any program in the GS world that will output Postcript, that is
support Poscript fonts and/or graphics??

_____

UUCP: crash!pro-lep!$logname
ARPA: crash!pro-lep!$logname@nosc.mil
INET: $logname@pro-lep.cts.com

j_p@pro-lep.cts.com (Jason Perez) (10/06/89)

  Thanks for the replies about Postscript, but I have another question.  Will 
AWGS let you use Postscript Fonts?  And will it let you 'print' a Postscript
file it generated to a file?  I have access to Macs where I work which are
hooked up to Laserwriter.  I want to get a file from my GS and use the MAC to
send a Postscript file( we have a program to do this) to the Laserwriter. 
Actually all I want to do is generate a file on my GS and print it on the
Laserwriter at work, and Postscript seems the only way to do this, with
preservation of fonts, and everything else a word processor generates (I don't
want to re-edit anything on the MAC).
_____

UUCP: crash!pro-lep!j_p
ARPA: crash!pro-lep!j_p@nosc.mil
INET: j_p@pro-lep.cts.com

j_p@pro-lep.cts.com (Jason Perez) (10/07/89)

  Thanks for all the replies I've received.  This is to Subash Shankar (I
don't have full net access yet).  The MAC program that will send a PS file to
the Laserwriter is called SendPS and it is public domain.
_____

UUCP: crash!pro-lep!j_p
ARPA: crash!pro-lep!j_p@nosc.mil
INET: j_p@pro-lep.cts.com

j_p@pro-lep.cts.com (Jason Perez) (10/10/89)

  Here's a summary of the replies I've received.
   Yes, the GS will do Postscript.  Copy the later Lserwriter driver from the
System Tools Disk (it's about 81 blocks) to your xx/system/drivers directory. 
Then when you want to print a file, just do as usual, but hold down Apple-F
when you press the OK button, a POSTSCRIPT file will be generated in your
xx/system/drivers director called Postscript.GS00.  Then I ported this over to
a MAC using the Apple File Exchange program.  Then using a PD program called
Send PS on the MAC, the file is download to a Laserwriter.  The downside to
this process is that I was only able to print fonts that the Laserwriter has
built in, but that's OK.
_____

UUCP: crash!pro-lep!j_p
ARPA: crash!pro-lep!j_p@nosc.mil
INET: j_p@pro-lep.cts.com

philip@pro-generic.cts.com (Philip McDunnough) (10/11/89)

Network Comment: to #6019 by j_p@pro-lep.cts.com

Could you let us know a way of saving a Postscript file to disk with a GS?
On the Mac there are these command-F/K tricks.But then you have the header
problems if you are trying to print to a LW hooked to a Unix computer.

Philip McDunnough -> philip@utstat.toronto.edu

j_p@pro-lep.cts.com (Jason Perez) (10/14/89)

Comment to message from: philip@pro-generic.cts.com (Philip McDunnough)

    To save a Postscript file to disk on a GS is simple.  Simply copy the
newest Laserwriter driver(about 81 blocks) to your xx/system/drivers
directory.  Then choose this printer driver from the Control Panel.  Next run
any GS program.  Load document.  Select Print.  Then hold down Apple-F and
then press the OK button on the dialog box.  A Postscript file will then be
generated in you xx/system/drivers directory called Postscript.GS00.  
_____

UUCP: crash!pro-lep!j_p
ARPA: crash!pro-lep!j_p@nosc.mil
INET: j_p@pro-lep.cts.com

dlyons@Apple.COM (David Lyons) (10/14/89)

In article <8910120739.AA17455@trout.nosc.mil> philip@pro-generic.cts.com (Philip McDunnough) writes:
>Network Comment: to #6019 by j_p@pro-lep.cts.com
>Could you let us know a way of saving a Postscript file to disk with a GS?
>On the Mac there are these command-F/K tricks.But then you have the header
>problems if you are trying to print to a LW hooked to a Unix computer.
>
>Philip McDunnough -> philip@utstat.toronto.edu

I believe Apple-F does it on the GS (it puts the file in *:System:Drivers).
There aren't "header problems" with GS postscript files--you can dump them
straight to a LaserWriter that's just been powered on.
-- 

 --Dave Lyons, Apple Computer, Inc.          |   DAL Systems
   AppleLink--Apple Edition: DAVE.LYONS      |   P.O. Box 875
   America Online: Dave Lyons                |   Cupertino, CA 95015-0875
   GEnie: D.LYONS2 or DAVE.LYONS         CompuServe: 72177,3233
   Internet/BITNET:  dlyons@apple.com    UUCP:  ...!ames!apple!dlyons

   My opinions are my own, not Apple's.

gt0t+@ANDREW.CMU.EDU (Gregory Ross Thompson) (10/26/89)

  I've been doing a lot of programming in postscript (amazing
language) recently, and  I was wondering if there's any way to send a
raw postscript file from the GS.  Through AppleTalk, of course.  I
know that there is such a thing on the Mac called "Send PostScript" or
something like that.  Is there anything like this for the GS?  I could
REALLY use one right now (hint to all you programmers...).

             -Greg T.

========================================================================
* The previous message was brought #ARPANet : gt0t+@andrew.cmu.edu     ^
* to you through a grant from CMU  #Bitnet:Floyd@Drycas.club.cc.cmu.edu^
* who has graciously taken a hell  #Bitnet : y614gt0t@VB.CC.CMU.EDU    ^
* of a lot of money from this man. #Can I get one more account???      ^
========================================================================

dlyons@Apple.COM (David Lyons) (10/27/89)

In article <sZFYUTe00WB6Q=p1Jh@andrew.cmu.edu> gt0t+@ANDREW.CMU.EDU (Gregory Ross Thompson) writes:
>I've been doing a lot of programming in postscript (amazing
>language) recently, and  I was wondering if there's any way to send a
>raw postscript file from the GS.  Through AppleTalk, of course.  I
>know that there is such a thing on the Mac called "Send PostScript" or
>something like that.  Is there anything like this for the GS?  I could
>REALLY use one right now (hint to all you programmers...).

I have a little option in a not-yet-released Davex command ("net") that
does what you want:  all it does it make a PMSetPrinter call to clear
the "ImageWriter emulator" bit that tells RPM (Remote Print Manager) to
send, at the beginning of each print job, the command to activate the IWEM.

Do you have documentation for the AppleTalk commands?  The book you
want is available from APDA, & it's called "AppleShare Programmer's
Guide to the Apple IIgs" (even though it includes ProDOS 8 information
too).
-- 

 --Dave Lyons, Apple Computer, Inc.          |   DAL Systems
   AppleLink--Apple Edition: DAVE.LYONS      |   P.O. Box 875
   America Online: Dave Lyons                |   Cupertino, CA 95015-0875
   GEnie: D.LYONS2 or DAVE.LYONS         CompuServe: 72177,3233
   Internet/BITNET:  dlyons@apple.com    UUCP:  ...!ames!apple!dlyons

   My opinions are my own, not Apple's.

glenn@SLOTH.NCSL.NIST.GOV (G.O.D.s Originator) (12/27/89)

Does anyone know of a graphics routine for the IIGS that will display
PostScript files???

Thanx


-------------------------------------------------------------------------
| K. Robert Glenn, Computer Scientist |  glenn@osi3.ncsl.nist.gov       |
| NIST                                |                                 |
| Bldg. 225/ B215                     |  "Developing OSI protocols      |
| Gaithersburg, MD 20899              |   bit by bit."                  |
-------------------------------------------------------------------------