HDTenEightyP/NetNews huggingface dataset:
From: berman@nlm.nih.gov (Lew Berman)
Subject: sailboat on the sea
Reply-To: berman@nlm.nih.gov
Organization: National Library of Medicine
Date: Thu, 28 Jan 93 14:15:27 GMT


Does anyone have a postscript file of a sailboat on
the sea?  Maybe under the moonlight or something 
like that.

Thanks,

Lew Berman
From: brown@vidiot.UUCP (Vidiot)
Newsgroups: comp.lang.postscript
Subject: Re: SUMMARY: How can I tell if a PS file is in color?
Date: 23 Jan 93 19:44:59 GMT
Reply-To: brown@vidiot.UUCP (Vidiot)
Organization: Vidiot's Hangout

In article <93021.111826AUBXG@ASUACAD.BITNET> AUBXG@ASUACAD.BITNET (Ben Goren) writes:
<It's also possible to use the setcolor family of commands to create a
<black/white/gray color. Many drivers that I've seen do this, and don't
<even use setgray any more. Makes for easier programming.

Very true.  I used setrgbcolor for my ST:TNG program guide, even though the
"color" that is set is currently a share of grey.  It is being done this way
for future expansion into color.
-- 
      harvard\                          spool.cs.wisc.edu!astroatc!vidiot!brown
Vidiot  ucbvax!uwvax..........!astroatc!vidiot!brown
      rutgers/            INTERNET:vidiot!brown%astroatc.UUCP@spool.cs.wisc.edu
                                   brown@wi.extrel.com
Newsgroups: comp.lang.postscript
From: lynch@spiff.stanford.edu (Bill Lynch)
Subject: flames in postscript?
Organization: Stanford University
Date: Tue, 26 Jan 1993 17:09:25 GMT

Does anyone have flames (pictures of fire, not the other kind)
generated by postscript code?  I was thinking more of generating some
from a seed rather than drawing instances so that the flames would
look different every time.  Unfortunately, I'm not much of an artist,
so anything would be helpful.

Bill
lynch@spiff.Stanford.EDU
Organization: Valencia Uiversity (Universitat de Valencia) SPAIN
Date: Wed, 27 Jan 1993 11:48:07 EST
From: <MARCO@EVALUN11.BITNET>
Newsgroups: comp.lang.postscript
Subject: convert ascii files to PS files

Sorry, in my last message I forget to say that the laser is connected
to a PC. In this case the program to convert ascii---PS files must
run on DOS.

Thanks.


Enric Marco
Departament de Matematica Aplicada i Astronomia
Universitat de Valencia
marco@vm.ci.uv.es
Newsgroups: comp.lang.postscript
From: ab@nova.cc.purdue.edu (Allen B)
Subject: Re: {(%%[|0|]%%)=print flush}
Organization: Purdue University
Date: Mon, 25 Jan 1993 15:42:18 GMT

In article <1k0c7bINN9gj@nz12.rz.uni-karlsruhe.de>  
malle@rpksun1.mach.uni-karlsruhe.de (Bernhard Malle) writes:
> Hello,
> 
> Is there any PostScript Guru that knows the meaning of the following
> statement:
> {(%%[|0|]%%)=print flush}

Sure.  =print prints that string, and then flush makes
sure you see it.

=print is defined here on my NeXT to be:

{
	dup type /stringtype ne {
		=string cvs
	} if
	print
}

Like =string, =print isn't documented.  In this case, you
could use print just as well.

> The interesting thing about the above mentioned statement is, that ghostview  
can
> display the diagrams correctly, but sends an error message with just 
> %%[|0|]%%

Yep.

> Does anyone knows how to avoid this command?

Just take it out.  If you aren't watching the output
channel, you won't see it anyway.

ab
Newsgroups: comp.lang.postscript
From:  misha <misha@spectrum.simbirsk.su>
Subject: What editors and converters exist for postscript fonts?
Reply-To: misha@spectrum.simbirsk.su
Organization: Volga-Spectrum Ltd.
Date: Sat, 23 Jan 1993 07:31:58 GMT

Hello-

How can to tell me what editors and converters exist for
postscript fonts ?
Can't You tell me anything about theys ?


Thanks for any help                 Sorry my English

--- misha@spectrum.simbirsk.su ---------------------          ****    ------
Russia,                           Desk Top Publisher         *    *
Uljanovsk Town                                Expert      *  *
Join-Stock Company                        Programmer      *  *  *
"Volga-Spectrum"                  Michael V.Solovjev   *  *  *  *  *
--- (842-2) 320-873 --------------------------------    **   *   **   ------
From: rchan@terapin.com (Ronald Chan)
Newsgroups: comp.lang.postscript
Subject: Re: Adding fonts to Ghostscript 2.52
Date: 24 Jan 93 00:07:51 PST
Organization: BBS

 ]From: colemanr@garnet.berkeley.edu ()
 ]Subject: Adding fonts to Ghostscript 2.52
 ]Date: 21 Jan 1993 08:57:33 GMT
 ]
 ]I would like to use more/different fonts than those supplied with the
 ]Ghostscript 2.52 distribution.  Can I do this??  If so, how?
 ]
 ]1. I read somewhere that putting a command similar to 
 ]  (c:\\psfonts\\fontfile) run
 ]at the start of my ghostscript file will load a font stored in "fontfile".
 ]Is this correct ?
 ]
 ]2. I presume that I should purchase "Adobe Type 1" fonts?
 ]
 ]3. Do I have to fiddle with the Fontmap file that comes with Ghostscript,
 ]   and if so, do I have to recompile Ghostscript (I don't have the source)?
 ]
 ]4. Is there anything else that I should know about doing this?

I don't know about question 1.

For the rest... yes, you can use Adobe type 1 fonts with GhostScript.  All you
have to do is load the FONTMAP file into a text editor.  Put that actual font
name on the left (you can get this info by peeking at the AFM file) and then
put the corresponding filename (the way it appears on the disc) in parantheses
on the right.  Just study the way the rest of the file list the fonts and
follow the format.  If you purchase Adobe versions of Times, Helv, or other
fonts that have GS equivalents, simply replace the filename in parantheses with
the new one.

You don't have to recompile.

Well, this is true at least for my version of GhostScript.  The source code has
been adapted to many platforms, so what I say might now apply to you.


**------------------------------------**------------------------------------**
|| Ronald Chan [rchan@terapin.com ]   || USDA Agricultural Research Service ||
||             [rchan@tatertot.com]   || Albany, California                 ||
||                                    ||                                    ||
|| A Pocket Knight  *--{------------- || [Internet Address Pending]         ||
**------------------------------------**------------------------------------**
From: stolte@irit.irit.fr (Nilo STOLTE)
Newsgroups: comp.lang.postscript
Subject: Coca-Cola Logo???
Date: 26 Jan 93 20:19:22 GMT
Organization: IRIT-UPS, Toulouse, France


Does anybody has a PostScript VECTORIAL (not bitmap) logo from Coca-Cola or any other famous company, like Ford???

Thanks a lot...

Nilo.
Newsgroups: comp.lang.postscript
From: uad1077@dircon.co.uk (Ian Kemmish)
Subject: Re: Summary: Color/Not Color
Date: Tue, 26 Jan 1993 19:00:00 GMT

arras@cobia-f.icase.edu (Michael Arras) writes:

>print it on (color or not color).  Someone mentioned that I redefine
>/colorimage, but this will not solve my problem, nor will it produce the
>correct output in the program above.  I find it hard to believe that PS
>does not have a built-in set of commands that can be used to find out if
>the printer being printed on is a color printer or not.
>
Device-indpendence does have a down side too:-).  Seriously, it's not
as clear cut as that.  On some (many?) printers you can look at the
value of processcolors to see how many primary inks your device
thinks it's got.  Trouble is, on devices that can produce both
colour and mono output, this can be a read/write value that you can
change to tell the printer what you want....  In recent interpreters
there may be a thing called deviceinfo available, which is descrbied
briefly in the Red Book II.

-- 
Ian D. Kemmish                    Tel. +44 767 601 361
18 Durham Close                   uad1077@dircon.co.uk
Biggleswade                       uknet!dircon!uad1077
Beds SG18 8HZ United Kingdom
From: rchan@terapin.com (Ronald Chan)
Newsgroups: comp.lang.postscript
Subject: Re: ghostscript: where to get fonts?
Date: 27 Jan 93 21:10:15 PST
Organization: BBS

In article <1993Jan25.120811.873@fel.tno.nl>, qb7g6@fel.tno.nl (Maarten
Landzaat) writes:
>Hi, sorry if this is a FAQ,
>but can anybody tell me which fonts I need and where to get them
>if I want to start playing with ghostscript on my Atari ST?
>
>Thanks very much,
>-- 
>Maarten J. Landzaat (analyst/programmer, bass player, Atari/midi freak)
>BSO/Aerospace & Systems                        Mail: Spuistraat 97
>Email: maarten.landzaat@fel.tno.nl           1012 SV  Amsterdam
>Phone: +31 20 6266098                        The Netherlands

You need these three font files:
        gsf252-1.zoo
        gsf252-2.zoo
        gsf252-3.zoo

You can get them either at the University of Michigan archives or Clausthal.


**====================================**====================================**
|| Ronald Chan [rchan@terapin.com ]   || USDA Agricultural Research Service ||
||             [rchan@tatertot.com]   || Albany, California                 ||
||                                    ||                                    ||
|| A Pocket Knight  *--{------------- || [Internet Address Pending]         ||
**====================================**====================================**
Newsgroups: comp.lang.postscript,comp.periphs.printers
From: curry@iiasa.ac.at (Jim  CURRY)
Subject: Bug in LJ-4M PS-processor
Reply-To: curry@iiasa.ac.at
Organization: IIASA, Laxenburg, Austria
Date: Sun, 24 Jan 1993 11:15:43 GMT

I believe that there is an "arithmetic" bug in my LJ-4M's PS-processor.

The bug turned up in the output of a complex LaTeX-dvips document:
the PS file prints correctly on an LJ-3 with HP-PS-cartridge,
but on the LJ-4M, one character in a particular math formula prints
in the wrong place -- it is shifted to the left by about 4cm.

I've isolated the bug, and reduced it to this simple self-contained code:

=========================================================================
72 300 div 72 300 div neg scale   300 -3000 translate  % set dvips coords

412 1000  moveto   /xxx1 currentpoint pop 100 string cvs def
 14    0 rmoveto   /xxx2 currentpoint pop 100 string cvs def
  2    0 rmoveto   /xxx3 currentpoint pop 100 string cvs def

/Courier findfont [ 50 0 0 -50 0 0 ] makefont setfont 300 1200 moveto
xxx1 show (  ) show xxx2 show (  ) show xxx3 show (  ) show  showpage
=========================================================================

That is, set units to 1/300 inch, with y-origin at top of page;
then just do an absolute move followed by two relative x-moves,
recording the current x after each move.  (In the original code,
the first "rmoveto" was actually a "show" of a char of width 14.)
Print the three remembered x-values.  (The y-values don't matter.)

On my LJ-4M, the values are 412.0, 426.0, and then 940.0 (not 428.0)!

I say that this exhibits an "arithmetic" bug because the incorrect result
depends sensitively on the x-values used and on the two rmoveto's.  
Specifically, the final x-position becomes correct if I do any of:
       (a)  replace "412" with "413" or "412.0001" or some random value,
    or (b)  replace "2" with "1" or "3" or "2.0001" or some random value,
    or (c)  replace the double "rmoveto" with a single "16 0 rmoveto",
    or (d)  replace the "2 0 rmoveto" with "1 0 rmoveto  1 0 rmoveto".

Manufacturers' service departments in Austria are not always as competent
as we'd like them to be.  So before I talk to HP, I'd like to know
whether the bug exists on all LJ-4M's, or only in the version of the
PS-processor installed on mine, or (conceivably) just on my printer.

So I'd appreciate it if a few people with LJ-4M's could run the above code
and let me know whether the last number is right (428.0) or wrong (940.0),
together with the firmware revision data (from the "SELF TEST" page).
Mine are:  Formatter Number: S4601104CJ2     Firmware Datecode: 19920603
           Installed Personalities: PCL (19920511)  POSTSCRIPT (19920610)

E-mail is probably best for responses; I'll post a report on the results.

Thanks in advance -- Jim

       Jim Curry                    ||  E-mail:    curry@iiasa.ac.at
       International Institute for  ||  Telephone: +43-2236-71521-204
          Applied Systems Analysis  ||  Telefax:   +43-2236-71313
       A-2361 Laxenburg // Austria  ||  Telex:     079137 iiasa a

Newsgroups: comp.lang.postscript
From: delahunt@adobe.com (Jim DeLaHunt)
Subject: Re: Postscript fax info?
Keywords: fax
Organization: Adobe Systems Incorporated
Date: Thu, 28 Jan 1993 18:59:39 GMT

In article <phoenix.727477173@well.sf.ca.us> phoenix@well.sf.ca.us (Benjamin McLemore) writes:
>Is there information publicly available on the new postscript fax standard?
>I am interested in knowing whether it will also be usable on current
>fax modems and whether a hardware upgrade would be required? Also, will 
>the standard be compatible with Acrobat/Carousel?

I can give some general information.  For more information, contact the 
Adobe Developers Association (+1-415-961-4111) for programmer-oriented 
documentation, or the makers and sellers of Adobe fax printers (i.e. NEC
and Compaq) for product and pricing information.

Adobe fax is essentially a fax board which plugs into a PostScript printer,
and some extensions to the PostScript language to control the fax board.
By adding some reasonably simple commands to a printable PostScript language
file, you can have the fax printer send your job to any Group 3 fax 
machine, or to any Adobe fax printer.  When sending to a Group 3 fax 
machine, the PostScript interpreter rasterises the job at fax resolution,
eliminating the poor quality caused by scanning a paper original or by
conversion from 300 dpi laser printer resolution to 200 dpi fax resolution.

In addition, when one Adobe fax printer is sending to another, they can 
communicate with PostScript language data instead of Group 3 raster data.
This means that the fax message can print in colour, at full device 
resolution (up to 800 dpi), and on large paper sizes.  In addition, 
the PostScript language form of the job can be smaller than the raster form,
so that the phone call is faster and cheaper.

Since Adobe fax uses a fax modem in the printer, it is highly unlikely that 
your existing fax modem will be usable.  Also, only printers which have 
been designed with Adobe fax in mind can be upgraded to support it.  
Currently, the NEC SilentWriter 95 and 97, and the Compaq PageMarq 15 and 20 
are the only announced printers with Adobe fax capability.  NeXT 
workstations also use Display PostScript to rasterise faxes, but this is
slightly different than Adobe fax as described above.

Adobe has developed fax drivers for Macintoshes and PC's.  These provide
the PostScript language commands to enable fax printing from most 
applications.  I believe these drivers are shipped with the NEC and Compaq



>
>Thanks for any pointers.
>
>Benjamin McLemore
>
From: westes@smurf.sti.com (Will Estes)
Newsgroups: comp.lang.postscript
Subject: How to convert from US Letter to A4 format?
Date: 22 Jan 1993 20:54:22 -0800
Organization: Mail Group
NNTP-Posting-Host: smurf.sti.com

I'm faced with a small conversion problem, and I am hoping that the
Postscript experts here can help me.  I routinely download technical
documents from ftp servers in US Letter format.  When I send these to
european friends in countries that are standardized on the A4 page size, 
it causes real problems for them when they print the postscript file.

The question is - short of re-specifying the output to A4 from a source
document - how do I convert an existing postscript file that uses US
Letter page format to A4?  Is there any sequence of steps that they
can take to lessen their problems?

One idea: if there were some hack that could be made to the existing
Postscript output to scale down the entire page image, then it could
be made to fit on the A4 page.  Any ideas on how to do this or other
things to solve this problem?

-- 
Will Estes		Internet: westes@netcom.com
Newsgroups: comp.lang.postscript
From: ab@nova.cc.purdue.edu (Allen B)
Subject: Re: SUMMARY: How can I tell if a PS file is in color?
Organization: Purdue University
Date: Fri, 22 Jan 1993 17:32:58 GMT

In article <C17uJr.F8B@mentor.cc.purdue.edu> ab@nova.cc.purdue.edu (Allen B)  
writes:
> You can also
> wedge all the painting commands (stroke, fill, show,
> etc.) with a stub routine that checks the current color.
> If it's not a gray shade, you can print a message back down
> the error channel.

Per requests, I'll post this and instructions on using it
with GhostScript later.  I'll ask Jon if he wants it for the
FAQs. 

ab
From: jw@peanuts.informatik.uni-tuebingen.de (Joerg Wedeck)
Newsgroups: comp.lang.postscript
Subject: Re: Page accounting
Date: 25 Jan 1993 09:03:25 GMT
Organization: "Lehrstuhl fuer Technische Informatik, Uni Tuebingen"
Distribution: world
NNTP-Posting-Host: snoopy.informatik.uni-tuebingen.de
Keywords: postscript, page, accounting


In article <86579@ut-emx.uucp>, tai@utpapa.ph.utexas.edu (Tai Morris) writes:
|> I'm new to this newsgroup so I hope this question hasn't been answered
|> too many times already...
|> 
|> I need a program that parses a postscript file to see how many pages will
|> be printed. Please don't tell me this is impossible - it's impossible that
|> it is impossible because postscript printers know how to parse postscript
|> files. Otherwise, the printer could be fooled, too.
|> 
|> Any help would be appreciated.
|> 
|> 
|> 
|> -- 
|> Tai Morris, tai@utpapa.ph.utexas.edu

One thing you can do is to include postscript code at the beginning and the end
of a document to be printed, which show the value of the internal page counter of
the printer.
Unfortunately i have forgotten the code sequence neccessary to do this (look at
the manuals), but it works.

-- 
----------------------------------+--------------------------------------
Joerg Wedeck			  | E-Mail: jw@peanuts.informatik\
Universitaet Tuebingen		  |		.uni-tuebingen.de
Lehrstuhl fuer Techn. Informatik  |
Sand 13				  |
7400 Tuebingen			  |
Germany				  |
----------------------------------+--------------------------------------
Newsgroups: comp.lang.postscript
From: brown@ftms.UUCP (Vidiot)
Newsgroups: comp.lang.postscript
Subject: Re: Selective Printing
Date: 21 Jan 93 20:59:57 GMT
Reply-To: brown@ftms.UUCP (Vidiot)
Organization: Vidiot's Other Hangout

In article <1993Jan20.030501.13068@cucs5.cs.cuhk.hk> mklai@ie.cuhk.hk (Edmund M K Lai) writes:
<Are there any public domain software that allows the user to 
<print only selected pages from a large postscript file?

Yes, the psxlate utility from the Chris Lewis psroff suite of programs.
Available on ftp.uu.net.
-- 
harvard\
  ucbvax!uwvax!astroatc!ftms!brown  or  uu2.psi.com!ftms!brown
rutgers/
INTERNET: brown@wi.extrel.com  or  ftms!brown%astroatc.UUCP@cs.wisc.edu
Newsgroups: comp.lang.postscript
From: ab@nova.cc.purdue.edu (Allen B)
Subject: Re: Poster/Tiler
Organization: Purdue University
Date: Thu, 21 Jan 1993 18:04:02 GMT

In article <1jmcrtINNpt5@usenet.INS.CWRU.Edu> ah395@cleveland.Freenet.Edu  
(Jeffrey T. Hansen) writes:
> We've got a Laserjet II NTX, which gives
> us a 8" x 10 1/2" printing area, and I produce drawings that are
> 30" x 42".  I'd like to be able to take a drawing, and have the
> printer break it into tiles like poster, but have the tile move about
> the drawing rather than have the drawing enlarged from a small 
> area.  

Do you mean LaserWriter IINTX?  If so, do you have a disk
drive attached to it?

The easiest way I've found to make posters of PostScript
files is to have a program set up a new graphics state for a
tile, execute the program you want to make a poster of and
repeat as necessary.

The most effective way to do this is to run the poster image
from a file.  To do this, you need to have a filesystem
available to the PostScript engine.  This works in nearly
all cases, and it's probably the best way to do this
automatically. 

In some cases, you can just execute the code of the image
over and over again in a loop.  Program 13 in The Blue Book
does this.  If your code is too complicated, this won't
work.

You could also try putting your program in an executable
string and running it that way, but, again, if it's too big
or complex it will fail.

I can post the code to make posters from a file, but the last
time I did, people told me it wasn't useful because they
don't have filesystems on their printers.  That's really
a shame because it makes your printer so much more
powerful and useful.  Their loss. :-)

ab
Newsgroups: comp.lang.postscript
From: paulr@fulcrum.oz.au (Paul Rosham)
Subject: Re: Is there a PostScript Code Beautifier?
Organization: The Fulcrum Consulting Group
Date: Wed, 27 Jan 1993 02:20:37 GMT

ab@nova.cc.purdue.edu (Allen B) writes:
>In article <1993Jan25.181959.5976@murdoch.acc.Virginia.EDU>  
>filipi@cebaf9.cebaf.gov (Adrian Thomas Filipi-Martin) writes:
>> 	As the subject says, "Is there a PostScript Code Beautifier?" I would 
>> like to be able to reformat computer generated code to make it more human 
>> readable. 

Sun's OpenWindows has a program called 'psindent' that may help.

-PaulR.
Newsgroups: comp.lang.postscript,comp.sys.mac.misc
From: b645zax@utarlg.uta.edu (David Richardson)
Subject: Printing Postscript Mac->Novell's HPIII via VAX - help
Followup-To: poster
News-Software: VAX/VMS VNEWS 1.41    
Organization: The University of Texas at Arlington
Date: Fri, 22 Jan 1993 18:52:00 GMT

Here is the scenario:
I have a Macintosh.  I would like to print files to the Postscript
laser printer (HP Laserjet III with PS card) via a VAX.

Convoluted - yes, but that's what you get when you are too cheap to buy
a laser printer or pay almost a buck a page (vs. $0.10 on this printer) :^).

What I have been doing:
1.  Print to a postscript file using the Laserwriter driver (vers. 7.0)
    Note:  I used Trimmer to supress including Truetype fonts and the 
    Apple Laser Prep dictionary.
2.  Transfer the file to a VAX.  Verify the file is intact.
3.  Print to the printer using the Postscript form (required by local
    instructions).
4.  Watch nothing except a cover sheet come out.

Does someone know a better way?  Specifically, will including the Apple
Laser Prep or Truetype fonts disturb the printer in any way for the
next customer (the printer is used by VAX, Convex, and Novell/IBM
users).  I'm not going to try unless I know it won't.

Note - I am asking local advice on this also, but it is slow in coming.

Specifics:
Mac:  System 7, MS-Word 4.0, Trimmer1.0.1
VAX:  Vax 8800, VMS 5.3
Novell (sits between VAX & Printer): 3.1 (I think)
Printer: Laserjet III with Postscript package

Any help will be appreciated.

-David Richardson, b645zax@utarlg.uta.edu (until 1/15/93),    +1 817 461 4799
1904 Silverleaf, Pantego, TX 76013-3124 USA; Watch here for new email address
Newsgroups: comp.lang.postscript
From: jacoates@news.weeg.uiowa.edu (James Alan Coates)
Subject: Pacific Data PostScript
Organization: University of Iowa, Iowa City, IA, USA
Date: Thu, 21 Jan 1993 12:28:28 GMT

I have the Pacific Data Postscript Cartridge on my HP IIIp and quite to the
contrary it DOES recognize the incoming file type. I have the Pacific Data
PE model, and it automatically will determine the incoming file type and
either remain in the current mode or boot to the needed mode all by itself.
I haven't had ANY trouble doing anything on it so far, although I must admit
I am a Postscript know-nothing. But as far as I can tell it operates great,
although PCL Level 5 seems to kill it in text print speed.



			J.A. Coates
			jacoates@umaxc.weeg.uiowa.edu

Newsgroups: comp.lang.postscript
From: ab@nova.cc.purdue.edu (Allen B)
Subject: Re: Poster/Tiler
Organization: Purdue University
Date: Fri, 22 Jan 1993 17:37:08 GMT

In article <1jmt7uINN7te@usenet.INS.CWRU.Edu> ah395@cleveland.Freenet.Edu  
(Jeffrey T. Hansen) writes:
> So, if there's a program that does the work on the host machine,
> and then sends the output to the printer, that's what I can use.
> Otherwise, it's pie in the sky, dream time stuff ... :)

If you don't mind sending the job once for each tile, it's
pretty easy.  Would that be OK?  Then you could run a program
written in a little C or shell or something that just
tacked a header on the file and sent out 15 jobs or
whatever.

ab
Newsgroups: comp.lang.postscript