HDTenEightyP/NetNews huggingface dataset:
From: dcook@spam.ua.oz (David Cook)
Newsgroups: comp.lang.postscript
Subject: Wanted: Rose in postscript
Date: 27 Jan 93 00:28:59 GMT
Reply-To: dcook@spam.adelaide.edu.au
Organization: Stats Pure & Applied Maths, Uni of Adelaide, Australia

Hello, 
  I am looking for some postscript to produce a rose (in b&w only).
If anyone has such a piece of code, could you e-mail it to me
at dcook@spam.adelaide.edu.au.

Thanks in advance,


-- 
David T Cook   e-mail: dcook@spam.adelaide.edu.au   Phone: +61 8 228 5709
Assistant Computer Manager, Stats, Pure and Applied Maths, Adelaide Uni.
"Behind the lines, a face that glimmers. Still looking for a face that shines."
       - Heartland, The Sisters of Mercy
Newsgroups: comp.lang.postscript
From: dockhorn@probitas.cs.utas.edu.au (Patrick Dockhorn)
Subject: Re: Postscript to HPGL
Organization: University of Tasmania, Australia.
Date: Fri, 29 Jan 1993 05:40:27 GMT

In <C1KtKH.5GG@mentor.cc.purdue.edu> ab@nova.cc.purdue.edu (Allen B) writes:

>I don't know squat about HPGL, but supposing you had a way
>to turn a PostScript run into low level drawing commands
>(by wedging moveto, lineto etc.).  How hard would it be to
>form similar HPGL commands?  I ask because I >do< have a
>PostScript tool similar to that.

Probably not too bad an idea - HPGL at least provides commands equivalent
to PostScripts 'moveto' and 'lineto', and even simple filling is possible...
(hear the pens crying ? ;-) Is this tool around ? Does it do all the nasty
transformation, scaling, clipping computations etc. ? If so, who's willing to
write a tool to convert this reduced PostScript to HPGL ?

-patsch

P.S. I'd be interested in your tool anyway. Could you send me a copy 
     via e-mail ? 

--
Some people can tell what time it is by
looking at the Sun, but I have never been
able to make out the numbers.

Newsgroups: comp.lang.postscript
From: zarthac@bradley.edu (Matt Simmons)
Subject: Re: Selective Printing
Organization: J. Random Misconfigured Site
Date: Sun, 24 Jan 1993 10:02:01 GMT
X-Newsreader: TIN [version 1.1 PL8]
X-Posted-From: cs1.bradley.edu
NNTP-Posting-Host: sol.ctr.columbia.edu

Steve Gabrilowitz (steveg@iplmail.orl.mmc.com) wrote:
: In article <1993Jan22.021050.10101@VFL.Paramax.COM>, wrp@pslsrv1.gvl.unisys.com (Bill Pringle) writes:
: |> 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?
: |> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
: |> You can try my pspages.  It will let you print any set of pages,
: |> as well as even or odd.  It will also print them in reverse order
: |> if you ask it nicely. :^)
: |> ============================================================================

: What platform is it for?  Where is it available?  Filename?


Of course, you can always try the ones from psutils... archie for it...
--
zarthac@cs1    \               / Macs are more bullet proof, because the  /
zarthac@camelot >.bradley.edu / authors have the leeway to assume total  /AMIGA
zarthac@buhub  /             / user idiocy. - Charles C. Bundy IV       /   ///
-----------------------------------------------------------------------/   ///
And I've seen Windows CRASH, too...  nothing is bulletproof, you just /\\\/// 
need a big enough bullet. - Frank R. Dana, Jr.                       /  \XX/ 
--------------------------------------------------------------------/
This newsgroup is like a big cuddly never ending witch hunt.  The  / For the
only problem is that instead of spears and flaming piles of wood, / creative
we have soft cushy pillows. - Ian Kennedy (c.s.a.a)              / mind.
-------------------------------------------------------------------------------
There is also the fact that one generally wants to MAKE MONEY off products one
develops, not give them away to twerpy prepubescent drips who wouldn't pay for
software if it came out of the monitor and blew them. - Marc Wandschneider
Newsgroups: comp.lang.postscript
From: ch@alcatel.co.at (Christian Hnilica)
Subject: Re: Is there a PostScript Code Beautifier?
Reply-To: ch@alcatel.co.at
Organization: ALCATEL Austria AG
Date: Tue, 26 Jan 1993 06:18:12 GMT

In article 5976@murdoch.acc.Virginia.EDU, filipi@cebaf9.cebaf.gov (Adrian Thomas Filipi-Martin) writes:
>--
>
>Hi,
>	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. 
>
>	If there isn't one. Is there any standard way that people like to 
>fomat their code? I may wirte asimple one myself, if necessary.


Sun Microsystem offers such a beast as Part of OpenWindows 3.0
(distributed with SunOS 4.1.x) and OpenWindows 3.0.1 (distributed
with Solaris 2.x).

------------------------------------------------------------------
Christian Hnilica		       ALCATEL Austria AG
Systemmanager			       Scheydgasse 41, A-1210 Wien
Christian.Hnilica@alcatel.co.at	       Tel: +43 1 27722 2795
			               FAX: +43 1 27722 100
------------------------------------------------------------------

Newsgroups: comp.lang.postscript,comp.periphs.printers
From: zarthac@bradley.edu (Matt Simmons)
Subject: Re: postScript to text
Organization: J. Random Misconfigured Site
Date: Mon, 25 Jan 1993 06:17:50 GMT
X-Newsreader: TIN [version 1.1 PL8]
X-Posted-From: cs1.bradley.edu
NNTP-Posting-Host: sol.ctr.columbia.edu

sljn6@cc.usu.edu wrote:
: I wanted to know if there is any free software to convert
: post script file to normal text.
: If so where I can get it
: thanks 
: rajiv goyal

It's a race... Who will be the first to mail him the FAQ?

--
zarthac@cs1    \               / Macs are more bullet proof, because the  /
zarthac@camelot >.bradley.edu / authors have the leeway to assume total  /AMIGA
zarthac@buhub  /             / user idiocy. - Charles C. Bundy IV       /   ///
-----------------------------------------------------------------------/   ///
And I've seen Windows CRASH, too...  nothing is bulletproof, you just /\\\/// 
need a big enough bullet. - Frank R. Dana, Jr.                       /  \XX/ 
--------------------------------------------------------------------/
This newsgroup is like a big cuddly never ending witch hunt.  The  / For the
only problem is that instead of spears and flaming piles of wood, / creative
we have soft cushy pillows. - Ian Kennedy (c.s.a.a)              / mind.
-------------------------------------------------------------------------------
There is also the fact that one generally wants to MAKE MONEY off products one
develops, not give them away to twerpy prepubescent drips who wouldn't pay for
software if it came out of the monitor and blew them. - Marc Wandschneider
From: reid@sunpix.East.Sun.COM (Reid Judd - Sun NC Development Center)
Newsgroups: comp.lang.postscript
Subject: Printing Mac PostScript on a Unix PostScript printer.
Date: 26 Jan 1993 21:20:38 GMT
Organization: Sun Visualization Products
Distribution: world
Reply-To: reid@sunpix.East.Sun.COM
NNTP-Posting-Host: wild-rice-1.east.sun.com
Keywords: Mac, Unix

  I'm generating PostScript files using Macintosh programs such as
  FrameMaker and Finale.  I can transfer the PostScript to Unix systems
  and attempt to print them on a PostScript printer... However, when
  the file prints, I get a message such as:

	`Font not found: "Petrucci".   Using "Courier" instead.' 
 
  when I try to print my Finale document or:

	`Font not found: "Chicago".  Using "Courier" instead.'

  when I try to print my FrameMaker document.  Of course, the document
  does not look right.

  I've tried setting the `including font with document' option in Finale
  and it looks like the "Petrucci" font is being included -- but the Unix
  printer does not seem to recognize or use it.  Does anyone know a 
  work-a-round?

thanks.

--                                                     
          reid.judd@East.Sun.com             
                                                   
          Sun Microsystems
          Video Products Development Center          
          Research Triangle Park, NC 27709-3447           
	  (919) 460-8371                                                             

Newsgroups: comp.lang.postscript
From: ab@nova.cc.purdue.edu (Allen B)
Subject: Re: color-separation
Organization: Purdue University
Date: Mon, 25 Jan 1993 19:46:47 GMT

In article <OIY0JFR@math.fu-berlin.de> landgraf@hrz-serv7.hrz.uni-kassel.de  
(Landgraf Thomas  FB16   ) writes:
> Hi,
> does anyone know how I can extract the CMYK intensities of a 
> PS picture. One idea was to set something like a transfer function.
> So it'll be possible to extract the other colors, but there is no
> such function in PostScript Level 1 -- is thete one in Level 2 ?

If you're not worried about image and colorimage calls,
you can just redefine setcmykcolor (and the other
related commands) to just do what you want.  Note that this
is not always a great idea because the color seps might not
be useful.  You'll want to muck with the halftone screen as
well. 

The basic idea is that you do something like:

/setcmykcolor
{
	pop pop pop setgray
} def

To do a cyan separation (and similar things for the other
primaries) and then you muck the screen to be whatever you
need.  setrgbcolor can be rigged similarly: 

/setrgbcolor
{
	realsetrgbcolor currentcmykcolor setcmykcolor
} def

I do something similar here for two-color jobs to strip
out one or the other color.  It works, but trapping,
registration, and other factors can be a bear depending
on your application.

(image and colorimage calls should probably be handled
external to PostScript for those reasons.) 

ab
Organization: Valencia Uiversity (Universitat de Valencia) SPAIN
Date: Wed, 27 Jan 1993 11:23:54 EST
From: <MARCO@EVALUN11.BITNET>
Newsgroups: comp.lang.postscript
Subject: Convert ascii files to PS files

Sorry if this is a FAQ but I am new to this group. we have a new HPLJ4
with PS. In the configuration for PS this laser printer only accept
PS files. Files in asscii code are ignored.

This is my question:
It is possible to obtain a program to convert ascii code into PS code?
Or to get information where to obtain it?



Enric Marco
Departament de Matematica Aplicada i Astronomia
Universitat de Valencia
marco@vm.ci.uv.es
Newsgroups: comp.lang.postscript
From: ah395@cleveland.Freenet.Edu (Jeffrey T. Hansen)
Newsgroups: comp.lang.postscript
Subject: Re: Poster/Tiler
Date: 21 Jan 1993 19:23:42 GMT
Organization: Case Western Reserve University, Cleveland, OH (USA)
Reply-To: ah395@cleveland.Freenet.Edu (Jeffrey T. Hansen)
NNTP-Posting-Host: slc10.ins.cwru.edu


In a previous article, ab@nova.cc.purdue.edu (Allen B) says:

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

Yes, I meant LaserWriter IINTX, and no, we don't have a disk
attached directly too it.  Even worse, I'm trying to print my
postscript files from a DOS box that is connected to the printer
through a TOPS network.  The printer serves the Mac network that
the 'front office' uses, and we folks in the underfunded CAD dept.
get the leftovers, basically.  (Even though the CAD department 
produces billable work, and the front office is overhead ...)

>

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


-- 
ah395@cleveland.freenet.edu
Jeffrey T. Hansen
Not affiliated with Case Western Reserve University

Newsgroups: comp.lang.postscript
From: ab@nova.cc.purdue.edu (Allen B)
Subject: Re: Postscript considered harmful with MIME
Organization: Purdue University
Date: Thu, 28 Jan 1993 15:13:48 GMT

In article <1993Jan28.001842.25259@aio.jsc.nasa.gov>  
kjenks@gothamcity.jsc.nasa.gov writes:
> PostScript is really a general-purpose programming language.  It's
> difficult to work with, especially if you wanted to make it do disk
> I/O, but a really creative virus vandal could conceivably cause
> GhostScript (or some other PostScript interpretter running in your CPU)
> to create a script file in your home directory called, say, "ls" which
> does an "rm -r * > /dev/null" or some such nasty.

No, actually, it's really easy.

	(*) {
		deletefile
	} filenameforall

is the code you describe, I think.

Low-level file operations in PostScript are nearly the
same difficulty as they are in C.  High level ones are even
easier, as my example shows.

Allen B (Who uses files from PostScript)
Newsgroups: comp.lang.postscript
From: phd1667@ultb.isc.rit.edu (P.H. Dixon)
Subject: Xerox 5775 Color Copier
Organization: Rochester Institute of Technology
Date: Mon, 25 Jan 1993 01:34:35 GMT

Hello,

I'm curious to know if anyone has experience with the Xerox Color Copier
with Fiery controller...I've been hearing good things about it.... I
also am interested in what level postscript it supports..

Thanks,

Philip


Email replies appreciated....
Organization: Arizona State University
Date: Thursday, 21 Jan 1993 11:18:26 MST
From: Ben Goren <AUBXG@ASUACAD.BITNET>
Newsgroups: comp.lang.postscript
Subject: Re: SUMMARY: How can I tell if a PS file is in color?
 <1993Jan21.143627.1@csc.canterbury.ac.nz>

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.

b&
Newsgroups: comp.lang.postscript
From: ab@nova.cc.purdue.edu (Allen B)
Subject: Re: question about restore
Organization: Purdue University
Date: Thu, 28 Jan 1993 18:53:21 GMT

In article <1993Jan27.214901.19529@software.org> marshall@software.org (Eric  
Marshall) writes:
> I do not understand why three is not defined after the restore. 
> The red book says that restore does not affect the contents of the
> dictionary stack, but there is obviously something more to it than
> that.  Could someone please explain this to me?

It doesn't affect the dictionary stack, it affects the
value of the dictionary (which is in virtual memory
(VM)).  The save and restore operators have to do with VM.

The dictionary stack gets changed when you do things like
begin and end.  You seem to have some confusion regarding
the terminology and probably about the workings of
dictionaries in general.

Briefly (I'm sure you can read a Red Book to fill in the
gaps), a dictionary is an associative array that
associates keys (usually names) with values.  When you
said "/three 3 def" that associated the literal name
three with the integer 3 in the current diciotnary.  The
current dictionary is the one on top of the dictionary
stack.

The dictionary object on the dictionary stack is a
composite object.  Its value (all of the key-value pairs
defined in it) is in VM.  When you did the restore, VM was put
back the way it was when you made the save object (via the
save operator).  That got rid of the definition of three,
but left the current dictionary on top of the dictionary
stack.

Does that make sense?  I'm not sure exactly what you didn't
get, but I think that'll help. 

ab
Newsgroups: comp.lang.postscript
From: pd@world.std.com (Peter F Davis)
Subject: Re: How to make a PostScript image transparent? - Help!
Organization: The World Public Access UNIX, Brookline, MA
Date: Wed, 27 Jan 1993 21:19:02 GMT

gerry@keele.ac.uk (G.D.Pratt) writes:

>Hi,
>I'm taking 2 PostScript files, one created from a Sunrasterfile with
>rastps and the other from pnmtops and cating them together. The first
>is a very light greyscale image and the second is a monochrome image
>with a lot of white. I want the first greyscale image to show thru' the
>white of the second monochrome image but it gets over written.

>The code where the first ends and the second starts is like this:-

>gsave
>540.0 810.0 scale
>/s 400 string def
>400 600 8
>[400 0 0 -600 0 600]
>{currentfile s readhexstring pop} image

>image data here...

>797C7E8284898B8D91929496999B9D...........
>grestore
>%!PS-Adobe-2.0 EPSF-2.0
>%%Creator: pnmtops
>%%Title: noname.ps
>%%Pages: 1
>%%BoundingBox: 15 90 597 671
>%%EndComments

>Prolog here...

>%%EndProlog
>%%Page: 1 1
>gsave
>15.3 90.5706 translate
>581.4 580.859 scale
>1074 1073 1
>[ 1074 0 0 -1073 0 1073 ]
>{ picstr readstring }
>image
>8000f9008000f9008000f9008000f9008000f9008000f9008000f9008000....

>Is there something I can put _before_ the second one starts to make it
>transparent? Or some alternative approach perhaps with PBMPLUS. Thanks.

Use imagemask instead of image for your second, bitonal image.  See the
PostScript Language Reference Manual for details.

-pd
From: zisk@adobe.com (Stephen Zisk)
Newsgroups: comp.lang.postscript
Subject: Re: Printing Images
Date: 22 Jan 93 15:50:33 GMT
Followup-To: comp.lang.postscript
Organization: Adobe Systems Incorporated

In article <1993Jan21.040931.3054@pdact.pd.necisa.oz.au>,
sfr@pdact.pd.necisa.oz.au (Stephen F. Rothwell) wrote:

> [stuff deleted]
> First question: Is the CCITTFaxDecode filter know to be very slow,
> or are we going about this the wrong way?
My first question: what printer are we dealing with here? I am
asking because I want to know what processor and whose implementation.
CCITT group 4 is somewhat slower to decode than group 3, in general.
This may be offset if you are using a very slow comm channel. You
did not say what printer port (or at what speed) you are using.
 
> [more stuff deleted]
> Second question: Is scaling of large images slow?
Scaling of large images is typoically much slower than simply copying
bits. Again, this depends on the processor and implementation. A slow
clock-speed 68000 with a cartridge implementation will be very slow,
while a high clock-speed RISC machine with an interleaved ROM will be
faster. A controller with a floating point processor, which may include
a faster integer multiply, also could be faster.

> [more stuff deleted]
> Third question: Does the CCITTFaxDecode filter have this bug?
I have not heard of this bug in Adobe implementations. That does
*not* guarantee it is not there, but on the printers I have access
to, I have sent many group 3 and 4 files, and have also used the
printer itself to encode files, and then sent them. The only bug
I have seen is an endianness problem with some group 3 images. This
was a certain piece of software which chose to order the bits within
a byte "backwards" relative to the printer. When I spoke with the
authors, they claimed that since CCITT is made for a serial stream,
there is nothing in the spec about what order bits should fill a
byte. I do not know if this is true.

Stephen Zisk (zisk@adobe.com)  Disclaimer: These are my personal views
Adobe Systems Incorporated     and do not represent the position of
Eastern Regional Office        Adobe Systems Incorporated.
24 New England Exec. Park
Burlington, MA 01803           They pay me but they don't muzzle me!
From: eichi@forty2.physik.unizh.ch (Stefan Eichenberger)
Newsgroups: comp.lang.postscript
Subject: Re: Postscript to HPGL
Keywords: HPGL postscript plotter
Date: 26 Jan 93 11:56:58 GMT
Organization: Physics Institute, University of Zuerich, Switzerland

In article <1241@racerx.bridge.COM> ken@racerx.bridge.COM (Ken Hardy) writes:
>In article <C18FLF.JpG@avalon.nwc.navy.mil> mcclung@archimedes.nwc.navy.mil (Scott McClung) writes:
>
>>on converting Postscript to HPGL, on a Sun Sparc 2. (4.1.x)  If you have
>>any such information, please E-mail your responses to me.  I will 
>
>This must be the F-est of all FAQs.  Read the FAQ posting.
>
>(I believe the stock answer is ghostscript, though the version I have...

Well, not having read FAQs: He wants HPGL, not HP-PCL! Plotters do not come
as matrix printers - that is until recently, until the invention of
bubble jet plotters :-)

>>You didn't mention why you would want to do such a thing.

One reason I can give you - not the original poster of the question:
One of my programs sorts through tons of data and produces ugly looking
PS output. I've a CAD program, which eats HPGL. That would allow me to
import the data, then edit the final looking of a plot before sending it 
to a PS printer again. MAy be an awful way. May be I should resort to
scissors and glue...

>Down with the categorical imperative!  Given that you feel so strongly
>about it, why don't _you_ buy him one? ;-)  BTW, what's a PS cartrige

I volunteer to take another one :-)

-- 
----------------------------------------------------------------------------
iNet:      eichi@physik.unizh.ch                 Stefan Eichenberger
UUCP:      ...mcsun!chx400!forty2!eichi          Physics Institut
BITNET:    K807817@CZHRZU1A                      University of Zurich
From: malle@rpksun1.mach.uni-karlsruhe.de (Bernhard Malle)
Newsgroups: comp.lang.postscript
Subject: {(%%[|0|]%%)=print flush}
Date: 25 Jan 1993 09:34:34 GMT
Organization: Univerity of Karlsruhe (FRG)
Distribution: world
NNTP-Posting-Host: rpksun2.mach.uni-karlsruhe.de

Hello,

Is there any PostScript Guru that knows the meaning of the following
statement:
{(%%[|0|]%%)=print flush}

This statement appears in some Macintosh-Postscript-files, that I have
created by printing a Macintosh-document to a file instaed of
printing it directly. I'm not sure, whether this statement is the reason for
my troubles, but since the moment, I have included these Postscript-files
into my LaTeX-document via psfig (after using m2u and pslinewrap and bbfig),
our printer can't print more than 3 pages at a time. (error message is something
like illegal restore).

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

Does anyone knows how to avoid this command?

Bernhard

malle@rpksun4.mach.uni-karlsruhe.de 

Newsgroups: comp.lang.postscript
From: goossens@dxcern.cern.ch (Michel Goossens)
Subject: public domain type1 PostScript fonts
Summary: Looking for public domain type1 PS fonts in pfa/pfb format
Keywords: postscript type1 font
Organization: CERN European Lab for Particle Physics
Date: Sun, 24 Jan 1993 12:06:08 GMT


Dear PostScript fans,

I am loooking at the various kinds of public domain PostScript type 1
fonts, one can find on the internet.

Using archie I could find the mac archive at umich (and several places
mirroring that archive), but all those sites carry the fonts in mac
Binhexed, compacted (sit, cit,...) formats. As we are using Unix
platforms, (on top of hundreds of Mac's and PC), we need to generate the
pfa or pfb forms of those fonts. As I would not like to spend several
hours before a mac to unpack those hundreds of fonts, to decide which
ones are worthwhile (please do not flame me for not bying professional
fonts, we have bought for several 1000 USD worth of fonts from Adobe),
it would be nice to know whether some site does not carry them in pfa
or pfb format already.

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 |
|------------------------------------------------------------------------|
Newsgroups: comp.lang.postscript