HDTenEightyP/NetNews huggingface dataset:
From: wessel@soest.hawaii.edu (Paul Wessel)
Subject: newsprint trouble
Organization: University of Hawaii
Date: Wed, 26 Aug 1992 23:28:38 GMT

Dear group-
	I have often used the "save as Postscript" option on a Mac to
save a Word document as PS.  Transferred to my Sun, I print it out
on our Sparcprinter.  However, this file, which works fine with SendPS
to our Applelaser IIg, makes newsprint vomit back:

Messages from output filter:
%%[ Error: Message: process(0x54ac24, 'Unnamed process', runnable)
Error: /typecheck
Command: 'and'
Ostack: save[2] true false file('/usr/local/newsprint/np/bin/eehelper >/tmp/eexec.13357',W)
Estack:
  at: '.array_exec_cont' {/typecheck *'standarderroraction'}
  at: 'and' 'and'
  at: '.array_exec_cont' {... (\030a\256\332\341\030\251\371_\026\)\300\023\177\217\346V\201\035\331=\373\352e\351GP.x\272\022\(K\212X\357\n2\342rw\215\252*\276\307*\204\020-Y\036\021\331k\246\037W\207{\211Zu-\233\352\254=\375}2 \342\275\347\3006Ftd\340\3506t\217\035\347\253b\026\206o\023\f\347\317\316\310\316\005\013\207\f\021\210\036\343\351\327\t\031) array{1} stopped array{6} if *and exch restore userdict /patchOK 3 -1 roll put}
  at: '.psparse_token' file(?,W,R) ptr0x00021438
  at: '.packedarray_exec_cont' {... 'save' 'put' 'clear' currexecfile 'cvx' *'exec'}
  at: '.stopped_cont'
  at: '.packedarray_exec_cont' {serverdict /save-state 'save' 'put' 'clear' packedarray{17} *'stopped' packedarray{5} 'if' packedarray{3} 'stopped' packedarray{3} ...}
  at: '.end_exec'
Dstack:
  dictionary[7/8]
  dictionary[3/200]
  package(NeWSprint)
  dictionary[373/2000]
save[2] true false file('/usr/local/newsprint/np/bin/eehelper >/tmp/eexec.13357',W) 
]%%

The file in /tmp eventually outgrows available diskspace (my input file
is 50K, eexec.13357 got to 56 Mb...)
This worked fine before I got System 7.0.1.  Has anyone else run into
this problem?

-Paul Wessel (wessel@soest.hawaii.edu)
From: IFF291@DJUKFA11.BITNET (Stephan Petersen)
Newsgroups: comp.lang.postscript
Subject: Re: Question on Ghostscript fonts...
Date: 31 Aug 92 08:12:18 GMT
Organization: KFA  Forschungszentrum Juelich

In article <BtqxAD.Gvw@corena.no>, brox@corena.no (Bjorn P. Brox) says:

Hi Bjorn,

first of all, thanks for your answer. I hope you don't mind if I ask you
some more questions...
>

>Is you have an IBM-RS6000 with AIX3.2, [...]

Unfortunately not, I'm working under plain DOS...

>
>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.

I'll try that. Is there anything special about the *.gsf format (as you
can see from my questions, I'm not *that* experienced yet with PostScript
fonts) or is any Type-1 font ready to go with GS? Anything special necessary
to register the fonts for GS? I guess you'd have to edit the fontmap file,
right?

>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....

Wow, does this survey exist as a file or is it part of a FAQ or something
like that? If so, I'd really like to get hold of it...


Thanks for your help,
Stephan

P.S.: Just to let you know what I need this for: I'm preparing graphs for my
Ph.D. thesis (with GLE, using LaTeX(emTeX)), and I'd like to have them in
EPS- as well as PCX-format. But unless I find some better PS-fonts to go with
GS (a good standard Times-Roman would already be enough), it's not that easy.
The "TeX" fonts that come with GLE (texcmr etc.) don't turn out very nicely
if you output from GLE to a bitmap directly.




+------------------------------------------------+
| Stephan Petersen                               |
|                                                |
| Bitnet/EARN: IFF291@DJUKFA11                   |
| Internet:    IFF291@zam001.zam.kfa-juelich.de  |
+------------------------------------------------+
Newsgroups: comp.lang.postscript
From: arorav@bnr.ca (Vikas Arora)
Subject: Help requested from postscript *Gurus* 
Organization: Bell-Northern Research Ltd., Ottawa, Ontario, Canada
Date: Tue, 25 Aug 92 22:26:52 GMT

I have a postscript file which contains information
about various graphical objects. The whole printout of this
file goes into many pages <something like a poster>. Is 
there a way to *scale* it down to a single page printout without really
worrying about the visibility of the objects.

Any help/suggestions would be of great use.

Thanks,

Vikas
Software Engineering Centre
From: boche@vnet.ibm.com (Ulrich K. Boche)
Date: Thu, 3 Sep 92 17:42:29 CET
Newsgroups: comp.lang.postscript
Subject: Re: ASCII-->POSTSCRIPT (need PS program, not unix, not ibm)
Organization: IBM Germany, Ehningen
News-Software: UReply 3.0

In <16566@ucdavis.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.
>...

Many PostScript printers need a Ctrl-D character between jobs to
recognize end-of-job and start printing.  You need three things:

1. Your existing PostScript line printer emulater program (e.g. the
   one from the Adobe Green Book), let's call it "lpr.ps".

2. A file called CTLD.PS that you can create with your editor or
   word processor: its only contents should be a Ctrl-D character

3. A simple batch file like the following (assuming that by "IBM"
   you mean "IBM compatible PC"):

@echo off
cd \ps           (assuming that's the directory you use)
copy lpr.ps+ %1 +ctld.ps lpt1: >nul

   if you call the batch file lpr.bat, it would be invoked like:

lpr whatever.lst

   to print the file "whatever.lst" on a printer attached to LPT1

Ulrich Boche, IBM Germany FSC Large Systems
Disclaimer: This posting represents my own views, not those of IBM
Newsgroups: comp.lang.postscript
From: taft@adobe.com (Ed Taft)
Subject: Re: ISO Latin1 encoding vector
Organization: Adobe Systems Incorporated, Mountain View
Date: Fri, 4 Sep 1992 16:30:26 GMT

In article <1992Sep4.122513.12518@uk03.bull.co.uk>
pmoore@hemel.bull.co.uk (Paul Moore) writes:
>A level 1 question.
>Is the builtin ISOLatin1 encoding vector universally supported?

The built-in definition of ISOLatin1Encoding became standard in Adobe's
PostScript Level 1 products starting with version 40.0, circa 1987.
At the same time, the standard character set for Adobe's Type 1 fonts
(including built-in fonts) was enlarged to include certain characters
required by ISOLatin1Encoding, including eth, thorn, yacute, and a few
others.
-- 
Ed Taft      taft@adobe.com      ...decwrl!adobe!taft
Newsgroups: comp.lang.postscript
From: cjmchale@dsg.cs.tcd.ie (Ciaran McHale)
Subject: Re: Absolutely sized fonts
Organization: DSG, Dept. of Computer Science, Trinity College Dublin
Date: Thu, 27 Aug 1992 15:17:13 GMT

In <9208271402.AA20109@enet-gw.pa.dec.com>
mek@hydrox.enet.dec.com (Mark Klamerus) writes:
>	Is there a way to absolutely specify the height and width of
>	a fixed font (like courier).  I need to create letters of a
>	sized which completely fits within a box and which fills the
>	box.  I need to know that given an x,y position I can draw
>	a box which is 300 x 500 (width by height) and draw a character
>	in it.  I essentially need the info from the FontBBox.

This may or may not be what you're looking for. It takes a string, the
name of the font you want it set in and the coordinates of a rectange in
which you want the text to be set. The string will be scaled to fit into
the rectangle, even if this means scaling it by different amounts
horizontally and vertically.


----cut here----
%!

/scaleTextToFitBox
%  input: string font-name x1 y1 x2 y2
% output:
% notes: prints str in the box (specified by the coordinates on the
%	 stack), but does appropriate scaling so that the text fits
%	 exactly.
{
	0 begin		% local dictionary
	/by2 exch def /bx2 exch def
	/by1 exch def /bx1 exch def
	/bh by2 by1 sub def % height of box
	/bw bx2 bx1 sub def % width of box
	/font exch def
	/str exch def

	gsave
		font findfont bh scalefont setfont % 1st guess at font size
		newpath
		0 0 moveto
		str true charpath flattenpath pathbbox
		/ty2 exch def /tx2 exch def
		/ty1 exch def /tx1 exch def
		/th ty2 ty1 sub def % height of text
		/tw tx2 tx1 sub def % width of text

		newpath
		bx1 tx1 sub by1 ty1 sub moveto
		bw tw div bh th div scale %scale the text to fit the box
		str show
	grestore
	end
}
dup 0 14 dict put
bind def

%
% Some code to show the above function in action
%

/box
%  input: x1 y1 x2 y2
% output:
% notes: Constructs the path of a box given by the coords on the stack
{
    0 begin	% local dictionary
	/y2 exch def /x2 exch def
	/y1 exch def /x1 exch def

	newpath
	x1 y1 moveto
	x2 y1 lineto
	x2 y2 lineto
	x1 y2 lineto
	closepath
    end
}
dup 0 4 dict put
bind def


(Hello World)		% string to be printed
/Times-Roman		% font used to print string
100 100 400 200		% coordinates of rectangle
4 copy box stroke	% this line is a debug aid (draws box around the text)
scaleTextToFitBox

showpage
----cut here----


Ciaran.
-- 
Ciaran McHale                                                             ----
Department of Computer Science, Trinity College, Dublin 2, Ireland.       \bi/
Telephone: +353-1-7021539 FAX: +353-1-772204 email: cjmchale@dsg.cs.tcd.ie \/
From: burgess@eniac.seas.upenn.edu (Richard Burgess)
Newsgroups: comp.lang.postscript
Subject: Raw MS-Windows GDI to Postscript Converter
Date: 28 Aug 92 12:19:46 GMT
Organization: University of Pennsylvania



I have a need to convert GDI calls (text and graphics directed at 
the printer) to a saveable file format.  While I did not previously 
need to store an electronic copy of this form, a need has arisen.  
    If anyone knows of a converter that inputs standard windows 
calls and outputs any type of standard file that can be saved,
displayed on a screen, etc - I would be totally psyched.
    As it is, I probably am going to have to write a GDI to 
postscript converter from scratch and use Ghostscript or some
such to display the file on the screen(althought the main
need is for archiving).
    Should I use some format other than postscript, does such 
a converter already exist, any ideas at all? - Inquiring minds
want to know.

Richard Burgess
The Cleveland Clinic Foundation
email burgess@eniac.seas.upenn.edu
From: ccm038@othello.ucdavis.edu (Jason Yan (can cook))
Newsgroups: comp.lang.postscript
Subject: ASCII-->POSTSCRIPT (need PS program, not unix, not ibm)
Date: 3 Sep 92 06:54:34 GMT
Organization: Computing Services, UC Davis
Originator: ccm038@othello.ucdavis.edu


	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!

						Jason Yan
						ccm038@fred.ucdavis.edu
From: aranake@cse.uta.edu (Sandeep Suresh Aranake)
Newsgroups: comp.lang.postscript
Subject: Help on printing ps files on LaserJet III
Date: 2 Sep 92 15:13:23 GMT
Article-I.D.: cse.1992Sep2.151323.3761
Distribution: usa
Organization: Computer Science & Engineering, Univ. of Texas at Arlington

Hi,
I have HP laserjet III hooked onto my PC and it is
being used for printing MS word documents. 

How do I print postscript files on it ? Do I  need to install
a special software to print postscript files ? 

I am not an expert in this field and will greatly appreciate
step by step information on this. Please reply by email to
save net bandwidth.

Thanks in advance.

Sandeep 
Newsgroups: comp.lang.postscript
From: byer@adobe.com (Scott Byer)
Subject: Re: What is a bepf file?
Reply-To: byer@adobe.com (Scott Byer)
Organization: Adobe Systems Incorporated
Date: Thu, 27 Aug 1992 18:20:53 GMT


'Big Endian Prebuilt Font'

It's a file that contains a pre-rasterized (and possibly
hand-tuned) set of bitmaps (in several sizes) that Display
PostScript can use to render specific sizes of a typeface
to the screen faster.

Their presence is not strictly necessary, and they can
be removed if you need the space.

Scott Byer                                   NeXTMail: byer@adobe.com
Adobe Systems Incorporated               These are *my* opinions, and  
1585 Charleston Road, P.O. Box 7900        do not necessarily reflect
Mountain View, CA 94039-7900             the opinions of my employer.
---------------------------------------------------------------------
From: karl@ra.cs.umb.edu (Karl Berry)
Newsgroups: comp.lang.postscript
Subject: volunteers needed to make fonts
Date: 3 Sep 92 20:18:12 GMT
Organization: University of Massachusetts at Boston
Originator: karl@claude.cs.umb.edu

We need volunteers to help create fonts for the GNU project.  You do not
need to be an expert type designer to help, but you do need to know
enough about TeX and/or PostScript to be able to install and test new
fonts.  Example: if you know neither (1) the purpose of TeX utility
program `gftopk' nor (2) what the PostScript `scalefont' command does,
you probably need more experience before you can help.

If you can volunteer, the first step is to compile the font utilities.
After that, contact me (karl@gnu.ai.mit.edu).  I will get you a scanned
type specimen image.  The manual explains how to use these utilities to
turn that into a font you can use in TeX or PostScript.
-- 
karl@cs.umb.edu
Member of the League for Programming Freedom---write to league@prep.ai.mit.edu.
Newsgroups: comp.lang.postscript
From: peter@taronga.com (Peter da Silva)
Subject: Re: Defining a font vs. defining a procedure
Organization: Taronga Park BBS
Date: Sat, 29 Aug 1992 03:32:44 GMT

In article <1992Aug28.210024.5588@adobe.com> asente@adobe.com (A Usenet Pal) writes:
>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.

That's right. Which for many objects might be preferable. A regular border
or fill pattern, for example.

Snapping everything automatically is not always the best choice.
-- 
                                                                `-_-'
                         Have you hugged your wolf today?        'U`

Peter da Silva, Taronga Park BBS, Houston, TX  +1 713 568 0480/1032
Newsgroups: comp.lang.postscript,comp.text.tex
From: goossens@dxcern.cern.ch (Michel Goossens)
Subject: Problem printing file at 600 DPI
Keywords: PostScript, type1 font, dvips, CM-font, 600dpi
Organization: CERN European Lab for Particle Physics
Date: Wed, 2 Sep 1992 13:46:49 GMT

I recently got the PostScript renderings of the TeX CM fonts,
and have been using them happily on 300dpi printers.

However last week I had to prepare a paper for publication 
where they demanded a camera-ready copy at 600 dpi (at least).

Hence I ran dvips -D600 ...

and tried to print the file on two (different) printers, both
capable of printing at 600 dpi 
 - an IBM4029 running the interpreter version 52.1 
 - a QMS PS1700 running the interpreter version 52.4

In both cases the printers stopped before they printed anything
with the message VMerror. As the test document only consists of
one page without any graphics, the problem must come from the
huge quantity of type1 font information, which is included at
the beginning of the file.

Does anybody on the net know how to twiddle the printer-parameters
to put the fonts away somewhere, so that they do not eat up the
VM memory, or how else can I proceed?

As we want to start using printing at >600 dpi more and more
I think that solving this problem in a general way becomes
now very important.

Thanks for your help.

Michel goossens
__________________________________________________________________________
| Dr. Michel GOOSSENS                | Phone  : (+41 22) 767-3363        |
| Documentation and Text Processing  | Fax    : (+41 22) 767-7155        |
| AS Group - CN Division             | Telex  : 419 000 CER CH           |
| CERN    European Laboratory        | Email  : GOOSSENS@CERNVM.CERN.CH  |
|         for Particle Physics       |          (preferred email address)|
|    CH-1211 Geneva 23               |    also: goossens@cernvax.cern.ch |
|    Switzerland                     |          goossens@cernapo.cern.ch |
__________________________________________________________________________
From: wb104@mbuf.bio.cam.ac.uk (Wayne Boucher)
Newsgroups: comp.lang.postscript
Subject: reading files
Date: 4 Sep 92 09:25:03 GMT
Organization: U. of Cambridge, England

There is sample code in chapter 8 of the Green Book (PS Program Language Design)
telling you how to read large images using "currentfile" and "readhexstring"
*if* you want to put all your data in your *.ps file.  I want to keep my data in
a separate file.  It is bad enough having to convert binary files to hex, but to
have to put postscript code and data in the same file is annoying.  I have tried
using "(file_name) (r) file" and this has refused to work.  I have tried various
permutations and a typical error is "invalidfileaccess", which is a good clue but
does not solve the mystery.  I am using xpsview (an Adobe product) on an Iris
Indigo.  I even managed to crash the window manager last night.  In section 3.8.2
of the Red Book (PS Reference Manual) it is said "the detailed semantics of the
file system operators, particularly file-naming conventions, are operating
system dependent".  Does someone have the three lines of code that has
successfully opened, read and displayed an image with data in a separate file
on a UNIX machine (I cannot believe that the Indigo is special)?  Many thanks.
Wayne Boucher (wb104@mbuf.bio.cam.ac.uk)
PS:  I know that binary data is not portable, but if Adobe is willing to put out
a product like xpsview for a UNIX machine then why not add some decent i/o
capabilities?
From: IFF291@DJUKFA11.BITNET (Stephan Petersen)
Newsgroups: comp.lang.postscript
Subject: Question on Ghostscript fonts...
Date: 28 Aug 92 06:42:49 GMT
Organization: KFA  Forschungszentrum Juelich


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




+------------------------------------------------+
| Stephan Petersen                               |
|                                                |
| Bitnet/EARN: IFF291@DJUKFA11                   |
| Internet:    IFF291@zam001.zam.kfa-juelich.de  |
+------------------------------------------------+
Newsgroups: comp.lang.postscript
From: dchin@midas.msc.cornell.edu (David W. Chin)
Subject: How to print a range of pages?
Organization: Cornell-Materials-Science-Center
Date: Sat, 29 Aug 1992 18:16:57 GMT

Here's a newbie question:

	Is there any way I can print a particular range of pages in a .ps
	file?  Say, pp. 182 through 250.
	
Thanks muchly in advance.

David Chin				 Cornell University '92

________________________________________________________________________
Internet:                       |        
  dchin@helios.tn.cornell.edu   |        
Bitnet:                         |        Phone:  (607) 257-6576
  iojj@crnlassp                 |        Add:  401 Thurston Ave., Ithaca
  iojj@crnlvax5                 |              NY 14850-2431
  iojj@crnla                    |        Shoe size:  8 1/2
________________________________|_______________________________________
Newsgroups: comp.lang.postscript
From: jgm@cs.brown.edu (Jonathan Monsarrat)
Subject: Compiling PostScript code
Organization: Brown University Department of Computer Science
Distribution: comp.lang.postscript
Date: Mon, 24 Aug 1992 02:35:10 GMT

I really like to use names of more than 5 letters and put foolish
things like whitespace between my PostScript commands.

Is there a "PostScript Compiler" that generates compressed PS from
big ol' whitespace-filled long-named PS?

For example, the below routine would be transformed

% This function does some cool stuff
/MyFunctionMapper
{
  /elvis 2 def
  /manilow 3 def
  /berry 4 def
  /jackson elvis manilow add berry add def
  jackson
} bind def

Into this:

/d /def load def
/A{/e 2 d /m 3 d /b 4 d /j e m add b add d j} bind d

Although I suppose a REALLY GREAT compiler might just compiler this into:

9

Thanks.

-Jon Monsarrat
 PS love { HONK } if
From: bohus@math.rutgers.edu (Geza Bohus)
Newsgroups: comp.lang.postscript
Subject: What is a bepf file?
Date: 26 Aug 92 22:08:46 GMT
Organization: Rutgers Univ., New Brunswick, N.J.

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

AdvThanksance,

g
Newsgroups: comp.lang.postscript
From: asteindl@mch2ws2.tuwien.ac.at (Alois Steindl)
Subject: Re: Format text in a Circular page with my PS LaTeX clone
Organization: Inst. f. Mechanics II, TU Vienna
Date: Wed, 2 Sep 1992 09:40:28 GMT

In article <1992Sep2.012528.5270@cs.brown.edu> jgm@cs.brown.edu (Jonathan Monsarrat) writes:

   Newsgroups: comp.lang.postscript
Path: email!news.univie.ac.at!hp4at!mcsun!uunet!brunix!brunix!jgm
   From: jgm@cs.brown.edu (Jonathan Monsarrat)
   Sender: news@cs.brown.edu
   Organization: Brown University Department of Computer Science
   Date: Wed, 2 Sep 1992 01:25:28 GMT
   Lines: 73

   Hi everyone! This is Jonathan Monsarrat from Brown University.

   Can I show you a cool hack?

   I have written a program that does text formatting using the text
   formatting language of LaTeX. However, it is NOT based on TeX macros
	                  -----
[stuff deleted]
   LameTeX uses the same language as LaTeX, and in general does a pretty
   good imitation of LaTeX, although it doesn't handle Math Mode and
				     -----------------!!!!!!!!!!----	
   fancy stuff (which is why it's lame). It understands 68 common LaTeX
   commands.  There are special additional "Stealth" commands that
   LameTeX can understand, but those get placed in the comments so that
   normal LaTeX will always be able to format your document.
....
[stuff deleted]

LaTeX without Math Mode???

Have fun!
Alois
--

___________________________________________________________________________

Alois Steindl,			Tel.: (0222) 58801 / 5529	
Inst. for Mechanics II,		Fax.: (0222) 5875863
TU Vienna,
A-1040 Wiedner Hauptstr. 8-10	
___________________________________________________________________________
Newsgroups: comp.lang.postscript
From: pim@cti-software.nl (Pim Zandbergen)
Subject: Need a font sample program
Organization: CTI Software BV, The Hague, The Netherlands
Date: Tue, 1 Sep 92 18:55:23 GMT

I am sure some of you have written a program that
prints a sample of all fonts in the font directory.

Ghostscript comes with prfont.ps, but that prints
every font on a single page. I'd like to have
all fonts on one or two pages, similar
like the Laserjet PrintFonts button does it.

Thank you.
-- 
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