🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #4996

Simple postscript language question

#4996
From: Mark A. Haun
Date: Wed, 13 Mar 1991 04:44
27 lines
1736 bytes
I have a question concerning the postscript language, and the
feasibility of implementing a simple postscript printer output
routine to a program I'm writing.

Some background:  I have recently built a homemade seismograph and
am presently coding the associated C software to record, display,
analyze, and print the seismograph traces.  I'd like to have an
option to print to a postscript printer, which would use only a
very limited subset of the postscript language.

The only graphics commands I require (apart from the initialization
and formatting commands) are point and line drawing commands, which
accept xy coordinates as arguments.  A "lineto" (line from last
position) command would be especially nice.  Does postscript have a
simple line command which could handle this?  Most importantly,
where can I find an accurate syntactic reference for the relevant
parts of the postscript language?

Since I know very little about postscript, any enlightenment would
be appreciated :-) !


-- 
Mark A. Haun / 3445 Del Mesa Ct. / Sacramento, CA 95821 / Phone: (916) 488-2965
UUCP: {ames | apple | sun}!pacbell!sactoh0!mahaun | Amateur Radio KJ6PC
INTERNET: mahaun@sactoh0.SAC.CA.US / pacbell!sactoh0!mahaun@ames.arc.nasa.gov
Amateur Pkt Radio: kj6pc@wa6nwe.#nocal.ca.usa -or- [44.2.0.56] on 144.93 MHz
Technical Details
Message-ID: <1991Mar13.044414.4630@sactoh0.sac.ca.us>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!decwrl!csus.edu!ucdavis!csusac!sactoh0!mahaun

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!decwrl!csus.edu!ucdavis!csusac!sactoh0!mahaun
From: mahaun@sactoh0.sac.ca.us (Mark A. Haun)
Newsgroups: comp.lang.postscript
Subject: Simple postscript language question
Message-ID: <1991Mar13.044414.4630@sactoh0.sac.ca.us>
Date: 13 Mar 91 04:44:14 GMT
Organization: Sacramento Public Access Unix
Lines: 27