MathGroup Archive 1998

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Help v3. Display & LaserPrint

  • To: mathgroup at smc.vnet.net
  • Subject: [mg12793] Re: Help v3. Display & LaserPrint
  • From: "P.J. Hinton" <paulh>
  • Date: Fri, 12 Jun 1998 04:05:26 -0400
  • Organization: Wolfram Research, Inc.
  • References: <6llbsb$det@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

On 10 Jun 1998, Thang Nguyen wrote:

> There is no  LaserPrint at all, and  Display (to save graphics into
> postscript files, with !psfix) seems to work differently, so i coudn't
> use the Display command either.
> 
> Any hint on what the problem might be?  I used Mathematica quite a lot,
> version 2.x in the US, but i'm new here, and nobody around seems to use
> Mathematica, so i couldn't ask anyone around.

It would be useful for us to know exactly what you're trying to do.  I'm
not certain, but it sounds as if you are trying to get hard copy of a
graphic generated within a Unix shell interface to the Mathematica
kernel. 

I'm not familiar with the function LaserPrint[], perhaps this was a
locally defined function at your site.  

I do know of a function called PSPrint[] that was used to print
PostScript graphics from a shell-based kernel session.  This function
existed up through version 2.2 and is not implemented in Version 3.0. 
You can resurrect this function by following the steps in the FAQ at
URL:

	http://www.wolfram.com/support/Systems/Unix/PSPrint.html

The new PSPrint[] is a wrapper to Display[] which calls the shell script
psfix from it's new location, which is the path relative to the top
level Mathematica directory SystemFiles/Graphics/SystemResources.

Since you are working under Solaris, you may need to edit the sample
code on the FAQ page to reflect System V Unix syntax ("lp" instead of
"lpr").

If I have somehow misunderstood your question, please let me know.

--
P.J. Hinton
Mathematica Programming Group           paulh at wolfram.com Wolfram
Research, Inc.                  http://www.wolfram.com/~paulh/
Disclaimer: Opinions expressed herein are those of the author alone.



  • Prev by Date: Simplify Trig expressions
  • Next by Date: Re: Easy way to autoload packages.
  • Previous by thread: Help v3. Display & LaserPrint
  • Next by thread: user defined palettes