HDTenEightyP/NetNews huggingface dataset:
From: kfiles@virtual8.harvard.edu (Kirby Files)
Newsgroups: comp.lang.postscript
Subject: EPSI?
Date: 31 Aug 92 16:03:35 GMT
Article-I.D.: virtual8.KFILES.92Aug31110335
Distribution: comp
Organization: Aiken Computation Lab, Harvard University

I have a variation on an FAQ.  How can one generate an EPSI format
file?  I can transform a PS file to EPS no problem, that's trivial.
But does anyone out there know where I can get my hands on a spec for
EPSI, which apparently has some for of text encoded bitmap preview,
and does anyone have any ideas for generating that preview. Perhaps
using Ghostscript to generate a bitmap, and then somehow properly
encoding that bitmap in correct EPSI format?

I'm using FrameMaker on a Sun, and it's really particular about
importing PS; it will only accept EPSI.  Any other ideas on getting
FM to accept a PS file as graphic, and not text would be appreciated.

Thanks,
------
+   0__, ---     Kirby Files, 623-1673   | "Whoso would be a man     +
      /   ------ 29 Banks Street         | must be a nonconformist"
      |\   --    Somerville, MA  02144   | 
+ ---**-**------ files1@husc.harvard.edu | Ralph Waldo Emerson       +
From: glenn@rightbrain.com (Glenn Reid)
Newsgroups: comp.lang.postscript
Subject: Re: What is a bepf file?
Date: 1 Sep 92 09:06:05 GMT
Reply-To: glenn@rightbrain.com

Geza Bohus writes
> Subject says it all: what is a bepf file? (As in "fontname.bepf".)

The bitmap font files on NeXT computers use this extension. They
aren't strictly required, since it's a Display PostScript machine and
will render any font just from the outlines, but the bitmap screen
fonts do exist in 10, 12, 14, 18, and 24 point sizes.

--
 Glenn Reid        		NeXTmail: glenn@rightbrain.com
 RightBrain Software		415-326-2974 (NeXTfax 326-2977)
 Palo Alto, California
Xref: sparky comp.lang.postscript:4493 comp.fonts:2536
From: rolfl@karl.uio.no (Rolf Lindgren)
Newsgroups: comp.lang.postscript
Subject: Re: How do I convert .pfb/.pfm files to .tfm files?
Date: 26 Aug 92 13:07:48 GMT
Followup-To: comp.lang.postscript
Organization: Institutt for Humanistisk Informatikk, Blindern, Oslo, Norway


      I know how to convert .afm files to .tfm files (via afm2tfm), but the
      postscript fonts I have do not come with .afm files, only .pfb files
      with occasional .pfm metrics.

      I would like a general case solution, i.e. how to get from a .pfb to a
      .tfm, but converting the .pfm files would be a good start.




The best way to do it is to send mail to adobe's file server. But I don't
remember how to do it.

--
       Rolf Lindgren           |       "The opinions expressed above are
       616 Bjerke Studentheim  |        not necessarily those of anyone"
       N-0589 OSLO 5           |           rolfl.lindgren@usit.uio.no 
Newsgroups: comp.lang.postscript
From: brox@corena.no (Bjorn P. Brox)
Newsgroups: comp.lang.postscript,comp.unix.aix
Subject: Re: AIX DPS fonts for Ghostscript
Date: 30 Aug 92 16:36:20 GMT
Organization: CORENA A/S

In article <1992Aug30.011941.572@cti-software.nl> pim@cti-software.nl (Pim Zandbergen) writes:
>brox@corena.no (Bjorn P. Brox) writes:
>
>>Is you have an IBM-RS6000 with AIX3.2, you find a collection of Adobe
>>original Type1 fonts in the directory /usr/lpp/DPS/fonts/outlines.
>>Modify the /usr/local/lib/ghostscript/Fontmap file to use these fonts.
>>I don't think it is legal to make copies of these fonts, but since you
>>already have paid a license for AIX, it should be legal to use them as-is.
>
>I've tried this with gs241 and AIX 3.1. It works for most
>fonts, but the Helvetica and Times-Roman families will not work,
>probably because they are Type4 fonts (?).

If you decode the AIX3.1 Helvetica and Times-Roman fonts into readable
ascii, you will see that they depends on some dicts and functions only
available in some versions (?) of Display PostScript. The collection of
DPS fonts you get with AIX3.2 does not have such dependencies.

>
>Is there any way to convert the fonts to a usable format ?
No and yes, but it is not worth it - you need a really good knowledge
about the internals of PostScript Type1 fonts.

>Are the fonts in AIX 3.2 different from those in AIX 3.1 ?
Yes, pluss some extra fonts: AGaramond-*, BrushScript, Hobo, and Stencil.

-- 
Bjorn Brox, CORENA A/S, Baneveien 38, N-3600 Kongsberg, NORWAY
E-mail : brox@corena.no, Phone : +47 3 73 66 11, Fax : +47 3 73 68 77
From: churchh@ut-emx.uucp (Henry Churchyard)
Newsgroups: comp.lang.postscript
Subject: Re: Looking for small Courier-like font
Summary: makefont
Date: 4 Sep 92 21:20:04 GMT
Organization: The University of Texas at Austin, Austin, Texas

In article <2286@shiva.rent-a-guru.de>, stefan@rent-a-guru.de (Stefan Stapelberg) writes:
> 
> i am looking for a downloadable fixed-pitch PS font with a char width
> of 0.5em (14.4 cpi). 

hmm...  If I understand you, you want a fixed-pitch font that will
print out at 14.4 cpi at a pointsize of 12.  So why not just do the
following:

  /MyNewCourier /Courier findfont [8.333 0 0 12 0 0] makefont def

and then do

   MyNewCourier setfont

whenever you want to use the font?

  The little bugger will be kinda narrow-looking, tho'....

--
         --Henry Churchyard     churchh@emx.cc.utexas.edu
From: dn1l@.ist.ucf.edu (Dale Newfield)
Newsgroups: comp.lang.postscript
Subject: Interactive Postscript Questions
Summary: Interactive Postscript
Date: 2 Sep 92 16:15:54 GMT
Article-I.D.: cs.1992Sep2.161554.11301
Followup-To: dn1l@ist.ucf.edu
Organization: VSL, IST, UCF, Orlando


Hello--I am looking to use postscript in a computer graphics course.

for example, the first project is to create a Simple Raster Graphics Package(SRGP) (With Specified Functionality).

The problem that I need help with is that I need this to be interactive. (With input from the mouse, keyboard, etc.)

I know very little about Display Postscript, but I believe this might be what I am looking for.

I am looking for advice in a crash course on Interactive Postscript Programming.
(I have a NeXT Cube available.)

Please cc messages to me, because I read this board, but not frequently enough to catch everything that I might be looking for.

I appreciate any and all help that I recieve in advance (-- and who knows, I might start to UNDERSTAND a little more of the stuff that I read here :)
Thanks, again
Dale Newfield
dn1l@ist.ucf.edu
Newsgroups: comp.lang.postscript
From: leif@ifm.liu.se (Leif Hedstrom)
Subject: Unknown plot format, help please!
Keywords: Plotting, postscript, HELP!
Organization: Dept of Physics, University of Linkoping
Date: Fri, 4 Sep 1992 11:00:21 GMT

Hi!

I have a software which generates a plot-file of unknown format. Could
someone help me identify it? I would also like to print this file on
a postscript printer, so any hints on conversion programs are appreciated.

Thanks,

-- Leif

Header of plot file:


IN;SP1;VS2
IW4797,2997,11204,7004;
PU5353,6878;PD10798,6878;PU5353,6677;PD10798,6677;PU5330,6874;PD10822,6874;PU533
0,6681;PD10822,6681;PU5318,6870;PD10833,6870;PU5318,6685;PD10833,6685;PU5310,686
6;PD10841,6866;PU5310,6689;PD10841,6689;PU5303,6862;PD10848,6862;PU5303,6693;PD1
.
.
.
.
.
Newsgroups: comp.lang.postscript
From: brox@corena.no (Bjorn P. Brox)
Subject: Re: Question on Ghostscript fonts...
Date: Sat, 29 Aug 1992 12:56:37 GMT
Organization: CORENA A/S

In article <92241.084249IFF291@DJUKFA11.BITNET> IFF291@DJUKFA11.BITNET (Stephan Petersen) writes:
>
>Just a short question on Ghostscript fonts: Are the Courier (24courer)
>and Utopia (24utopia) fonts still the only "quality" fonts for
>Ghostscript or are there meanwhile others? (Any good Times-Roman font in
>sight?)
>
>Thanks for any hints,
>Stephan
>
You can use almost any PostScript Type1 fonts in GhostScript, but
Courier and Utopia is the only "free" original Type1 fonts avaliable.
The Courier and Utopia fonts is donated to MIT X Consortium by IBM and Adobe.

Is you have an IBM-RS6000 with AIX3.2, you find a collection of Adobe
original Type1 fonts in the directory /usr/lpp/DPS/fonts/outlines.
Modify the /usr/local/lib/ghostscript/Fontmap file to use these fonts.
I don't think it is legal to make copies of these fonts, but since you
already have paid a license for AIX, it should be legal to use them as-is.

You can also get a big collection of fonts from ftp.cica.indiana.edu
in the directory /pub/pc/win3/fonts/atm. You need an unzip program
to extract the .pfb files from the .zip files located there.

The last overview shows that there is 411 Public Domain Type1 PostScript
fonts available, not all of them is of good quality, but enough for
anyone to get a real font-orgasm....

-- 
Bjorn Brox, CORENA A/S, Baneveien 38, N-3600 Kongsberg, NORWAY
E-mail : brox@corena.no, Phone : +47 3 73 66 11, Fax : +47 3 73 68 77
Newsgroups: comp.lang.postscript
From: fct@swlvx2.msd.ray.com (Fred Thompson)
Subject: Looking for a C to Postscript pretty printer
Keywords: C postscript
Organization: Raytheon Company, Tewksbury, MA
Date: Wed, 26 Aug 1992 19:16:07 GMT

I am looking for a C to Postscript pretty printer. I tried the 'pps' programs
and was wondering if there are others. Thanks.


-- 
Fred Thompson,   ...!ulowell!swlvx2!fct  or  fct@swlvx2.msd.ray.com
Raytheon Co,     Missile Systems Division, Tewksbury, Mass. 01876
From: pim@cti-software.nl (Pim Zandbergen)
Newsgroups: comp.lang.postscript,comp.unix.aix
Subject: AIX DPS fonts for Ghostscript
Date: 30 Aug 92 01:19:41 GMT
Organization: CTI Software BV, The Hague, The Netherlands

brox@corena.no (Bjorn P. Brox) writes:

>Is you have an IBM-RS6000 with AIX3.2, you find a collection of Adobe
>original Type1 fonts in the directory /usr/lpp/DPS/fonts/outlines.
>Modify the /usr/local/lib/ghostscript/Fontmap file to use these fonts.
>I don't think it is legal to make copies of these fonts, but since you
>already have paid a license for AIX, it should be legal to use them as-is.

I've tried this with gs241 and AIX 3.1. It works for most
fonts, but the Helvetica and Times-Roman families will not work,
probably because they are Type4 fonts (?).

Is there any way to convert the fonts to a usable format ?
Are the fonts in AIX 3.2 different from those in AIX 3.1 ?
-- 
Pim Zandbergen                      domain : pim@cti-software.nl
CTI Software BV                     uucp   : uunet!mcsun!sun4nl!ctisbv!pim
Laan Copes van Cattenburch 70       phone  : +31 70 3542302
2585 GD The Hague, The Netherlands  fax    : +31 70 3512837
Newsgroups: comp.lang.postscript
From: etxmesa@eos.ericsson.se (Michael Salmon)
Subject: Re: ASCII-->POSTSCRIPT (need PS program, not unix, not ibm)
Reply-To: etxmesa@eos.ericsson.se (Michael Salmon)
Organization: Ericsson Telecom AB
Date: Thu, 3 Sep 1992 08:29:07 GMT

In article <16566@ucdavis.ucdavis.edu>, ccm038@othello.ucdavis.edu (Jason Yan (can cook)) writes:
|> 
|> 	Does anyone know of or have a postscript program that will
|> allow the printing of regular ascii files on a HP laserjet II with
|> a postscript cartridge?  I asked in an earlier message, but I didn't
|> make it clear on what I needed.  
|> 
|> What I need is a *POSTSCRIPT* program, not an IBM executable, not a
|> unix executable.  I need a poscript program that I can append text to
|> and have it print on a PS printer without goofing up.  If anyone has
|> successfully used the program Adobe has provided on an IBM environment,
|> please let me know how you got the printer to go from PS mode to PCL
|> mode after it finished printing without having the printer timeout
|> after every print job.  Thanks!

This is from "Learning PostScript, a visual approach" by Ross Smith,
ISBN 0-938-151-12-6. I haven't tried it but the code I have tried in
the book was very good. Note though NO character translations are done,
it only works for plain vanilla text.

%!
%	pstype.ps - text printing prologue
%
/printloop {
  {
    currentfile cvlit			%readline from file
    =string readline			%put it into string
    not { exit } if			%exit on ^D
    show				%otherwise display it
    
    currentpoint exch pop		%get Y position
    10.5 sub dup 36 le			%test position
      { pop showpage 72 730 moveto }	%newpage
      { 72 exch moveto }		%or newline
    ifelse
  } loop
  showpage
} bind def

/Courier findfont 10 scalefont setfont
72 730 moveto
printloop

-- 

Michael Salmon

#include	<standard.disclaimer>
#include	<witty.saying>
#include	<fancy.pseudo.graphics>

Ericsson Telecom AB
Stockholm
From: ara@zurich.ai.mit.edu (Allan Adler)
Newsgroups: comp.lang.postscript
Subject: Why ghostscript 2.5?
Date: 2 Sep 92 00:26:15 GMT
Distribution: comp
Organization: M.I.T. Artificial Intelligence Lab.


A few months ago I mentioned that some PostScript guru (whom others quickly
guessed was Don Lancaster) thought that non-Adobe postscripts were
inferior, with Ghostscript being the worst of all. Now I am told (not by him,
but by someone who says he talked to him) that he thinks version 2.5
of Ghostscript is good.

What is different about Ghostscript that suddenly makes it good? I always
thought it was good, but I'm not a guru.

Allan Adler
ara@altdorf.ai.mit.edu
Newsgroups: comp.lang.postscript
From: asente@adobe.com (A Usenet Pal)
Subject: Re: Defining a font vs. defining a procedure
Organization: Adobe Systems Incorporated
Date: Fri, 28 Aug 1992 21:00:24 GMT

In article <DTPIBNI@taronga.com> peter@taronga.com (Peter da Silva) writes:
>In article <1992Aug27.070502@eklektix.com> rcd@raven.eklektix.com (Dick Dunn) writes:
>>With a font, the star character gets converted to a bitmap only once.
>>That's most of the work.  Then, each time you show the character, the bits
>>just get blopped into the page bitmap.
>
>One downside of this is if you're rendering to a low resolution device (like
>a video screen) you get the same defects for every iteration

However, if you don't use a font you get different defects for every
iteration.  Rendering small objects at low resolution requires understanding
device space and how to snap points into it.  If you use a procedure, you
have to do the snapping for each iteration; with a font, you only need to do
it once.  See Chapter 7, "Drawing Small Objects," in "Programming the Display
PostScript System with NeXTstep" for the basic ideas.

__   -paul asente
\/     asente@adobe.com   ...decwrl!adobe!asente   moo-bear@cs.stanford.edu

The most dangerous creation of any society is that man who has
nothing to lose.				-James Baldwin
From: jgd@dixie.com (John De Armond)
Newsgroups: comp.lang.postscript
Subject: Re: TI microLaser buffer overflow
Keywords: problems SVR4 TI
Date: 27 Aug 92 11:04:24 GMT
Organization: Dixie Communications Public Access.  The Mouth of the South.

mike@uunet!ctbilbo (Mike Willey) writes:

TI microLaser.  My problem is that if I send a lot of
>postscript output to the printer ( 20 to 30 % larger than the buffer
>size) my printer drops some of the characters that are sent.  I have
>a friend that has the newer microLaser and uses it with MS-DOS :-(
>and he has the same problem.  I have three questions for netland:

>1. Has anybody had this problem besides us?
>2. Does anyone have a fix?
>3. Does anyone _know_ why this happens so I can fix it myself?

I have the same problem here when running the data through an el-cheapo
print sharing device.  On the other hand, when I connect the printer 
directly to the printer port over a short (4 ft) cable, the problem 
goes away.  I suspect the problem is in poorly designed port hardware.
Try connecting your machine to the printer with as short a cable as 
possible.

A more serious problem I'm having is that when the printer runs out of 
memory because of a large graphic, it just quits.  No error code, no
indication on the LCD panel, nothing.  Really annoying after
the damn thing has been accepting a job for 45 minutes.  Grrr.  

John

-- 
John De Armond, WD4OQC               |Interested in high performance mobility?  
Performance Engineering Magazine (TM) |
Marietta, Ga                         |Interested in high tech and computers? 
jgd@dixie.com                        |Write me about PE Magazine
Need Usenet public Access in Atlanta?  Write Me for info on Dixie.com.
Newsgroups: comp.lang.postscript
From: zben@ni.umd.edu (Charles B. Cranston)
Subject: Re: PostScript coding style question
Followup-To: comp.lang.postscript
Organization: UM Home for the Terminally Analytical
Date: Thu, 27 Aug 1992 21:26:28 GMT

In article <865@rtbrain.rightbrain.com>,
glenn@rightbrain.com (Glenn Reid) wrote:

> In a related (and silly) thread, I'm curious as to who has written the
> most deeply-nested "ifelse" or other statment in PostScript in a legitimate
> piece of PostScript code (e.g. not as an entry in the Most Obfuscated
> PostScript Contest).  LaserPrep doesn't count :-)

Hi Glenn!  Pity this doesn't work over a serial link because LF and
CR get mapped together by the silly input routine.  The hack to make
it work (at the cost of losing overprinting by sending stuff CR stuff)
is left as an exercise for the student..

%!-Adobe-1.0
%%Title: asciiprint.ps
%%Creator: Ben Cranston <zben@umd2.umd.edu>
%%CreationDate: Thu Feb 8 1990
%%Pages 0

/Courier findfont 10 scalefont setfont
/colwid (m) stringwidth pop def
36 756 moveto
256 string
{ %exec
   { %loop over file
      dup currentfile exch readstring exch
      { %loop FF
         (\f) search exch
         { %loop LF
            (\n) search exch
            { %loop CR
               (\r) search exch
               { %loop TAB
                  (\t) search exch
                  { %loop BS
                     (\b) search exch
                     show
                     not { exit } if
                     pop currentpoint exch colwid sub exch moveto
                  } loop %BS
                  not { exit } if
                  pop currentpoint exch 36 sub colwid div .49 add cvi
                  8 add dup 8 mod sub colwid mul 36 add exch moveto
               } loop %TAB
               not { exit } if
               pop 36 currentpoint exch pop moveto
            } loop %CR
            not { exit } if
            pop 36 currentpoint exch pop
            11 sub dup 25 le { %if
               pop showpage 756
            } if
            moveto
         } loop %LF
         not { exit } if
         pop showpage 36 756 moveto
      } loop %FF
      not { exit } if
   } loop %over file
   pop showpage
} bind exec

The tab code has been changed to make it more readable and modifiable.
The two 8s are the tab stops, you should be able to change them to any
other number.  The only other change is the indentation at three should
be a tad more readable than the old indentation at two.

zben@ni.umd.edu     -KA3ZDF
From: games@max.u.washington.edu
Newsgroups: comp.lang.postscript
Subject: Postscript as a REAL programming language.
Date: 3 Sep 92 17:07:24 GMT

Pistscript is sure cool.  It just hit me though that (not for production 
purposes) postscript could be abused into doing like regular programs.

Like if you were stupid, and worked real hard at the code, you might even
get a postscript printer to boot DOS?  or is there a showstopper?
Obviously, you have an input device (attach your keyboard to the
serial port, via your favorite terminal emulater), and you can spit
messages out the serial port, right?, and even if you cant, you still have
a printer for feedback to the user...

I know that this is a wierd thing to contemplate, and I for one never intend to
even come close to trying such a thing, but I just want to know if it might
be possible...

Along the same lines, does anyone have any examp-les of postscript code that
are aimed at doing things other than laying out a page?

			John.
Newsgroups: comp.lang.postscript
From: dedmunds@selkirk.sfu.ca (Darran Edmundson)
Subject: problem printing from PS file
Organization: Simon Fraser University, Burnaby, B.C., Canada
Distribution: na
Date: Fri, 4 Sep 1992 20:28:00 GMT

I have a HP LaserJet IIp with a Pacific Page PS emulator cartridge.  If I
send output from my plotting package directly to the printer then everything
works fine.  However, if I send the output to a file, and then copy this
file to the printer, my printer will not print the page (I get a timeout after
a few minutes).

Is there a simple reason for this?  I'm trying to do an electronic submittal
to the physics journal Physical Review but I can't even get my file to print
on my own printer!

Thanks for any help you can provide.
 

-- 

Darran Edmundson
darran@chaos.phys.sfu.ca

Newsgroups: comp.lang.postscript,alt.graphics.pixutils
From: wmandevi@afit.af.mil (William J. Mandeville)
Subject: tiff to eps
Summary: Looking for a tiff to eps converter
Organization: Air Force Institute of Technology
Date: Wed, 26 Aug 1992 15:15:14 GMT

Can anyone help me find a tiff to eps converter for use on Unix.

Thanks.
From: delahunt@adobe.com (Jim DeLaHunt)
Newsgroups: comp.lang.postscript
Subject: Re: Where's the PS Level 2 LaserWriter Driver?
Summary: Coming in fall of 1992
Date: 29 Aug 92 03:10:36 GMT
Organization: Adobe Systems Incorporated


Adobe is nearing completion of its Printer Driver for the Macintosh.  I've 
been using a pre-release copy, and it works wonderfully!  It functions
as a replacement for Apple's LaserWriter driver.  Look for it in
third quarter of 1992.

	--Jim DeLaHunt, Developer Support, Adobe Systems Incorporated	
delahunt@adobe.com	...!{apple,decwrl}!adobe!delahunt      +1-415-962-3790
From: glenn@rightbrain.com (Glenn Reid)
Newsgroups: comp.lang.postscript
Subject: Re: Compiling PostScript code
Date: 25 Aug 92 23:06:14 GMT
Reply-To: glenn@rightbrain.com
Distribution: comp.lang.postscript

Arto V. Viitanen writes

> In Adobe's PostScript Archive File Server (at ps-file-server@adobe.com),
> there are two programs:

> packPS.shar               13206 Mar 16 1990
> still.ps                  79028 Mar  9 1990
> psformat.shar             10743 Mar 16 1990

> I have not tested any of the programs, so I don't know how they work.

I wrote all three of them; they work great :-) :-)

--
 Glenn Reid        		NeXTmail: glenn@rightbrain.com
 RightBrain Software		415-326-2974 (NeXTfax 326-2977)
 Palo Alto, California
From: ewilts@galaxy.gov.bc.ca (Ed Wilts)
Newsgroups: comp.lang.postscript
Subject: PostScript Speed test. V>3.1?
Date: 3 Sep 92 09:27:36 -0700
Reply-To: EWILTS@GALAXY.GOV.BC.CA
Organization: BC Systems Corporation

I've been off this list for a while, so please forgive me if this was recently
discussed.  

I've got an old version (3.1) of a PostScript Processing Speed Test by
Jean-Serge Gagnon.  I remember some discussion about him working on a new
version.  Has this every been released?  If so, where can it be found?

Thanks,
	.../Ed
-- 

Ed Wilts, BC Systems Corp., 4000 Seymour Place, Victoria, B.C., Canada, V8X 4S8
EWilts@Galaxy.Gov.BC.CA   |   Ed.Wilts@BCSystems.Gov.BC.CA   |   (604) 389-3430
From: bcockburn@acorn.co.uk (Bruce Cockburn)
Newsgroups: comp.lang.postscript
Subject: Re: Compiling PostScript code
Date: 26 Aug 92 10:51:00 GMT
Organization: Acorn Computers Ltd, Cambridge, England

People,

  Here is a pragmatic solution that I adopted when writing a small
PostScript program that preceded all jobs to our printers.  I manually wrote
an editor script that did the white-space striping and the variable
renaming, every time I added a new variable to the program I added it to the
script as well.  Over the couple of years I spent tinkering with the program
the script grew to about 1K.  The PostScript program changed in size from
7157 bytes to 3953 bytes, a worthwhile saving eh?

  Cheers, Bruce.

Any views expressed are my own and are not necessarily those     _--_|\ 
of Acorn. Any factual information is given in good faith and    /      \
neither I, nor Acorn can accept liability for loss or damage    \_.--._/
resulting from its use.                                               v 
Newsgroups: comp.lang.postscript