_ps_output_in_GCG

Brian Osborne bosborne at NATURE.BERKELEY.EDU
Sat May 7 12:29:58 EST 1994


I asked the following question :

>To the Group,
>I'm asking this question for a friend, so please forgive
>me if the answer is obvious. We are using GCG remotely,
>and we would like to make .ps files of various plots, then
>bring them back down to our Mac and print them. Can this
>be done? If so, how? I will summarize to the group.

And here are the replies, thanks to :

 zauhar at shiva.psu.edu (Dr. Randy Zauhar)
 Mike Cherry <cherry at genome.Stanford.EDU>
 John Nash <nash at nrcbsa.bio.nrc.ca>
 Weiting Ni <WNI at aardvark.ucs.uoknor.edu>

    It should be pretty easy to get the GCG output on your Mac - 

  1) Issue the "postscript" command, and choose encapsulated or
     color encapsulated postscript file.

  2) For the "TERMinal", just give a file name.

Your graphic output will now go into the file - you just have to transfer
to your Mac (ftp, e.g.), and then import into an application. Depending
on the app you want to use, you may need to resEdit the file so that the
application will be able to recognize it. 

or :

Its easy. Just create the .ps file by telling GCG to use the
POSTSCRIPT drive, POSTSCRIPT is the name of the GCG command that sets
this up. Then transfer the PostScript file to the Macintosh using a
Binary mode, NOT MacBinary and NOT ascii. Then use one of several apps
that send a file directly to the printer. Apple supplies the
Laserwriter Font Utility, for System 6 you can use SendPS. If you
check the Word manual it can do it too, but its not something you
would want to do on a regular basis with Word, it involves setting a
special style. Also make sure the printer is really PostScript, not
all Macintosh printers are PostScript. All LaserWriters that are
connected to a Mac are PostScript.

or :

Sure.  You can use Kermit or any other download protocol that your
terminal software has.  If it has none, you can even screen-capture
them.  When you are ready to print the data, type postscript, and
answer LASERWRITER for printer type.  WHen it prompts you for where
the printer is attached, give a filename.  The data will be dumped
into that filename.  Just download it and print it off.

If your Mac's printer is attached to the internet, it may even be
easier.  Ask your admin how.

or :

>First you need to define a plot port as a filename, type something like
>
>define plotport filename.ps
>
>then type postscript
>you will have a few choices, just pick the one you like.
>
>at the end, excute your program e.g., isoelec to plot pI of a protein
>and the file will be output to filename.ps (you have defined before).
>
>Transfer the ps file to your mac and print.
>

Brian Osboorne
bosborne at nature.berkeley.edu






More information about the Bio-soft mailing list