HDTenEightyP/NetNews huggingface dataset:
From: Jon_McAuliffe@NeXT.COM (Jon McAuliffe (CC))
Newsgroups: comp.lang.postscript
Subject: PageMaker EPS Problem solved - Thanks!
Date: 17 Aug 92 14:40:38 GMT
Article-I.D.: rosie.4730


	Many thanks to everyone who replied to my post about EPS font  
selection problems from Windows PageMaker output. Turns out it was more a  
device problem on the typesetter's end than bad EPS files, though the  
non-PostScript fonts did end up complicating things somewhat. Main thing  
is we got it done. Thanks again!

	For those who asked, this had nothing to do with NeXT (sorry if  
the .sig caused confusion), and using a PC was a "regrettable" necessity.


_________________________________________________________
Jon McAuliffe
Campus Consultant, NeXT Chicago Office
Jon_McAuliffe@NeXT.COM   -OR-   jmcaulif@husc.harvard.edu
O: (312) 329-2550                       H: (708) 983-0896
"Hier wird NeXTmail gesprochen" <-- NeXTMail spoken here
(Biste nun zufrieden, Pete)?
Xref: sparky comp.lang.postscript:4350 comp.sys.mac.apps:13469
From: blakeno@arte.sos.ivy.isc.com (Blake Noah)
Newsgroups: comp.lang.postscript,comp.sys.mac.apps
Subject: Re: Save Mac Word doc to Postscript file?
Keywords: Word 4.0, Postscript file
Date: 18 Aug 92 18:53:05 GMT
Reply-To: blakeno@ism.isc.com
Organization: Interactive Systems Corp.

In article <11789@optilink.UUCP>, teplitz@optilink.UUCP (Ron Teplitz) writes:
|> I remember reading somewhere that Word could save a document to a postscript
|> file, but I don't remember where or how to make it do this. Any hints
|> out there?  Thanks in advance. 

Macintosh has a PostScript file option within the print dialog box. I haven't
used the Mac version of word, but the windows version has a printer
configuration section under "File" which I use to print PostScript files under
Windows.

-- 
O. Blake Noah		INTERACTIVE Systems Corporation
blakeno@ivy.isc.com	26635 W. Agoura Rd, Suite 200
818-880-1200 		Calabasas, CA  91302
Newsgroups: comp.lang.postscript
From: bart@netcom.com (Harry Bartholomew)
Subject: Re: giftops - compiling under MS-DOG
Date: Thu, 13 Aug 92 08:40:54 GMT
Organization: Netcom - Online Communication Services  (408 241-9760 guest) 
X-Newsreader: Tin 1.1 PL4

Another way that produces a non-functional exe is to use the Microsoft
compiler.

Nice code huh?
From: snichols@adobe.com (Sherri Nichols)
Newsgroups: comp.lang.postscript
Subject: Re: Transcript software versions?
Date: 20 Aug 92 18:07:15 GMT
Organization: Adobe Systems Incorporated

In article <SCOTT.92Aug19124553@arugula.statsci.com> scott@statsci.com writes:
>Does any one have a table of what Transcript release came out when and which
>versions of the DSC they purported to understand? 

All releases of the TranScript software prior to version 3.0 (1991)
understand only version 1.0 of the DSC, as published int the original red
book.  From version 3.0 forward, TranScript software understands version
3.0 of the DSC, as published in the new red book.

Sherri Nichols
snichols@adobe.com
Newsgroups: comp.lang.postscript
From: silvus@vauxhall.ece.cmu.edu (Gregory Lee Silvus)
Subject: Printer/Viewer Discrepancy
Organization: Electrical and Computer Engineering, Carnegie Mellon
Date: Fri, 21 Aug 1992 19:43:55 GMT

I'm working on a postscript program to print large characters
with letters along their outlines. I translate, rotate, scale,
set the font, then start the new path like this:

4.25 inch 1 inch translate
90 rotate
0.6 0.6 scale
BigFont setfont		% about 400 point before scaling
newpath
  0 0 moveto
  (D) true charpath
  SmallFont setfont	% about 15 point before scaling
(testing testing testing testing testing testing) 0 0 pathshow

The result should look something like:


gni
   t
    s
     e
     t

     g
     n
    i
test

etc., except that the letters rotate to be parallel to the outline.

The font I'm using is Times-Bold which is standard for the
dxpsview and LaserWriter that I use. The problem is that
in dxpsview, everything prints fine, but when I send it to the
printer all I get is the cover sheet that specifies which
user tried to print something.

"pathshow" works in dxpsview AND the printer for paths other
than those specified by characters. It also works on a
ghostview displayer that I have access to.

Any ideas as to where I could look for things that would
cause the printer to fail? I was thinking that perhaps
Times-Bold *was* an outline font in dxpsview, but not
the LaserWriter, but I kind of doubt that.

Pleeeeeez help,
gReg
Newsgroups: comp.lang.postscript
From: henry@trilithon.mpk.ca.us (Henry McGilton)
Subject: Re: Centering Strings in PostScript
Organization: Trilithon Software
Distribution: comp
Date: Sat, 15 Aug 1992 20:04:35 GMT

In article <KLEHR.92Aug14101809@creamer.bellcore> klehr@creamer.bellcore  
(Thomas J. Klehr) writes:
    *  I am trying to center a string (horizontally and vertically) at a
    *  point.  What method can I use to compute the height and width of the
    *  string?
I tried mailing this but it bounced.  Here is an example from our
forthcoming book, ``PostScript by Example'', which covers this topic
as well as hundreds more.  The book should be on the
shelves in about a month.  Addison-Wesley are the publishers.

%!PS
/inch { 72 mul } def
/charheight {
  gsave
    newpath 0 0 moveto
    false charpath
    flattenpath pathbbox
    exch pop 3 -1 roll pop
  grestore
} def
/stringheight {
  /lly 0.0 def
  /ury 0.0 def
  {
    ( ) dup 0 4 -1 roll put
    charheight
    dup ury gt {
      /ury exch def
    } {
      pop
    } ifelse
    dup lly lt {
      /lly exch def
    } {
      pop
    } ifelse
  } forall
  ury lly sub
} def

/descender {
  /lly 0.0 def
  /ury 0.0 def
  {
    ( ) dup 0 4 -1 roll put
    charheight pop
    dup lly lt {
      /lly exch def
    } {
      pop
    } ifelse
  } forall
  lly
} def

%!PS
4.25 inch 0 moveto 0 11 inch rlineto
0 5.5 inch moveto 8.5 inch 0 rlineto stroke
/ZapfDingbats findfont 2 inch scalefont setfont
(\140) dup stringwidth pop 2 div 4.25 inch exch sub
5.5 inch 2 index charheight exch pop 2 div sub moveto show
Newsgroups: comp.lang.postscript
From: klehr@creamer.bellcore (Thomas J. Klehr)
Subject: Centering Strings in PostScript
Reply-To: klehr@bae.bellcore.com (Thomas J. Klehr)
Organization: /u/klehr/.organization
Distribution: comp
Date: 14 Aug 92 10:18:09

I am trying to center a string (horizontally and vertically) at a
point.  What method can I use to compute the height and width of the
string?

Tom
--
_______________________________________________________________________________

Thomas J. Klehr                             Email: klehr@bae.bellcore.com
Bellcore  (RRC 4A-732)                      Phone: (908) 699-7095
444 Hoes Lane
Piscataway, NJ 08854
From: loesch@bl.physik.tu-muenchen.de (Andi Loesch)
Subject: Re: Big polygons
Organization: Leibniz-Rechenzentrum, Muenchen (Germany)
Date: Fri, 21 Aug 1992 07:29:47 GMT

delahunt@adobe.com (Jim DeLaHunt) writes:

>In article <4eVm0Lq00awAMCPkkW@andrew.cmu.edu> am2q+@andrew.cmu.edu 
>(Andrew Newell Mickish) writes:
>>I need a strategy for printing polygons with an arbitrary number of
>>vertices.  So I guess the question comes down to how do I deal with a 
>>very large number of parameters to a function?

>In general, write your script in such a way that it the interpreter
>consumes code as soon as it receives it.  For instance, don't do
>  143.2 246.0 .... (1000 coordinate pairs in reverse order here)
>  1000 {moveto} repeat 

>Send the coordinates and consume them at once.
>  143.2 246.0 lineto 141.59 240.0 lineto ... (998 more "x y lineto" sets)

>If you are concerned about data size, then define an abbreviation for 
>"lineto".  You can also reduce data size by sending the difference between
>coordinates, and by eliminating insignificant digits etc.
>  % in prolog
>  /l /lineto load def	/r /rlineto load def
>  % in script
>  143.2 246.0 l -1.41 -6 r ... (998 more "x y r" sets)

>>Thanks,
>>
>>--Andrew Mickish

>You're welcome!
>	--Jim DeLaHunt, Developer Support, Adobe Systems Incorporated	
>delahunt@adobe.com	...!{apple,decwrl}!adobe!delahunt      +1-415-962-3790
>In matters of style my word is law!  I work for Developer Support.  :-)

But what happens if the length of the polygon becomes too large? If you only want to plot it, you can "stroke" it and everything is ok. How to proceeed when you want to FILL it???

thanks

Andi


--
  Andreas Loesch	Phone   : (+49 89)3209 4086
  Univ. Muenchen	FAX     : (+49 89)3209 4059
  Am Coulombwall 1	E-mail  : Andi.Loesch@Physik.Uni-Muenchen.DE
W-8046 Garching
From: kevind@pogo.wv.tek.com (Kevin Draz)
Newsgroups: comp.lang.postscript
Subject: Re: PhoenixPage?  Seiko and/or Calcomp printer?
Date: 15 Aug 92 09:12:54 GMT
Organization: Tektronix, Inc., Wilsonville,  OR.

In article <13AUG92.20284618@nerus.pfc.mit.edu> mrl@nerus.pfc.mit.edu writes:
>I'm still looking at buying a postscript color printer.  Seiko claims that
>their PhoenixPage postscript emulation creates smoother shading and less grainy
>images.  Can anyone confirm this?  Also, has anyone tried the new Calcomp
>printers?  Thanks.

PhoenixPage does use an enhanced screening mode which makes available more
gray levels and finer screening.

#include <blatantplug.tek>

Tek has been shipping enhanced screening in color printers, both in our
clone level-1 product, and in our genuine Adobe level-2 instruments for
years.  We offer 200+ gray levels, and l.p.i. numbers up to 80 (at the same
time).  Some products also have Tek's proprietary FinePoint error diffusion
as well.  We offer 4 different marking engine technologies (all color), with
a wide array of PS RIP/controller combinations, all featuring various
enhanced screening options.

KD

-- 
----
kevind@pogo.wv.tek.com  | For most software publishers, quality is job 1.01.
Tektronix Color Printers|                            -- MacWeek Magazine
Newsgroups: comp.lang.postscript
From: GILMART@LSTC2VM.stortek.com (Paul Gilmartin)
Subject: Re: mcvert
Organization: StorageTek SW Engineering
Date: Sat, 15 Aug 1992 03:32:30 GMT

In article <BsxurG.2nq@unx.sas.com>
sasjqw@donne.unx.sas.com writes:
 
>Is the mcvert conversion program public domain?
>If so, where is it available?  Thanks for any help.
 
Perhaps not public domain, but I believe it's free.
By ftp:  in /info-mac at sumex-aim.stanford.edu
By Mail: from LISTSERV@RICEVM1.RICE.EDU
$MACARCH Get                   UNIX/MCVERT-182.SHAR
 
Very simple shell archive.
Newsgroups: comp.lang.postscript
From: delahunt@adobe.com (Jim DeLaHunt)
Subject: Re: How does Interpolation of Images work in level 2? (with broken example)
Summary: interpolation algorithm is not specified
Keywords: Interpolation
Organization: Adobe Systems Incorporated
Date: Fri, 21 Aug 1992 04:27:03 GMT

In article <1992Aug11.011717.1588@rdr.com> mhovan@rdr.com writes:
>I was wondering if anyone had  
>some simple examples.  I have tried (in vain) to get an interpolated  
>image to produce a different result than an uninterpolated image. 

Try this:
--CUT HERE----CUT HERE----CUT HERE----CUT HERE----CUT HERE--
%!PS-Adobe-3.0
/DeviceGray setcolorspace
144 144 translate 144 144 scale
<<
	/ImageType 1
	/Width 8 /Height 8
	/BitsPerComponent 1
	/MultipleDataSources true
	/ImageMatrix [8 0 0 -8 0 8]
	/Decode [0 1]
	/Interpolate true
	/DataSource <FF 7F 3F 1F 0F 07 03 01>
>>
image
--CUT HERE----CUT HERE----CUT HERE----CUT HERE----CUT HERE--

On my LaserWriter IIg this code produces a dramatic difference between 
/Interpolate true and /Interpolate false.

The spec says (PLRM p. 222):
	"[The image interpolation algorithm] *attempts* to make a smooth 
	 transition between image values." [my emphasis]

In other words, neither the algorithm nor the range of cases when it is
applied is specified.  It seems that in the implementations you and I
are using, the algorithm is not applied for 24 bits-per-pixel images, but
is applied for 1 bit-per-pixel images.

There are many features of the PostScript language for which the interpreter
is *allowed* to make things better, but is not *required*.  Different 
implementations will do different things.  The trick is to not make your
code dependent on what any particular implementation does.

>	Mike Hovan, RDR, Inc., mhovan@rdr.com (NeXTMAIL accepted)

	--Jim DeLaHunt, Developer Support, Adobe Systems Incorporated	
delahunt@adobe.com	...!{apple,decwrl}!adobe!delahunt      +1-415-962-3790
Newsgroups: comp.lang.postscript
From: dat@camis.Stanford.EDU (David A. Tong)
Subject: Converting PS to EPS
Followup-To: dat@sumex-aim.stanford.edu
Summary: How to measure the BoundingBox of an image
Organization: Stanford School of Medicine
Date: Fri, 21 Aug 1992 15:05:34 GMT

I wondered how to convert PS to EPS, so I searched, and searched, ...
Well finally I found "Encapsulated PostScript Files Specification
Version 2.0" from Adobe. The important section was titled
%%BoundingBox: LLx LLy URx URy and here is what it says:

"The values are in the PostScript default user coordinate system, in
points (1/72 of an inch, or 2.835 mm), with the origin at the lower
left corner.  The bounding box must be expressed in default user
coordinate space.  This seems to be a big question among implementors
of this specification.  Regardless of the coordinate system in which
your application operates, here is a foolproof way of determining the
correct boundingbox: PRINT the page, get out a point ruler, and
MEASURE first to the lower left corner, then to the upper right
corner, using the lower-left corner of the physical paper as your
origin.  This works because it measures the end result (the marks on
the page), an none of the computation matters."

So basically, to convert a PS single page image (or any portion of the
page) to EPS, measure the lower-left and upper-right corners of the
portion of the page you want to include in the EPS file.  Add the
comment line %%BoundingBox with the measurements to the file that
produced the image (the old PS file). Next, change the first line to
include the EPS specification (see the FAQ recently posted). You now
have an EPS file. BTW, if you don't have a point ruler, measure in
inches, then divide by 72.

This does work, because I tried it out with the PSfig package for
LaTeX.  It worked on the first go (believe it or not).  I know that
physically measuring the the corners of the image you want to include
in another document is a pain (not to mention low-tech), but what
works is what works.  I have not found a better way (ie high-tech,
automated, etc).  If anyone knows of such a beast, please post.

David A. Tong
dat@sumex-aim.stanford.edu


Newsgroups: comp.lang.postscript
From: hess@swt1.informatik.uni-hamburg.de (Hauke Hess)
Subject: Font Metric Files + Routines?
Summary: Where can I find a FM library?
Keywords: PFM, font metrics
Organization: University of Hamburg, FRG
Distribution: comp
Date: 13 Aug 92 11:32:02 GMT

Hi,

I have to write a PostScript output routine for a X11R5 graphical application.
In this application there is an extensive use for font metrics as supplied by
the function XTextWidth(). Sadly enough this information is wrong for PostScript
fonts rendered by the printer, so I have to write a routine that gets the font
metrics from the adobe font metric files and supllies its own XTextWidth().

I think this is a common problem and has been solved 1000 times before. Is 
there a public available package somewhere that solves this task?

Thanks for help

Hauke
From: phalsema@x102a.ess.harris.com (halsema pb 64533)
Newsgroups: comp.lang.postscript
Subject: Re: Frequently Asked Questions?
Date: 19 Aug 92 12:35:45 GMT
Distribution: comp
Organization: Harris ESS, Melbourne, Fla.
X-Newsreader: Tin 1.1 PL4

lucas@cg-atla.UUCP (Dick Lucas) writes:
: Would someone please tell me if this newsgroup has a Frequently Asked
: Questions List (FAQ) and if so, how to get it if it is not regularly
: posted?  E-mail response is OK, but I suspect a posted response would
: benefit other new readers who may have the same question.  Thanks in
: advance.

I've not seen an FAQ posted here in a long time.  A have a copy of one that
was posted in Dec. 91 with a line that says:

Version 1.06 Last Changed 5-29-91

If nothing more current shows up, let me know and I'll mail you a copy.
Of course, if everyone is in need, I'll post it.

   ---Paul
_______________________________________________________________   _________
Paul Halsema               \\      AT&T: (407) 729-3536          |  _   _  |
Harris Corp., GASD          \\ INTERNET:                         |_| |_| | |
MS 102-4827 PO Box 94000     \\   phalsema@x102a.ess.harris.com  |_/\/\/\|_|
Melbourne, FL 32902           \\                                 | |_| |_| |
_______________________________________________________________  |_________|
From: Jon_McAuliffe@NeXT.COM (Jon McAuliffe (CC))
Newsgroups: comp.lang.postscript
Subject: HELP - problems with EPS files from Windows Pagemaker
Date: 11 Aug 92 19:25:30 GMT


	An annual publication I'm editing has been laid out on a PC clone  
using Pagemaker for Windows. All 160 pages were output as 160 separate EPS  
files, because Pagemaker for Windows won't generate straight PS documents.
	About 1/4 of the pages have a "sidebar", an offset chunk of text  
which should be in Franklin Gothic (TrueType, remember). The typesetter  
received the files and found the sidebars printing in Avant Garde. Sure  
enough, upon checking the files he saw Avant Garde specified as the font  
to load. We thought at first it might be a problem with the Franklin  
Gothic TrueType font choosing Avant Garde as its Type 1 equivalent, so we  
changed the sidebar font to Helvetica TrueType (hoping Helvetica would  
then be specified in the EPS output as well). Unfortunately, Avant Garde  
popped up again. Nowhere in our design is Avant Garde intentionally used.
	I don't have a clear understanding of how a PostScript interpreter  
can make use of TrueType fonts, or why the EPS file is showing Avant Garde  
when Franklin Gothic and Helvetica are specified. This question may be  
somewhat obscure, but I'm at a total loss. I'm also in dire trouble if no  
one can help. I'd greatly appreciate any response by email or otherwise as  
soon as possible.


_________________________________________________________
Jon McAuliffe
Campus Consultant, NeXT Chicago Office
Jon_McAuliffe@NeXT.COM   -OR-   jmcaulif@husc.harvard.edu
O: (312) 329-2550                       H: (708) 983-0896
"Wir sprechen NeXTMail" <-- NeXTMail spoken here
Newsgroups: comp.lang.postscript
From: swenson@isl.stanford.edu (Norman Swenson)
Subject: Mac SW for monitoring postscript messages?
Organization: Stanford University
Distribution: comp
Date: 18 Aug 92 12:04:50

We have an Ethertalk network that is connected to another Ethertalk
network at a remote site over a leased line using Cisco (Sysco(?))
routers at both ends.  This works fine except when we try to print a
complex document on a remote printer.  We end up getting "Postscript
error".  The printers (Apple LW IINT's) are connected to the Ethernet
using Dayna EtherPrint-T boxes.  Is there some way to monitor the
Postscript traffic between the Mac and the printer to try to find out
what the problem is?

Thanks for any help you can provide.

Norm
swenson@isl.stanford.edu
Newsgroups: comp.lang.postscript
From: gary@iscnvx.lmsc.lockheed.com (Gary Henderson)
Subject: Re: Need an intelligent Ascii - PS Filter
Organization: Lockheed Missiles and Space Co.
X-Newsreader: Tin 1.1 PL4
Date: Wed, 12 Aug 92 22:37:42 GMT

carl@SOL1.GPS.CALTECH.EDU (Carl J Lydick) writes:
: In article <1992Aug6.142933.25821@iscnvx.lmsc.lockheed.com>, gary@iscnvx.lmsc.lockheed.com (Gary Henderson) writes:
: >The purpose of the %! at the
: >beginning of the file is to create a signature in the first 16 bits that
: >identifies the file as a PostScript file.  If the file starts with
: ><control-D>%!, the first 16 bits are based on <control-D>%, not %!, and the
: >signature is therefore not one of a PostScript file, conforming or otherwise
: >(see pg 265 of edition 1 of the Red Book).
:
: Sorry, but that's just more UNIX magic-number bullshit.  For your information,
: UNIX is NOT the only operating system in the world.

Sorry, Flameboy, but this has NOTHING to do with Unix.  PostScript is a
system-independent language defined by Adobe.  Toy computers can use it too!

: Next time, why don't you try responding to what I said?

Next time, try reading what I said.  I was concerned that readers might not
understand that starting a PostScript file with <control-D>%! is blatantly
wrong.  Therefore, I thought it necessary to quote the manuals.  If you don't
like it, I don't care.
-- 
Gary J. Henderson
gary@iscnvx.lmsc.lockheed.com
#include <std/disclaimer.h>
From: lilleyc@cs.man.ac.uk (Chris Lilley)
Newsgroups: comp.lang.postscript
Subject: Re: converting EPS files
Date: 13 Aug 92 08:34:43 GMT
Reply-To: lilleyc@cs.man.ac.uk (Chris Lilley)
Organization: Department of Computer Science, University of Manchester UK

In article <BswpB7.Ev8@ecf.toronto.edu> lakhanp@ecf.toronto.edu (LAKHANPAL Sanjiv Kumar) writes:

>I have a few questions about concerning eps files.  I used to use corel
>draw 2.0 and export to an eps file.  The file format was %!adobe 2.0 epsf2.0.
>I then exported the eps file into WordPerfect for Windows without problem.

Actually the header says

%!PS-Adobe-2.0 EPSF-2.0

>The problem arose when I started using Corel Draw 3.0.  It exports eps files
>with the following header: 

>			%!adobe 2.0 epsf1.2

>These eps files seem to import fine, but when I go to print them out the
>printer doesn't seem to respond.  

The printer shouldnt respond with the earlier files, either. They do
not contain a showpage. You can add one just before the line that says

%%Trailer

>The printer is an HPIIIp with a Pacific
>Page Postscript Cartridge (ver 4.31).  I was wondering if their are any
>utilities (preferably shareware) available for ibm clones capable of
>converting between different versions of eps.      

Apart from an editor ;-) not that I am aware of

>Also, the old eps files used to contain a sreen representation of the       
>drawings so that after importing the eps files I could see the image on
>screen and resize and scale with a good idea of what the image looked liked.

Just click on the option to include screen previews when you export to
EPS. This was also required for version 2.0 of Corel Draw. However,
perhaps someone had set this up as the default for you, and the
settings were not carried over to version 3

--
Chris Lilley
---------------------------------------------------------------------------
Technical Author, ITTI Computer Graphics and Visualisation Training Project
Computer Graphics Unit, Manchester Computing Centre, Manchester, UK
Internet:   lilley@cgu.mcc.ac.uk        Janet:   lilley@uk.ac.mcc.cgu
Voice:      +44 (0)61 275 6095          Fax:     +44 (0)61 275 6040
---------------------------------------------------------------------------
Newsgroups: comp.lang.postscript