HDTenEightyP/NetNews huggingface dataset:
From: flagg@blind-lemon.cs.unlv.edu (Scott Cunningham)
Newsgroups: comp.lang.postscript
Subject: Re: Converting ps to eps
Date: 5 Nov 92 05:04:43 GMT
Organization: UNLV

In article <9136@vtserf.cc.vt.edu> ravi@vttcf.cc.vt.edu (B. Ravi Shankar)  
writes:

 "I have files in CGM format which I am able to convert into
 "postscript. I need  to make eps files out of either the 
 "cgm files or the postscript files so that I can include 
 "them into my latex sources files. The CGM/postscript files
 "are basically figures/graphs etc.
 "
 "Could somebody suggest how I can do this and if not could you
 "tell me where I might find the FAQ list of this newsgroup.

	The answers you seek are in the 'Red Book' (aka 'PostScript Language  
Reference Manual')  You need to modify the header of your file to include the  
EPS File header.  Here is the example given in the book:

%!PS-Adobe-3.0 EPSF-3.0
%% BoundingBox: 5 5 105 105		<---This is the important line
10 setlinewidth
10 10 moveto
0 90 rlineto 90 0 rlineto 0 -90 rlineto closepath
stroke

The command setting the BoundingBox is probably missing from your code.
This sets the coordinates which surround your image.

--

________________________________________________________________________
Scott Cunningham \ We're the NSA                                        \
Username: flagg  \ So your the ones I hear on the other end of my phone \
                 \ No, that's the FBI                                   \
-------------------------------------------------------------------------
Newsgroups: comp.lang.postscript
From: mrl@nerus.pfc.mit.edu
Subject: VMS GKS problems.
Organization: MIT PLASMA FUSION CENTER
Date: Mon, 9 Nov 1992 20:19:18 GMT

I have a user here trying to output color ps using VMS GKS.  Works ok with
vectors, but not with shaded images (i.e. using the colorimage command).  One
file stopped due to a ps error, the other one finished but produced no output. 
When I removed the image command and data, I did get output from the rest of
the file, so I suspect the wrong parameters are being given to that command.
I was just curious if anyone else has had experience with this package and
found a way around the problem.  Thanks.  

Mark London
MRL@NERUS.PFC.MIT.EDU
From: carl@SOL1.GPS.CALTECH.EDU (Carl J Lydick)
Newsgroups: comp.lang.postscript
Subject: Re: How to print a large ps file?.
Date: 12 Nov 1992 23:49:52 GMT
Organization: HST Wide Field/Planetary Camera
Distribution: world
Reply-To: carl@SOL1.GPS.CALTECH.EDU
NNTP-Posting-Host: sol1.gps.caltech.edu

In article <1992Nov12.170245.22912@trilithon.mpk.ca.us>, henry@trilithon.mpk.ca.us (Henry McGilton) writes:
=As to the questioning of Mister Ramesh's grasp of ``Computer
=Science'' -- all this stuff about spooler limits, printcaps,
=symbolic links -- none of this is ``computer science''.  It's
=black magic and a miracle you ever get anything printed at all
=on UNIX systems.

Do you mean to say that you think it's reasonable for someone in a computer
science program not to know the difference between the computer on which he's
generating the file, the machine that will be spooling the file, and the
machine that will actually be printing the file?  If so, then CS is in even
worse shape than I thought.
--------------------------------------------------------------------------------
Carl J Lydick | INTERnet: CARL@SOL1.GPS.CALTECH.EDU | NSI/HEPnet: SOL1::CARL

Disclaimer:  Hey, I understand VAXen and VMS.  That's what I get paid for.  My
understanding of astronomy is purely at the amateur level (or below).  So
unless what I'm saying is directly related to VAX/VMS, don't hold me or my
organization responsible for it.  If it IS related to VAX/VMS, you can try to
hold me responsible for it, but my organization had nothing to do with it.
From: rickcl@pogo.wv.tek.com (Rick Clements)
Newsgroups: comp.lang.postscript
Subject: Re: Sending special characters to serial connected LaserWriter
Summary: Binary data requires quoting
Date: 9 Nov 92 03:00:30 GMT
Organization: Tektronix, Inc., Wilsonville,  OR.

It is possible to send 8 bits of data down the serial (and parallel) ports.
However, binary data must be quoted.  ^D, ^T and ^C are special characters.
If the printer's port isn't in binary mode <LF>, <CR>, ^R, and ^U are 
special characters.

Level II defines a common method for handling binary data.  In level I, the
handling of binary data is printer dependent.  
-- 
Rick Clements (RickCl@pogo.WV.TEK.COM)
Newsgroups: comp.lang.postscript
From: rthomson@mesa.dsd.es.com (Rich Thomson)
Subject: Re: Is there interest in comp.sources.postscript?
Reply-To: rthomson@dsd.es.com (Rich Thomson)
Organization: Design Systems Division, Evans & Sutherland, SLC, UT
Date: Fri, 13 Nov 92 07:49:23 GMT

In article <4424@vidiot.UUCP>
	brown@vidiot.UUCP (Vidiot) writes:
>For starters, I'd stick with the following groups:
>
>	comp.sources.postscript

This sounds fine.

>	comp.sources.postscript.d

I'm really confused why this group is needed.  Why can't the
discussion take place in this newsgroup?  Whenever talking about
proposing groups on usenet, always ask youself this question:

    Will an existing group serve the need?

For me, the need for a place to discuss postscript programming and
postscript programming techniques is served by comp.lang.postscript.

The need for a group explicitly for posting postscript source isn't
directly served by c.l.p it seems.  This is even more the case when
you consider the fact that you probably would like to have the sources
group moderated.

						    -- Rich
-- 
		      Don't blame me; I voted Libertarian
Disclaimer: I speak for myself, except as noted; Copyright 1992 Rich Thomson
UUCP: ...!uunet!dsd.es.com!rthomson			Rich Thomson
Internet: rthomson@dsd.es.com	IRC: _Rich_		PEXt Programmer
From: gt4503e@prism.gatech.EDU (Tracy K. Wood/KD0UP)
Newsgroups: comp.lang.postscript
Subject: Word Perfect 5.1 To Level 2 Postscript
Keywords: Word Perfect, word processor
Date: 11 Nov 92 17:37:39 GMT
Organization: Georgia Institute of Technology

Is there any third-party package that converts Word Perfect (DOS) version
5.1 files into encapsulated Postscript (EPS).   At best I can convert
the ASCII text to Postscript but I also need a way to transfer graphs.
(Along the same lines .. .is the WP graph format the same as Draw Perfect?
If so then hopefully DP cranks out EPS files like Freelance 4.0 does
(but not too gracefully unfortunately)

Tracy



-- 
Tracy K. Wood,  Graduate Student,  (Amateur Radio KD0UP/4)
Georgia Institute of Technology, PO Box 24503, Atlanta GA 30332 USA
uucp:	  ...!{decvax,hplabs,ncar,purdue,rutgers}!gatech!prism!gt4503e
Internet: gt4503e@prism.gatech.edu  or   sigcen@chmsr.gatech.edu
Newsgroups: comp.lang.postscript,comp.protocols.appletalk
From: pascoe@rocky.gte.com (Dave Pascoe)
Subject: Printing Postscript to HP PaintWriter
Organization: GTE/MSED - Needham Heights, MA
X-Newsreader: TIN [version 1.1 PL6]
Date: Tue, 10 Nov 1992 20:59:52 GMT


I'm trying to (remotely) help someone out with printing Postscript to
an HP PaintWriter XL (color).  We're using CAP 6.0pl125 and lwpr to send the
Postscript file.  We can print to any LaserWriter around here but not
the HP printer.

I'm not certain that the HP PaintWriter supports Postscript.  CAP
seems to be able to open a session with the HP but seems to hang when
the Posctscript file is sent.  Blank pages are printed on the printer
each time an attempt is made.

Any pointers will be appreciated....please e-mail.
--
Dave Pascoe
Internet: pascoe@rocky.gte.com
GTE/MSED - Needham Heights, MA
(617) 455-5704
Newsgroups: comp.lang.postscript
From: henry@trilithon.mpk.ca.us (Henry McGilton)
Subject: Trying to Connect with Thomas Wolff
Organization: Trilithon Software
Date: Wed, 4 Nov 1992 02:19:12 GMT



Apologies for wasting net bandwidth.  I am trying
to connect with Mister Thomas Wolff at the Free
University of Berlin.  I have tried various
mail paths and they all bounce.  Mister Wolff
recently posted a reference to a book:

    Thomas Merz: TerminalBuch PostScript :
    Fonts und Programmiertechnik
    M:unchen; Wien: Oldenbourg, 1991.
    ISBN 3-486-21674-0

None of my book stores here have ever heard of the author,
book, ISBN, or publisher.
Would you be so kind as to supply an address for the publisher,
so I can write to them directly and place an order.  I assume
that the publisher are Oldenbourg?  I will be grateful.

With many thanks for your help, Please E-mail me at
	henry@trilithon.mpk.ca.us
my news feed is down (AGAIN!)
    Thank You,
	........  Henry
Newsgroups: comp.lang.postscript,comp.text,comp.sources.wanted
From: fitzgb@mml0.meche.rpi.edu (Brian Fitzgerald)
Subject: font editor wanted
Followup-To: comp.lang.postscript
Organization: Rensselaer Polytechnic Institute, Troy, NY
Date: Sat, 14 Nov 1992 04:32:15 GMT

How can I make a slight modification to a few characters
in a Postscript font?  I have the following files:

afm/bodoni.afm    pfm/bodoni.pfm    vpl/bodoni.vpl
pfa/bodoni.pfa    tex/vf/bodoni.vf

and I know how to use the pfa file, so far.  I'd like to make the
serifs on the letters 'R' and 'a' a little longer.  How can I do this?

I have access to X11R4 and R5, Windows 3.1, and Frame Maker,
and I don't mind setting up a package if that's what's needed.

Followup to comp.lang.postscript.

Brian
Newsgroups: comp.lang.postscript
From: pollack@dendrite.cis.ohio-state.edu (Jordan B Pollack)
Subject: simulating antique printers
Originator: pollack@dendrite.cis.ohio-state.edu
Reply-To: pollack@cis.ohio-state.edu
Organization: Ohio State Computer Science
Distribution: comp
Date: Thu, 5 Nov 1992 14:36:08 GMT

My daughter has some beautiful educational programs (talking
programs from FIRST BYTE), but they are only configured for
two printers: IBM or EPSON (Proprinter or fx80??). I
wrote a transducer for one of them from stored files
to postscript, but I don't intend to dissect the
graphics file format of some of the others! 

Is there a postscript wrapper which will cause
a postscript interpreter behave like one of these
printers INCLUDING GRAPHICS MODES? I guess there
would be problems with 7 bit interfaces.

Alternatively, are there printscreen/screendump
driver which generates postscript around?

Any pointers appreciated. Ramona thanks you in advance.



-- 
Jordan Pollack                            Assistant Professor
CIS Dept/OSU                              Laboratory for AI Research
2036 Neil Ave                             Email: pollack@cis.ohio-state.edu
Columbus, OH 43210                        Phone: (614)292-4890 (then * to fax)
Organization: School of Computer Science, Carnegie Mellon, Pittsburgh, PA
Newsgroups: comp.lang.postscript
Date: Fri,  6 Nov 1992 19:56:55 -0500 
From: Robert Andrew Ryan <rr2b+@andrew.cmu.edu>
Subject: ISOLatin1Encoding and older printers

I'm working on a text formatter which needs to handle ISO-Latin-1
encoded text.  I was able to find a post from greid@adobe.COM (Glenn
Reid) from back in '89.  This post showed how to define the appropriate
encoding vector if it didn't already exist, and to check that the
printer font has the appropriate characters.  I find that my printer
doesn't have the appropriate characters (it's an old Laserwriter).  Am I
out of luck?

Looking at the original standard Adobe character set I find only three
characters I don't think I can easily generate from others...  thorn,
and eth.  The rest can be constructed from other characters, or are
provided in the symbol font.   Does anyone know of any place where I
could find an example of adding composite characters to an existing font?

Thanks for any info,
-Rob Ryan
Andrew Consortium
Newsgroups: comp.lang.postscript
From: anselmo@cumesb.mech.columbia.edu (Andrew P. Anselmo)
Subject: generation of PS by xgraph
Organization: Columbia University Department of Mechanical Engineering
Date: Fri, 13 Nov 1992 19:59:59 GMT
X-Posted-From: cumesb.mech.columbia.edu
NNTP-Posting-Host: sol.ctr.columbia.edu


Does anyone have any comments on the PS output of the general plotting tool
xgraph?  I've been working on converting the PS output of xgraph to EPS
files, yet I seem to be running into trouble.  Other programs, such as
gnuplot, put out nice PS file, but I think the centering that xgraph
generates is causing me problems when I try to convert it to a EPS file.
I've tried contacting the author of xgraph, but I've gotten no response.

thanks in advance.
-
a.



-- 
--------------------------------------------------------------------------------
 Andrew Anselmo / Department of Mechanical Engineering / Columbia University
	      Thermal Science Research Laboratory (236A Mudd) 
   220 SW Mudd Building 212-854-2965 / anselmo@cumesb.mech.columbia.edu
From: brown@vidiot.UUCP (Vidiot)
Newsgroups: comp.lang.postscript
Subject: Re: Shifting an EPS image on the page
Date: 13 Nov 92 06:14:09 GMT
Article-I.D.: vidiot.4428
Reply-To: brown@vidiot.UUCP (Vidiot)
Organization: Vidiot's Hangout

In article <1992Nov11.204926.17010@sol.ctr.columbia.edu> anselmo@cumesb.mech.columbia.edu (Andrew P. Anselmo) writes:
<
<I've figured out how to convert a PS image to and EPS image,
<(suitable to be imported to a drawing program called tgif), but how
<do I shift the image around on the page?  I'm sure this is a simple
<operation.  Changing the bounding box seems to do nothing...

The shifting of the image on the page is determined by the program that you
imported it into.  Consult your manual for details.
-- 
      harvard\                          spool.cs.wisc.edu!astroatc!vidiot!brown
Vidiot  ucbvax!uwvax..........!astroatc!vidiot!brown
      rutgers/            INTERNET:vidiot!brown%astroatc.UUCP@spool.cs.wisc.edu
                                   brown@wi.extrel.com
Newsgroups: comp.lang.postscript
From: rothman@tegra.com (Steve Rothman)
Subject: Re: PostScript disassembler?
Organization: Tegra, Inc.
Date: Tue, 10 Nov 1992 16:40:31 GMT

In article <1dmj7eINNha9@gap.caltech.edu> carl@SOL1.GPS.CALTECH.EDU (Carl J
Lydick) writes:
>In article <BxGFon.27D@tegra.com>, rothman@tegra.com (Steve Rothman) writes:
>=What I would like my mythical "ps dissasembler" program to do is to replace
the
>=line 
>=
>=4 s
>=
>=with a line reading
>=
>=4 dup mul
>=
>=Then I know exactly what's happening, without prolonged searching around in
the
>=prolog!
>
>Sorry.  Can't be done.  Consider the following (legal) Postscript code:
>
>	/BIG
>	{ /POINTSIZE 18 def
>	} def
>	/SMALL
>	{ /POINTSIZE 9 def
>	} def
>	BIG
>	/Courier findfont POINTSIZE scalefont setfont
>	72 72 moveto
>	(This is the big font) show
>	SMALL
>	/Courier findfont POINTSIZE scalefont setfont
>	72 144 moveto
>	(This is the small font) show
>	showpage
>
>Now, how would your "disassembler" expand POINTSIZE?

Well, I guess I would want it to replace POINTSIZE with 18 in the first
instance and 9 in the second. Somehow, a PostScript interpreter can deal with
this.  Maybe you mean to say that the program I'm looking for is just as
complex as the parsing machinery used by a PS interpreter (which is way beyond
me). But "can't be done" seems a little strong... 

By the way, maybe a better analogy to what I want (rather than "dissasembler")
is a C preprocessor that can take a C program, with all kinds of #defines,
#includes, and various conditionals, and turn in into straight C code. This
kind of utility I think is always included with C compilers, probably because
it's a step that is done automatically during normal compilation anyway.
Perhaps "preprocessing" is also a step that PS interpreters also have to do
anyway. In that case, might not a PS interpreter allow this as an option? 
==================================================================
Steve Rothman, Tegra Inc, Billerica Massachusetts USA
email: rothman@tegra.com *** CIS: 72120,2747 *** FAX: 508-663-7082
From: brown@vidiot.UUCP (Vidiot)
Newsgroups: comp.lang.postscript
Subject: Re: Multiple copies within PS file
Keywords: Copies
Date: 10 Nov 92 06:49:47 GMT
Reply-To: brown@vidiot.UUCP (Vidiot)
Organization: Vidiot's Hangout

In article <1992Nov9.155057.5403@inel.gov> haw@inel.gov (Grant Hawkes) writes:
<
<     I am wondering if there is a way to give a ps command to print
<multiple copies of the ps file.  I have a two page color postscript
<file that I want to send to the color ps printer.  I need several
<copies.  I know that I can keep sending the file multiple times, but
<I want to know if there is a command to issue to do it.  I looked
<at a ps book and couldn't find anything on copies in the index.
<Any help would be appreciated.  Thanks.

Add:

	/#copies <value> def

After the first line (usually) the %!

That is the quick and dirty way of doing it.  If you have a multi-page file,
the definition may have to be placed in a different spot, but #copies is the
value that is used to print more than one copy.
-- 
      harvard\                          spool.cs.wisc.edu!astroatc!vidiot!brown
Vidiot  ucbvax!uwvax..........!astroatc!vidiot!brown
      rutgers/            INTERNET:vidiot!brown%astroatc.UUCP@spool.cs.wisc.edu
                                   brown@wi.extrel.com
From: carl@SOL1.GPS.CALTECH.EDU (Carl J Lydick)
Newsgroups: comp.lang.postscript
Subject: Re: PostScript disassembler?
Date: 9 Nov 1992 20:55:10 GMT
Organization: HST Wide Field/Planetary Camera
Distribution: world
Reply-To: carl@SOL1.GPS.CALTECH.EDU
NNTP-Posting-Host: sol1.gps.caltech.edu

In article <BxGFon.27D@tegra.com>, rothman@tegra.com (Steve Rothman) writes:
=Well, here's an extremely simple-minded example:
=
=:
=:
=%buried somewhere in the prolog
=/d {dup} def
=:
=%buried somewhere else in the prolog
=/m {mul} def
=:
=%buried in yet another place in the prolog
=/s {d m} def    
=:
=:
=%somewhere deep in the page description
=4 s
=:
=:
=
=Ok, so I'm trying to understand why something happened on a page. The line, "4
=s" happens right before something is drawn. In order to find out what it does,
=as I'm looking in the page description, I can search for "/s". When I find it,
=I then have to do a search for "/d" and "/m".  Since this is a simple example,
=I'm now set. In real-life, I've found my self backtracking through a dozen
=layers, in many directions, just to find out what one lousy operator in the
=middle of an otherwise understandable page description does.
=
=What I would like my mythical "ps dissasembler" program to do is to replace the
=line 
=
=4 s
=
=with a line reading
=
=4 dup mul
=
=Then I know exactly what's happening, without prolonged searching around in the
=prolog!

Sorry.  Can't be done.  Consider the following (legal) Postscript code:

	/BIG
	{ /POINTSIZE 18 def
	} def
	/SMALL
	{ /POINTSIZE 9 def
	} def
	BIG
	/Courier findfont POINTSIZE scalefont setfont
	72 72 moveto
	(This is the big font) show
	SMALL
	/Courier findfont POINTSIZE scalefont setfont
	72 144 moveto
	(This is the small font) show
	showpage

Now, how would your "disassembler" expand POINTSIZE?
--------------------------------------------------------------------------------
Carl J Lydick | INTERnet: CARL@SOL1.GPS.CALTECH.EDU | NSI/HEPnet: SOL1::CARL

Disclaimer:  Hey, I understand VAXen and VMS.  That's what I get paid for.  My
understanding of astronomy is purely at the amateur level (or below).  So
unless what I'm saying is directly related to VAX/VMS, don't hold me or my
organization responsible for it.  If it IS related to VAX/VMS, you can try to
hold me responsible for it, but my organization had nothing to do with it.
From: clewis@ferret.ocunix.on.ca (Chris Lewis)
Newsgroups: comp.lang.postscript
Subject: Re: How do I recognize postscript from a file
Date: 6 Nov 92 02:31:27 GMT
Organization: Elegant Communications Inc., Ottawa, Canada

In article <AV.92Nov4095431@kielo.uta.fi> av@uta.fi (Arto V. Viitanen) writes:
>When printing from MS Windows to Postscript file, the file (if you don't
>make it not to) starts with characters ^D%! (i.e. control-D, %, !). In a way,
>this is right way, since ^D means end-of-job to a Postscript printer, so
>previous job is stopped. I only thought to say this, since lpr-filter on our
>department checks the %! -pair, and several times Postscript document has
>been run through Ascii-to-PS filter.

The correct way to handle this is for the application to *not*
append or prepend ^D's, and let the spooler handle it.  This is
because the spooler is the most likely to know whether the printer
actually needs it or not.  Ie: PostScript printers connected
by network protocols (AppleTalk, TCP/IP etc.) do *not* need it.

Other non-Adobe PostScript implementations also get indigestion from
^D - ie: imagens (Ultrascript).

If the spooler does it, there's no need to emit ^Ds to the printer
before the job because it knows that the previous job had one at
the end (unless something crashed).  If the spooler does emit
leading ^D's, you want all applications to have it.  If the
spooler does it, then this stuff doesn't interfere with anciliary
spooler facilities (automatic ascii sensing, font includers,
page reversers etc.) - they don't have to be mangled to accept
every different application foulup of the Adobe DSC standard.
And you don't have to muck around so much to use these package's
output as EPS.

If you really want this to work properly, you should manually strip
all ^Ds from application output, and implement it in the spooler.

If I recall correctly, Adobe's heuristic is something like: if you're
sending it to a device, and you know the printer needs ^D, append the ^D,
otherwise (pipe, file etc.) don't.

MS Windows use of ^D is a kludge workaround for somebody else's botch.
A bad kludge.  Because the output of MS Windows ain't PostScript because
of it.
-- 
Chris Lewis; clewis@ferret.ocunix.on.ca; Phone: Canada 613 832-0541
Psroff 3.0 info: psroff-request@ferret.ocunix.on.ca
Ferret list: ferret-request@ferret.ocunix.on.ca
From: brown@vidiot.UUCP (Vidiot)
Newsgroups: comp.lang.postscript
Subject: Re: Postscript to draw the USA posted to alt.sources
Date: 8 Nov 92 07:50:56 GMT
Reply-To: brown@vidiot.UUCP (Vidiot)
Organization: Vidiot's Hangout

In article <1992Nov6.162433.4244@bcars6a8.bnr.ca> clewis@ferret.ocunix.on.ca (Chris Lewis) writes:
<In article <4365@vidiot.UUCP> brown@vidiot.UUCP (Vidiot) writes:
<
<>How about my suggestion to have a PostScript sources group?  Oh, I can hear
<>the screams and moans now...not another newsgroup.  But what could be more
<>natural than to have a PostScript sources group within the PostScript
<>newsgroups.
<
<It's not that bad idea - that's what comp.sources.* is for.  However,
<the current convention is that there's no language differentiation in
<the groups, only O/S (or "refereed review", versus "review", versus "packaging
<standards only").  However, since PostScript is, in one sense, a different environment
<altogether from UNIX, a comp.sources.postscript might fly - especially if
<moderated.  I suspect, tho, the arguments would be about PostScript being a
<graphics format (and hence should be under alt.binaries), or there being
<insufficient demand (for PS programs versus, say, pornos) that it would
<be a long slog.
<
<I dunno.  What do other people think?  If we decide that one's appropriate
<and that it has a reasonable chance at flying, I'm amenible to running
<the vote.

I still believe that there should be some kind of available group for PostScript
sources, be it a comp.sources.postscript or a comp.lang.postscript.sources
group.  It should not be an alt group, so that more readers can get it.

<>BTW.  Did you ever receive my e-mail about enhancments to the psxlate man
<>page?  I never heard back from you.
<
<Yes.  But I'm going to implement something different to solve the problem.
<This isn't a documentation problem.  I did send something to you.  Musta
<gotten lost somehow.

Sorry Chris, never received it.  Could you send it out again, to my work
address?
-- 
      harvard\                          spool.cs.wisc.edu!astroatc!vidiot!brown
Vidiot  ucbvax!uwvax..........!astroatc!vidiot!brown
      rutgers/            INTERNET:vidiot!brown%astroatc.UUCP@spool.cs.wisc.edu
                                   brown@wi.extrel.com