HDTenEightyP/NetNews huggingface dataset:
From: spsisira@sdrc.sdrc.com
Newsgroups: comp.lang.postscript,comp.fonts
Subject: Font substitution in Postscript
Date: 29 Sep 92 20:08:48 GMT
Followup-To: poster

I am trying to print a large number of postscript files from a printer
that has a limited number of fonts. When I tried to print files it
aborts due to bad font names.

I would like to seek advise on how do I substitue those unavailable fonts
by available font names in a systematic way. I know when you do that the
document format may alter somewhat.     

Your help is greatly appreciated.

Thank you.

Sisira Jayasinghe.
spsisira@sdrc.com
Newsgroups: comp.lang.postscript
From: silvus@vauxhall.ece.cmu.edu (Gregory Lee Silvus)
Subject: MSWord & MacWrite PS Formats
Organization: Electrical and Computer Engineering, Carnegie Mellon
Date: Fri, 2 Oct 1992 13:42:37 GMT

In article <1992Oct1.165705.19948@cs.brown.edu> jgm@cs.brown.edu (Jonathan Monsarrat) writes:
>  "I want to convert MacWrite (which makes PostScript output) to ASCII"

I noticed this line in Mr. Monsarrat's article. My experience has been
only with MSWord, which using the print dialog box, can be asked to
output PS format. Unfortunately, I have also noticed that when I ask
MSWord to produce PS files, it bitmaps *the entire document*. IMO, that
bites the big one. Has anyone else experienced this? Does MacWrite
give not bitmapped PS output? Any help appreciated.

As a side note, I have noticed that MSWord 5.0's Equation editor
*always* produces PS information. Kind of handy for those
technical presentations I do in PS.

Thanks for any info,
gReg
From: bkph@wheat-chex.ai.mit.edu (Berthold K.P. Horn)
Newsgroups: comp.lang.postscript
Subject: Re: Boundingbox???
Date: 6 Oct 92 13:20:14 GMT
In-reply-to: cjmchale@dsg.cs.tcd.ie's message of 2 Oct 92 11:45:04 GMT


In article <1992Oct2.114504.26092@dsg.cs.tcd.ie> cjmchale@dsg.cs.tcd.ie (Ciaran McHale) writes:

   In <RMF.92Oct1203636@chopin.cs.columbia.edu> rmf@chopin.cs.columbia.edu
   (Robert M. Fuhrer) writes:

   >[wants to be able to determine how big the output page is so PS
   >programs can scale themselves to fill it]

   The default clipping path is the imagable area of the output page.
   Simply call "clippath flattenpath pathbbox".

Try and avoid doing such things UNLESS you are sure that noone will EVER try
and use this as an inserted figure.  If your graphics is included as an
EPS file somewhere this trick will kill any positioning and scaling done by
the enclosing PS code.  Most annoying that some reall applications produce
code just like this!  In defense, the application importing the PS has to
play games like changing the clipping path...

Berthold K.P. Horn
Cambridge, Massachusetts, USA
Newsgroups: comp.lang.postscript
From: sbeyer@well.sf.ca.us (Steve Beyer)
Subject: Mac "copy" command
Organization: Whole Earth 'Lectronic Link
Date: Wed, 30 Sep 1992 00:54:04 GMT


This is probably a FAQ, but how does one send a plain vanilla ASCII text
(PostScript) file from a Mac to the printer?  IOW, is there a Mac
equivalent of the DOS "copy" or "print" commands?  Alternatively, what
utilities are available (and, if ftpable, where) to download such a file
to be parsed and executed?  Thanks for help.  Please e-mail to save
bandwidth; I'll summarize if it seems that this is not, in fact, common
knowledge.  -- Steve
From: rcbi110@marshall.wvnet.edu
Newsgroups: comp.lang.postscript
Subject: Spot function for line screen?
Date: 29 Sep 92 16:25:46 GMT
Organization: Marshall University



I have the Red Book and the Blue Book.
The Red Book mentions that it's easy to make a "line screen" but it's not easy
enough for me to pull out of the air...

What kind of spot function will make a screen like this:

 Light                                Dark
                                  ============
                     =========================
         =====================================
==============================================
         =====================================
                     =========================
                                  ============



(I use a Mac & LaserWriter at work, and an Amiga with Post1.7 and an old 9 pin
printer at home)

Thanks

((   ||  /\\ \\  / /\\  ((      R. Alan Monroe       ((  I'm not an actor, ((
 )) _// /--\\ \\/ /--\\  )) rcbi110@muvms3.wvnet.edu  )) but I play one     ))
((              _       ((                           ((  on T...   Hey!!   ((
 ))  ||  /\\  //  ||_/   ))    Pinkwater Rules!       )) Who wrote this     ))
((  _// /--\\ \\_ || \  ((            :^)            ((  script!?!?!   -me ((
From: paulwo@informix.com (Paul Wolmering)
Newsgroups: comp.lang.postscript
Subject: PostScript and LPR
Date: 28 Sep 92 11:35:56 GMT
Organization: Informix Software, Inc.
Originator: paulwo@boston

hi,
 i meant to post this in comp.lang.postscript:

 i have postscript printers attached to a 4/490 running os 4.1.1 and a
 large number of the users use "mp" to print ascii files and get postscript 
 output. cool.

 there are a few users who still use "lpr" and when they print their ascii 
 files, the postscript printers ack!

 i need to know if there is some filter program out there which 
 will filter the ascii from lpr and convert it to postscript. it'll be great
 if this "filter" could be integrated in the /etc/printcap filters. also,
 this filter needs to create a postscript banner page.

 the end result is the "mp" users are happy and the "lpr" users get their 
 printouts from the postscript printers.

thanks,
paul
Newsgroups: comp.lang.postscript,comp.unix.misc
From: richard@serss0 (Richard A Simm)
Subject: utility to print graphs in color postscript wanted
Organization: Florida International University, Miami
Date: Tue, 6 Oct 1992 17:44:37 GMT

I need a utility that will accept data points from a file and print
a graph (bar, line, pie, etc.) with output being useable on a color
postscript printer (I need the color).

I would prefer PD. The system will run under AIX v3.1. We have an
IBM RS/6000 model 320 (560 is on its way).

I know about 'graph' but I doesn't support color.

Also, I need the ability to place multiple graphs on the same page
(i.e. pie/bar on the same page).

Richard (please e-mail responses)
From: jokipalt@klaava.Helsinki.FI (Samuli Jokipaltio)
Newsgroups: comp.lang.postscript
Subject: What is LWIIf "Fatal system error at 0x40154772"
Date: 28 Sep 92 21:56:35 GMT
Organization: University of Helsinki

What is "Fatal system error at 0x40154772" given by a LaserWriter IIf
connected to a Mac trying to print a specimen sheet of a shareware font
with theTypeBook 3.03s ?

After the error, printer restarts.

Thanks 

Samuli Jokipaltio, Economics
University of Helsinki
Newsgroups: comp.lang.postscript
From: rmf@chopin.cs.columbia.edu (Robert M. Fuhrer)
Subject: Re: Boundingbox???
Organization: Computer Science Dept., Columbia Univ.
Date: Fri, 2 Oct 1992 01:36:36 GMT

On a tangential note, it seems to me that a good way to write Postscript code
for pictures (which allows them to be easily embedded inside other structures)
is to always generate them within the coordinate space (0,0) -> (1,1). They can
then be scaled, rotated, and translated appropriately so as to occupy the
desired region.

It also seems to me that there is a class of pictures for which the actual
dimensions of the picture on the output medium is not interesting; rather, the
picture should simply fill the output medium. Ok, you probably want to preserve
the aspect ratio. So, then you are left with the question "what is the largest
this picture can be scaled uniformly in both dimensions and still fit in the
output medium?"

Answering this question requires that you know the output medium's dimensions,
right?

So, I set about figuring out how to calculate this in Postscript, and found
that it didn't seem to be possible independent of language level. The
'getdeviceparms' call seemed appropriate, but isn't defined for Level 1
interpreters.

Has anyone come up with code to do this?

Does someone think I am on the "wrong track"?
--

-- Bob
From: brown@vidiot.UUCP (Vidiot)
Newsgroups: comp.lang.postscript
Subject: Re: 300dpi --> 400dpi?
Date: 3 Oct 92 02:08:42 GMT
Reply-To: brown@vidiot.UUCP (Vidiot)
Organization: Vidiot's Hangout

In article <1992Oct2.093328@uni-paderborn.de> alf@uni-paderborn.de writes:
<
<I would like to have a tool, which converts GIF-Files to 400dpi(!!)-
<PostScript.
<(I know several tools, which produce 300dpi output)
<
<OR:
<
<How can I convert a 300dpi-(colour-) PostScript file containing a bitmap
<image to 400dpi-(colour-) Postscript

The resolution is not a part of the PostScript file, but a function of the
PostScript printer.
-- 
      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: usenet@inesc.pt (USENET News System)
Newsgroups: comp.lang.postscript
Subject: Got a tip, technical question now...
Date: 29 Sep 92 18:42:20 GMT
Organization: INESC - Inst. Eng. Sistemas e Computadores, LISBOA, PORTUGAL


	I had a problem printing PostScript files. I now found out
(through trying wiht another printer) that the problem was with
the 'lettertray' keyword. 
	I removed this keyword from my .ps file and attempted to print it
again. This time, it printed part of it, but not all. It stoped with
'UC LOAD LETTER' (load letter in inferior tray). I know that the file has
nothing to do with 'letters', as it is an electronically distributed 
magazine, and it seems that simply erasing the line with 'lettertray' on
in was not enough. The part of of the ps with the mentioned keyword is:
...
AldusDict2  begin
%%BeginSetup
statusdict /lettertray known {statusdict begin lettertray end} {letter} ifelse
 mark
{
mark
1.0 1.0 .98 .9 .82 .68 .56 .48 .28 .1 .06 .0
counttomark dup 3 add -1 roll exch
2 sub mul dup floor cvi
dup 3 1 roll sub
exch dup
3 add index exch 2 add index dup
4 1 roll
sub mul add
counttomark 1 add 1 roll
cleartomark
} bind
%%Feature: NormalizedTransfer
 settransfer erasepage cleartomark
/#copies 1 def
 (Guardian HD; document: Intertext 3 PM)
 statusdict /jobname 3 -1 roll put
 statusdict /waittimeout 300 put
3300 2550 false false false BEGJOB
300 SETRES
25000 S_WORKING
save /SUsv exch def
%%EndSetup
%%Page: 32 1
BEGPAGE
...

can anyone help me, plssssssssssssssssss.... ???
(through mail preferably...)

----
 joao Pedro Martins, Lisboa, Portugal - jota@tutor.inesc.pt
 
 "Carpe Diem, she muttered, and laughed. We seize the day.	
  Well, sometimes, the day seizes back !" (--FORGOT--) 
Newsgroups: comp.lang.postscript
From: sherwood@fenris.space.ualberta.ca (Sherwood Botsford)
Subject: Re: Transparent Halftoning
Organization: University Of Alberta, Edmonton Canada
Date: Tue, 6 Oct 1992 18:50:10 GMT

> In article <1992Oct2.163303.15592@ringer.cs.utsa.edu>,  
gonzo@lonestar.utsa.edu (Jerry . Gonzalez) writes...
> > 
> >I was wondering if there is a way to do transparent 
> >halftoning?  Well, let me explain what I'm doing.
> >By using PostScript I've already got an image of a
> >brain displayed.  Now, what I need to do is overlay
> >a grid of boxes (filled with different gray tones) 
> >over the brain.  Is there a way to make this boxes 
> >somewhat transparent so the brain image can still
> >be seen under the boxes?  Hope thus made sense.
> >

Another way would be to create your transparent overlay  
before you turn the bit map into a PS file.  This wouldn't  
be too hard using the pbmplus series of utilities.

Create your image of the brain > transform to a pgm file.
Create your boxes with grey values > transform to a pgmfile
Now use pnmarith to add the two values together.  
And then convert that to a postscript file.
From: lilleyc@cs.man.ac.uk (Chris Lilley)
Newsgroups: comp.lang.postscript
Subject: Re: 2-sided printing w/o crinkling?
Date: 28 Sep 92 16:22:11 GMT
Organization: Dept Computer Science, University of Manchester, U.K.

In article <1992Sep28.130819.8722@unlinfo.unl.edu> jaffe@hoss.unl.edu
(David Jaffe) writes: 

> [printing the same sheet of paper twice crinkles it]

This is because of the high temperatures in the laser printer driving
off moisture from the paper. Ask your paper supplier for some paper
with a higher moisture content. Also you could have a service engineer
check your printer; the heater (used to fuse toner to the paper) might
be set too high.

--
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
From: hank@ducvax.auburn.edu
Subject: Re: enscript available?
Organization: Auburn University, AL
Date: Sun, 27 Sep 1992 12:49:01 GMT

In article <1a3t4fINN6em@nic.belwue.de>, peterj@garfield.t-informatik.ba-stuttgart.de (Peter Jesinger) writes:
> Is the programm 'enscript' to convert a ascii file to postscript 
> (and put 2 sides on one) available for ftp somewhwere?
> Or, if not is there something that does the same?

Recently posted:
README for nenscript version 1.12
Craig Southeren 20-August-1992
---------------------------------

This directory contains the sources for nenscript, a clone of the
proprietary enscript program from Adobe Systems. For those who have
never used enscript, it is a good ASCII to Postscript converter.

nenscript was written by me over a period of several months whilst
I was working at Computer Sciences of Australia as a contractor.
As a regular net-watcher, I saw that several people had (over the
years) asked for a public domain version of enscript. Seeing as I
had got tons of useful stuff off the net, I though this looked like
a good opportunity to pay back the net community. So I convinced
my manager that this would be a Good Thing.
[rest deleted]

nenscript compiled easily for MSDOS and OS/2 using MSC 6.0a. I cannot
find an e-mail address for Southeren.

--darrel hankerson hank@ducvax.auburn.edu
From: ab@nova.cc.purdue.edu (Allen B)
Newsgroups: comp.lang.postscript
Subject: Re: Halftone screens (was Re: lousy images)
Date: 30 Sep 92 14:45:41 GMT
Organization: Purdue University

In the book Real_World_PostScript ("The Orange Book"
ISBN 0-201-06663-7), there's a neat program that shows
characteristics of the halftoning.  It'll show you how
many gray levels you get etc.  There's other good stuff in
there on the subject (and others) that you might want to
check out.

I ran a similar program on our Lino in "low" (1270 dpi)
resolution and it said the default screen was 150 lpi, 45
degrees, 72 pixels (so 73 gray shades).  A fountain
printed in that manner was quite convincing. 

ab
From: am299al@sdcc15.ucsd.edu (graduate research)
Newsgroups: comp.lang.postscript
Subject: Any advice would be appreciated
Date: 1 Oct 92 17:45:22 GMT
Distribution: inet
Organization: University of California, San Diego


Hi, this is the first time for me to do postscript programming and I
have the following question.

I'm trying to make a decision about whether I should choose postscrip 
files as the output of my graphics display. Since the whole picture I deal 
with is much bigger than the display area, I am wondering if it is possible 
for me to get the whole picture on the scren(the user is expected to
click the mouse to justify the view area to see the whole picture), not 
just part of picture? Can experienced people tell me if this attempt
is doable?

Thanks in advance.




Newsgroups: comp.lang.postscript
From: andreas@dutedib.et.tudelft.nl (A.A.Buykx)
Subject: Boundingbox???
Summary: How to adapt the _Boundingbox_ to give the 'real' boundingbox
Organization: Delft University of Technology
Date: Wed, 30 Sep 1992 13:59:15 GMT


Hi,

Several graphics programs have a postscript output possibility, like Slide
Write Plus, etc. With all these programs the Boundingbox statement in the 
preamble is a fixed value for a size of paper, say A4. However, I would
like to use the postscript output file as an imported picture in a LaTeX
document. This is possible thanks to psfig, which uses the Boundingbox
numbers to determine the size of the picture. An A4 Boundingbox definition
would therefor result in a page wide picture, and sizing is necessary.

My question is: is there a possibility to calculate the real bounding box
of a postscript picture, so I can adapt the default setting in the
preamble?

Thanks very much, Andreas

N.B. please reply by e-mail
-- 
--> Andreas A. Buykx                  Electrical Materials Laboratory <--
--> andreas@dutentb.et.tudelft.nl     Delft University of Technology  <--
-------------------------------------------------------------------------
------> Practice random kindness and senseless acts of beauty <----------
Newsgroups: comp.lang.postscript
From: delahunt@adobe.com (Jim DeLaHunt)
Subject: Re: problems popping prologs
Summary: Don't use unmatched "save" outside the server loop
Organization: Adobe Systems Incorporated
Date: Mon, 28 Sep 1992 16:32:38 GMT

In article <Bv56s0.BtJ@newcastle.ac.uk> Andrew.Hilborne@newcastle.ac.uk 
(Andrew Hilborne) writes:
>...I am forced to support the pre-loading of a whole slew of PS prologs...
>[which insist on living outside the server loop --jdlh]
>To "pop" an un-wanted prolog I create my own save object outside
>the server loop first.  I then send a couple of CTRL-D's...
>and wait for the job to complete.  The prolog is concatenated with the 
>user's input and sent as a separate PS job.  I can use the save object
>later to pop the prolog.  ... I am getting
>examples of prologs which are inadequately loaded.

It is very important that "save" and "restore" operators be balanced when
used outside the server loop.  That is, if you send a "save" then be sure
to send a corresponding "restore" before you end that job (send your CTRL-D).

PostScript Level 2 interpreters enforce this balance when they resume 
their server loop.  They issue an implicit "restore" for each unmatched
"save".  This would have the effect of throwing out the save object you are
storing away.  PostScript Level 1 interpreters didn't enforce this balance.

Could it be that the technique you are using happened to work on a 
PostScript Level 1 printer but doesn't on a PostScript Level 2 printer?

I don't know of a good technique for selectively purging prologs, except 
rebooting the printer.  The following code should work on most printers:
	serverdict begin 0 exitserver	% exit server loop
	systemdict /quit get exec	% run systemdict's "quit"
	%%EOF

Write your application suppliers and ask for a version of the software 
which doesn't require a prolog outside the server loop.  If they don't 
know how to do that, send them to Adobe Developer Support!

>Andrew Hilborne

	--Jim DeLaHunt, Developer Support, Adobe Systems Incorporated	
delahunt@adobe.com	...!{apple,decwrl}!adobe!delahunt      +1-415-962-3790
Newsgroups: comp.lang.postscript
From: jgm@cs.brown.edu (Jonathan Monsarrat)
Subject: PostScript mode for GNU Emacs
Organization: Brown University Department of Computer Science
Distribution: nation
Date: Mon, 5 Oct 1992 19:55:04 GMT


Hi everyone! This is Jon Monsarrat from Brown University and MIT.

Anyone have a "postscript-mode" for EMACS?
(you know, like text-mode and c-mode and fortran-mode and tex-mode)

I have this, which unfortunately is not very good. It came with emacs 18.58.

;; postscript.el
;; Major mode for editing PostScript programs.
;;
;; Author:      Chris Maio
;; Last edit:   22 April 1988

Thanks!

-Jon
%! Obfuscated PostScript !% /exch{cvx}def /dup /def load def setfont 10 scale
/q{dup 0 1 getinterval cvn exch cvx def}def(dup)q(scale)q(moveto)q(translate)q
(closepath)q(exec)q(rotate)q{90 r{220 25 m 0 d 220 12 172 arc c}cvx d e -1 d s
e 270 0 m 0 d 270 360 0 arcn c gsave fill grestore 0 setgray stroke}cvx 45 r
462 36 t .5 d s d e 1 setgray 2 d s d e 80 0 t .08 d s e 8 d s -90 r -190 -30 m
/Helvetica-Bold findfont 90 scalefont setfont(NO     NO-NOs) show showpage
From: milad@archsci.arch.su.oz.au (Milad Saad <milad>)
Newsgroups: comp.lang.postscript
Subject: Re: PS --> Autocad conversions?
Date: 1 Oct 92 00:15:31 GMT
Organization: Design Computing Unit, The University of Sydney

In article <1acrvpINNdeh@network.ucsd.edu>, dmb@lyapunov.ucsd.edu (Doug Brownell) writes:
|> I would like to port a PS diagram, in plain vanilla
|> PostScript (no %% comments, single page, etc), to Autocad or
|> some other CAD program, since I am in the process of trying
|> to have it machined into brass.  Can anyone suggest any
|> resources?  The only 'bad' part of the code is the inclusion
|> of fonts; if necessary they can be removed.
|> 
|> Would I be better off just scanning a print of the picture,
|> and forget direct computer-computer translation?  The purist
|> in me disagrees but I'll knuckle under to the inevitable.
|> 
|> Doug Brownell
|> dmb@jacobi.ucsd.edu

-- 
AutoCAD Release 12 has an ADS application that can read in a Postcript file
into AutoCAD drawing. You can also write back the same drawing to a Postscript
file. The commands are PSIN and PSOUT.

I hope this will help

Milad Saad

Design Computing Unit
Department of Architectural and Design Science
Wilkinson Building (G04)                    Tel:    +61-2-692-2053
The University of Sydney                    Fax:    +61-2-692-3031
NSW 2006 AUSTRALIA                          E-mail: milad@archsci.arch.su.oz.au
Newsgroups: comp.lang.postscript
From: jit@Xenon.stanford.edu (Satyajit Nath)
Subject: Need "handwriting-like" PostScript font
Organization: Stanford University, CA
Distribution: comp
Date: 28 Sep 92 01:20:28

Hi,

I am looking for a PostScript font that would let me print text as if 
it is handwritten. I believe such fonts are known as "cursive" fonts.
I have access to ZapfChancery, but it looks too "flourishy" ...

Public-domain or shareware would be preferred.

Thanks, in advance,

- satyajit
From: lilleyc@cs.man.ac.uk (Chris Lilley)
Newsgroups: comp.lang.postscript
Subject: Re: X-window PS for VMS?
Date: 1 Oct 92 03:13:08 GMT
Organization: Dept Computer Science, University of Manchester, U.K.

In article <1992Sep30.205626.8975@fcom.cc.utah.edu>
val@news.ccutah.edu (Val Kartchner) writes:

>I would like to use the X-station that is sitting on my desk as the output
>device until I want a hardcopy output.  

>Would someone happen to know a site from which I may ftp an executable for
>VMS?  

No problem, the software is already in place on your DEC workstation.
The X server has the display PostScript extension (unlike many other
vendors X servers). Either use the CDA viewer or link the PS file into
something like DECwrite, which displays PS figures as you edit the
document (*real* WYSIWYG!)

I use such a set-up every day on my VAXstation 4000 VLC.

--
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
From: chesnutt@adobe.com (Stan Chesnutt)
Subject: Re: Obtaining Adobe Fonts
Organization: Tuesday Weld Fan Club
Date: Fri, 2 Oct 1992 01:46:05 GMT

In article <1992Oct1.153700.19657@unlv.edu> frank@snooks.isri.unlv.edu (Frank Jenkins) writes:
>Anyone know where I can obtain a set? Will purchase if necessary.

It's a good idea to purchase the fonts, as the alternative would
probably be considered theft in most jurisdictions.

Call Adobe at 1-800-83-FONTS and request a copy of "Font and Function", which
is the type catalog.  If you are in an area which does not support 1-800 dialing,
call the U.S. number 415-961-4400

Stan

-- 
 -----------------------------------------------------------------------------
 Stan Chesnutt,  Adobe Systems			      chesnutt@mv.us.adobe.com