HDTenEightyP/NetNews huggingface dataset:
From: peter@ferranti.com (peter da silva)
Subject: Re: Justifying strings, how??
Organization: Xenix Support, FICC
Date: Wed, 23 Dec 1992 20:09:12 GMT

In article <1992Dec23.082549@eklektix.com> rcd@raven.eklektix.com (Dick Dunn) writes:
> That is, it may appear that stringwidth is cheap under normal circumstances,
> but if you didn't do corresponding show's afterward, it might look more
> expensive.

Agreed, but we're doing this anyway.

> It's easy for the simple case, hard for the semi-sophisticated case, and
> damned-near-impossible for the general case.

I'll buy that, but some meatball AI (clever choice of algorithms) on the
host side can reduce these to cases where the tradeoffs are clearer.

> Is the cost of parsing and managing it separated from the cost of trans-
> mitting it?

Should it be? If the file is physically larger if the host does the
details of the spacing, and this slows things down, does it matter whether
it's the parsing or the transmission?

> >Personally, I would prefer it if programs made decisions like this as late
> >as possible, so I can print a document with a different font (say, my printer
> >doesn't handle Palatino and the company is too cheap to buy a softfont)
> >without screwing things up too badly.

> This would be nice, and it works for simple documents, but how far can you
> carry it?

Pretty far... certainly typical technical documentation is going to be
better off.

> My experience is that it works for *very* simple stuff, but you
> hit the wall before you get all you want.  Here's where it goes:  If you
> chnage the font, you change the line breaking, which requires hyphenation
> on the printer side.

Typically I'm switching between Palatino and Times or New Century Schoolbook,
which are fairly close... close enough that it's only mildly annoying when
I print man pages. I wouldn't want to do it to Courier or title fonts, but I
wouldn't want to set running text in them anyway. Currently, I get soething
like:

	The frobnitz command generates      a five sided    polygon
	in the  interior of the    circle,  if you are using the
	deep mode...

I can get better output from nroff! Just proportionally spacing the words in
the line without any further modification would make the difference between
soething I can use and soething that gives me headaches.

(ideally, the docs should be raw text but that seems to have fallen out of
 favor)

It's like the difference between a program that uses hardcoded paths and one
that uses environment variables. Sure, it takes a little longer to look up
environment variables, but the result is a higher quality program.
-- 
Peter da Silva                                            `-_-'
Ferranti International Controls Corporation                'U` 
Sugar Land, TX  77487-5012 USA
+1 713 274 5180                            "Zure otsoa besarkatu al duzu gaur?"
Newsgroups: comp.lang.postscript
From: Mueller@ifwpc5.fertigungstechnik.uni-stuttgart.de (Karl Mueller)
Subject: Looking for converter ps -> gem
Organization: University of Stuttgart, Germany
Date: Tue, 29 Dec 1992 09:11:15 GMT
X-Posted-From: ifwpc5.fertigungstechnik.uni-stuttgart.de
NNTP-Posting-Host: sol.ctr.columbia.edu

Hi there,

like many people before I am also looking for a program which offers the
possibility to convert postscript-files in any format (e.g. GEM) which is 
readable by PC programs (e.g. CorelDraw).

Thanks in advance for your help

Marcel
From: rrw@.cse.nau.edu (Bob Wier)
Newsgroups: comp.lang.postscript
Subject: PS holiday files?
Date: 31 Dec 92 22:03:52 GMT
Organization: Northern Arizona University, Flagstaff AZ
Originator: rrw@sunset.cse.nau.edu

I wonder if anyone can point/post some PS files with a holiday
theme.  I've gotten the Christmas.cards file, but other than that
and some snowflakes, I can't seem to find anything. I've searched
Archie for all the likely keywords I can think of, but not turned
up any other files.

Please drop me a note or post here.

THANKS

Bob Wier

  ---------- insert favorite standard disclaimers here ----------
                   College of Engineering
      Northern Arizona University, Flagstaff Arizona
  Internet: rrw@naucse.cse.nau.edu | WB5KXH | fax:602 523 2300
Newsgroups: comp.lang.postscript
From: peter@ferranti.com (peter da silva)
Subject: Re: printing a range of pages from a postscript file
Organization: Xenix Support, FICC
Date: Wed, 23 Dec 1992 00:48:09 GMT

In article <1h7flvINNjc1@tamsun.tamu.edu> vamsee@abgen.tamu.edu (Vamsee Lakamsani) writes:
> I have an 80 page postscript document and I need only pages 50-60,75,
> 78 and 80 (this is just a silly example). Is there someway that I can tell
> the printer to print only these pages?

Something like:

awk 'BEGIN { printing=1 }
/^%%EndSetup/ { print; printing=0 }
/^%%Trailer/ { printing=1 }
/^%%Page: 50 / { printing=1 }
/^%%Page: 60 / { lastpage=1 }
/^%%Page: 75 / { printing=1; lastpage=1 }
/^%%Page: 78 / { printing=1; lastpage=1 }
/^%%Page: 85 / { printing=1; lastpage=1 }
/^%%Page/ { if(lastpage) printing=0 }
printing==1 { print }' documents | lp

> The printer is an Apple LaserWriter 2.
> We use "/usr/bin/lp". Is there some software for extracting only these 
> pages from the document ?

Yes. It basically does the operation listed above.
-- 
Peter da Silva                                            `-_-'
Ferranti International Controls Corporation                'U` 
Sugar Land, TX  77487-5012 USA
+1 713 274 5180                            "Zure otsoa besarkatu al duzu gaur?"
From: yurkon@rudolf.nscl.msu.edu (John Yurkon)
Newsgroups: comp.lang.postscript
Subject: ClipArt
Keywords: ClipArt
Date: 22 Dec 92 19:02:53 GMT
Reply-To: yurkon@rudolf.nscl.msu.edu (John Yurkon)
Organization: National Superconducting Cyclotron Lab.
NNTP-Posting-Host: rudolf.nscl.msu.edu


I've been looking for an archive of clipart in postscript format.  Can
anyone tell me if one exists?  Or failing that, what commercial source
would you suggest?
	Thanks,
		John
From: Mueller@ifwpc5.fertigungstechnik.uni-stuttgart.de (Karl Mueller)
Newsgroups: comp.lang.postscript
Subject: Converter ps -> gem (CorelDraW)
Date: 29 Dec 92 09:05:25 GMT
Organization: University of Stuttgart, Germany
X-Posted-From: ifwpc5.fertigungstechnik.uni-stuttgart.de
NNTP-Posting-Host: sol.ctr.columbia.edu

Hi there,

like many people before I am also looking for a program which offers the
possibility to convert postscript-files in any format (e.g. GEM) which is 
readable by PC programs (e.g. CorelDraw).

Thanks in advance for your help

Marcel
Newsgroups: comp.lang.postscript
From: Robert_La_Ferla@hot.com
Subject: (HELP) How does one create a gold tone in PostScript?
Reply-To: Robert_La_Ferla@hot.com
Organization: Hot Technologies
Date: Mon, 28 Dec 1992 00:04:43 GMT

How does one create a gold tone in PostScript?  I realize that gold is  
a metal and to create it you need to either render it or use a gold ink  
but I'm looking for a simpler way to achieve the same effect.  I have  
some artwork containing gold arcs and lines which will be printed on a  
Canon CLC color laser printer.  Note that the artwork is pure  
PostScript and was not created using an application.

Is there a combination of CMYK values that approximates a gold  
tone?  Is there a sample of a rendered gold image that I could use as  
a fill pattern?  How would I do the latter?

Robert La Ferla
Hot Technologies
Newsgroups: comp.lang.postscript
From: pg@sanitas.stortek.com (Paul Gilmartin)
Subject: Re: Filtering ^D from PS files
Organization: Storage Technology Corp.
X-Newsreader: TIN [version 1.1 PL7]
Date: Thu, 31 Dec 1992 00:15:58 GMT

Richard P. Daley (rpd@twinkletoes.sbi.com) wrote:
: I understand that some PC software is in the habit of creating Postscript files
: which contain ^D characters, to make printing via serial connections work.
: I have various software packages on my SPARCStation which print, fax, and view
: Postscript files, and some of these packages don't like finding ^D characters
: imbedded in the Postscript.  I'd like to use a simple filter to get rid of the
: ^D characters.

It may help to concatenate your PostScript file after the following:

%!
<04> cvn {} def

which redefines the ^D as a no-op to PostScript.  You might also
want to try a similar trick for the ^Z with <1A> instead of <04>.
This should preserve those characters in binary images.
From: jlv@ebt.com (Jeffrey Vogel)
Newsgroups: comp.lang.postscript
Subject: Changing the Font Encoding
Date: 23 Dec 92 20:54:59 GMT
Organization: EBT
Originator: jlv@ebt-inc


I have successfully written PostScript code to change the encoding of
a font vector to ISO-8859.  However, the font metric files which I 
have gotten from adobe.com seem to contain metrics only for the
"standard encoding".  Does anyone know where/how I can obtain
font metrics for ISO-8859 encoding...


-- 
--------------------------------------------------------------------
| Jeff Vogel                    |                                  |
| jlv@ebt.com                   |  EBT Inc.                        |
| uunet!ebt-inc!jlv             |  One Richmond Square             |
From: black@ll.mit.edu (Jerry Glomph Black)
Newsgroups: comp.lang.postscript
Subject: LaserWriter weirdness:  "bind" command illegal?
Date: 22 Dec 92 03:33:49 GMT
Organization: Yeh. Right.

We have numerous LaserWriters on our UNIX network, using gatorboxes as
bridges.  No problems for months.  Recently an OLD, ORIGINAL Apple LaserWriter
(not PLUS, not IINT, etc.) has rejected most of the postscript stuff I send it,
with the error something like: illegal command: bind.  This is megaweird, my 
suspicion is that somebody downloaded & saved some nasty dictionary crap into
it, which it has retained.  Is there a way to check, or do a massive reset
to this beastie?

(Please email guesses to black@LL.MIT.EDU.... Thanks!)
From: yan@integ.frec.bull.fr (Yves A. Nicollet)
Newsgroups: comp.lang.postscript
Subject: Looking for PPD files
Date: 21 Dec 92 17:18:11 GMT
Reply-To: Y.A.Nicollet@frec.bull.fr
Organization: Bull (UMSO/Echirolles)

Hi there!

I am looking for the PPD files for Agfa P400PS and for TI OmniLaser 2106.
Can anyone mail them to me?

Thanks.

-- 

Yves A. Nicollet - Bull Un*x Center - Echirolles - France    \  / /\  |\  |
Email: Y.A.Nicollet@frec.bull.fr - Phone: +33 76 39 77 85     \/ /__\ | \ |
______________________________________________________________/ /    \|  \|
There's more than one way to skin a cat:
   Way number 32 -- Wrap it around a lonely frat man's pecker.
Newsgroups: comp.lang.postscript
From: uad1077@dircon.co.uk (Ian Kemmish)
Subject: Re: NeWS
Date: Tue, 22 Dec 1992 19:33:02 GMT

peter@ferranti.com (peter da silva) writes:
>Unfortunately, Sun killed NeWS and doesn't seem interested in doing anything
>smart (like releasing it under an X-like license) to revive it.

This morning's junk mail included a catalogue from a bookseller which
reminded me that NeWS (well, xnews) is officially part of System V r 4,
and therefore not only AT&T but a lot of other people have it too.
Given the way standards seem to devolve, maybe people will start
compiling this strange beast when they port UNIX to their products,
now that Sun have dropped it:-)

-- 
Ian D. Kemmish                    Tel. +44 767 601 361
18 Durham Close                   uad1077@dircon.co.uk
Biggleswade                       uknet!dircon!uad1077
Beds SG18 8HZ United Kingdom
Newsgroups: comp.lang.postscript
From: ghn@keps.com (Gary Newman)
Newsgroups: comp.lang.postscript
Subject: Test Pattern (radial lines)
Summary: looking for postscript sources for test patterns
Date: 29 Dec 92 14:25:17 GMT
Organization: KEPS Inc.

I'm looking for postscript sources for that radial line test pattern
that you see in all the printer tests.  It usually is a binary pattern
where the pattern alternates black and white according to radial angle
like this:

	black_color = (angle modulo R) > (R/2) ? 1 : 0

in C sytax.

Anyone know of a source for this?

Thanks


====================================================================
Gary Newman				Voice: (508) 670-6668 
Kodak Electronic Printing Systems	Fax:   (508) 670-6554
164 Lexington Road			email: gnewman@keps.com
Billerica, MA   01821-3984
Newsgroups: comp.lang.postscript
From: bill@leeweyr.sccsi.com (Bill Lee)
Subject: Re: recycle logos in postscript
Organization: Lee Aerie
Date: Fri, 25 Dec 1992 17:30:28 GMT

In article <1992Dec24.153625.29964@Rapnet.Sanders.Lockheed.Com> cupak@rapnet.sanders.lockheed.com (John J Cupak Jr CCP) writes:
>
>Many thanks for all of you who sent me the recycle logos in postscript.

	(All of the PS deleted)

John:

Thanks a lot for the logos! I have been wanting one for some time now.

(O.k., This is a nit.)

However, have you noticed that most of them are not quite right?

I'm sitting here right now with a can of Diet Coke in front of me
with a recycle logo on it. Of the three "arrows" in the logo, two
are curving from back-to-front while the third (lower right) is
from front-to-back.

(O.k., so what gives Coke the right to say what's right 8-{)

Recycle3 has the distinction among the three arrows although it
has the top arrow as the front-to-back instead of the lower-right.

BTW, recycle6 came through to me with Jon Monsarrat's wolf head in it
instead of a recycle logo.

Regards,

Bill Lee

Newsgroups: comp.lang.postscript
From: Nono Kusuma
Newsgroups: comp.lang.postscript
Subject: A way to convert unix .ps file to editable adobe illustrator1.1 mac?
Date: 21 Dec 92 23:03:47 GMT
Reply-To: kusuma@delphi.umd.edu
Followup-To: comp.lang.postscript
Distribution: usa
Organization: University of Maryland, Physics Dept.


 Hi there,
Is there anyway to convert any unix ps file to  editable adobe illustrator file
on the MAC?  It can be either a commercial package or home-made coding to edit
the postscript text header.

Any information will be appreciated.

Thanks---Nono Kusuma
Newsgroups: comp.lang.postscript
From: bill@leeweyr.sccsi.com (Bill Lee)
Subject: Re: Break down drawing larger than pagesize ?
Organization: Lee Aerie
Date: Tue, 22 Dec 1992 02:53:20 GMT

In article <1992Dec21.171203.29295@cs.brown.edu> jgm@cs.brown.edu (Jonathan Monsarrat) writes:
>
>>Has anyone ever done a program (be it postscript or a tool creating
>>postscript), that can draw on an (infinitely large) virtual page, then
>>break it down into an acceptable size (say the printer's default),
>
>Here's a hack that may be of use to you. I've used it to create
>posters 18 feet high! :)
>
>Right now it's set to print "normal size" -- just one page.
>
>-Jon
>
	(Another of Jon's Obfuscated PostScript figures deleted) 8-{)


Has anybody been able to answer this question in general?

I do not believe this can be done in most PostScript interpreters for an
ARBITRARY image. 

The basic premise of the example in the Blue Book is to build a procedure
that captures the page's imaging code, then repetitively translate
the origin around and re-image the entire picture but only printing
a single page-worth of it.

Obviously this works. That is until the PostScript code which represents
the image gets so large that it overflows the stack, or some other 
implementation limit is reached. Then it DOESN'T work.

My own experience is exactly as described. I was trying to tile a picture
generated by Cadre TeamWork but the image was bigger than the stack could
hold to create the procedure. I had to resort to a program to read the
PostScript code and break it up into many (50-100) smaller procedures, and 
then re-image for each translate position. 

Yes, this worked. But it took explicit knowledge of the PS emitted by TeamWork.
Not applicable to an ARBITRARY piece of PS code.

Comments???

Regards,

Bill Lee
Newsgroups: comp.lang.postscript
Subject: Reading postscript on PC.
From: ioffe@ivory.bgu.ac.il (Ioffe Nicolay)
Date: Mon, 21 Dec 1992 00:47:40 GMT
Organization: Ben-Gurion University, Beer Sheva, Israel


Hello netters!
Maybe you can solve my problem.
I've viewed some .ps file with xpsview on Silicon station in our lab.
After I copied it and tried to view it with CorelDraw in Windows(on Pc).
I used filter for Adobe EPS(since there wasn't any other filter) and got
the message : Wrong format.
Maybe someone can point me how can I read PostScript on PC, an
How to print it on HP LaserJet IIP, which is not Postscript printer.

Nick
From: Jeff@digtype.airage.com (Jeff Wasilko)
Newsgroups: comp.lang.postscript
Subject: Compressed TIFFs and Postscript
Date: Tue, 29 Dec 92 21:52:04 EST
Organization: Univ of Fnord; Roslyn's Cafe Div.
Reply-To: jeff@digtype.airage.com
Distribution: world
X-Mailer: uAccess - Macintosh Release: 1.6v1


How are LZW-compressed TIFFs handled in Postscript (I'm thinking of
a compressed TIFF placed in a Quark XPress document)?

How is the image uncompressed? Is the decompression routine included
in the postscript, or can the PS interpreter deal with the compressed
image directly? How fast will the decompression run on a Linotype
RIP 4 (a 68020)?

I'm wondering if the savings in disk storage and transfer time (the
RIP 4 is on LocalTalk) will be lost in decompression time at the
RIP?

Thanks,

Jeff

--
Jeff's Oasis at Home.                   Jeff can also be reached at work at:
(Remember: The Secret Service is Neither.)              jwasilko@airage.com
"A system admin's life is a sorry one.  The only advantage he has over
Emergency Room doctors is that malpractice suits are rare.  On the other
hand, ER doctors never have to deal with patients installing new versions
of their own innards!"  -Michael O'Brien
Newsgroups: comp.lang.postscript
From: pd@world.std.com (Peter F Davis)
Subject: Re: problem manipulating binary data in postscript
Organization: The World Public Access UNIX, Brookline, MA
Date: Tue, 29 Dec 1992 14:06:07 GMT

cahoon@femto.cs.umn.edu (Forrest Clinton Cahoon) writes:

>I'm trying to write some postscript which will color a hexagonal grid,
>reading the color data from the end of my ps file.  I'm reading one
>byte for each hexagon, then doing some bit-twiddling to get values to call
>setrgbcolor with before filling the hexagon.

>I've got a version using "read" which works, but since "read" treats my
>newline characters as valid binary data, it's not entirely
>satisfactory.

>What I want to use is "readhexstring", but since what this reads in is
>treated as a string rather than an integer, I'm having trouble.  I
>need to convert my one-byte string into an integer having the same
>binary representation.  I don't want "cvi", because this parses a
>string which represents an integer to us humans, and puts that value
>on the stack -- cvi would read (1) and put the integer value 1 on the
>stack, but what I need would take (1) and put the integer value 49 --
>the ASCII value of the character 1 -- on the stack.

Use 'get' to get any byte from the string as an integer:

	(A) 0 get

will put 65 on the stack.
From: veloso@husc9.harvard.edu (Manuel Veloso)
Newsgroups: comp.lang.postscript
Subject: Re: Compressed TIFFs and Postscript
Date: 30 Dec 92 19:35:20 GMT
Article-I.D.: husc3.1992Dec30.143521.18903
Distribution: world
Organization: Harvard University
X-UserAgent: Nuntius v1.1.1d11
X-XXMessage-ID: <A76765E0F0011817@humcr3.harvard.edu>
X-XXDate: Wed, 30 Dec 92 14:42:40 GMT

In article <0105002B.mcu7to@digtype.airage.com> Jeff Wasilko,
Jeff@digtype.airage.com writes:
>How are LZW-compressed TIFFs handled in Postscript (I'm thinking of
>a compressed TIFF placed in a Quark XPress document)?
>
>How is the image uncompressed? Is the decompression routine included
>in the postscript, or can the PS interpreter deal with the compressed
>image directly? How fast will the decompression run on a Linotype
>RIP 4 (a 68020)?

For level 1, the TIFF is uncompressed by XPress (then clipped & 
re-rezzed, btw) and send. Level 2 can decompress them, but I'm not sure 
if Quark does that yet.

>I'm wondering if the savings in disk storage and transfer time (the
>RIP 4 is on LocalTalk) will be lost in decompression time at the
>RIP?

Yes, assuming it uses level 2 for decompression, no if it doesn't.

Manuel
From: cdh@eng.cam.ac.uk (Chris Horne)
Newsgroups: comp.lang.postscript
Subject: Re: HPGL to PS conversion program ?
Date: 21 Dec 92 09:08:49 GMT
Reply-To: cdh@eng.cam.ac.uk
Organization: University of Cambridge

Yes, we have an hpgl2ps filter on our Suns. I found it on archie - check for your
nearest site.

I seem to remember that not all commands are included, but it might do as a start.

Chris.




__
Chris Horne BEng ACGI | Tel: +44 223 332738 | University of Cambridge 
cdh@eng.cam.ac.uk     | Fax: +44 223 332662 | Department of Engineering

"Today must be Thursday. I never could quite get the hang of Thursdays"
From: bill@solaria (Bill Neisius)
Newsgroups: comp.lang.postscript
Subject: Re: behandler.ps .... actually used it ? Useful ?
Date: 28 Dec 92 06:59:12 GMT
Reply-To: bill@solaria.hac.com
X-Newsreader: TIN [version 1.1 PL6]

H.Shrikumar (shri@unreal.cs.umass.edu) wrote:
: Nothing happened when I sent it with a PS file with a known typo
: to a DEC LN03 ScriptWriter. Hmm ... bug in the debugger ! :-)
: 
:   So I got talking to Fred, to whom this utility is tracable, when
: I learnt that each PostScript printer has different names for the
: server dictionary etc.  So in general behandler.ps cannot be
: general purpose.

The LN03 ScriptWriter uses a "non-standard" password for the serverdict:
(LN03R) instead of 0 in "normal" printers.  Change the first 0 in
behandler.ps to (LN03R) and it might work....

Bill Neisius
bill@solaria.hac.com
From: veloso@husc9.harvard.edu (Manuel Veloso)
Newsgroups: comp.lang.postscript
Subject: Re: Filtering ^D from PS files
Date: 30 Dec 92 19:38:25 GMT
Article-I.D.: husc3.1992Dec30.143827.18904
Distribution: world
Organization: Harvard University
X-UserAgent: Nuntius v1.1.1d11
X-XXMessage-ID: <A76766987B021817@humcr3.harvard.edu>
X-XXDate: Wed, 30 Dec 92 14:45:44 GMT

In article <1602@twinkletoes.sbi.com> Richard P. Daley,
rpd@twinkletoes.sbi.com writes:
>Can anyone tell me whether it's safe to strip out all ^D characters from
an
>arbitrary Postscript file?  Is it possible for a Postscript file to have
>^D characters that can't be stripped out?  For example, is there a way to
>imbed bitmaps or other binary data using non-printable characters?

I tried to do this once because binary images would inevitably have a 
ctrl-d in them. Stripping them out doesn't work, nor does converting 
them. And on the mac, there's no reliable, simple way to tell if the 
ctrl-d is part of a binary image. But if the ctrl-d's are in a certain 
place (before %%BeginDocument or after %%EOF) then they're probably safe 
to strip.

Manuel
From: barnett@grymoire.crd.ge.com (Bruce Barnett)
Newsgroups: comp.lang.postscript
Subject: Re: (HELP) How does one create a gold tone in PostScript?
Date: 30 Dec 92 12:03:46 GMT
Reply-To: barnett@crdgw1.ge.com
Organization: GE Corp. R & D, Schenectady, NY

Another way to get Gold is to 
	1) print the area you want to be gold, but use all black
	2) attach special gold foil to your page
	3) run the page thru your Laser printer without printing anything.
	4) remove the gold foil. The gold will adhear to the black ink
	   of your page when it passed thru the fuser.
Paper Direct (1-800-272-7377) sells the gold foil along with several
other colors. 
--
Bruce Barnett <barnett@crd.ge.com> uunet!crdgw1!barnett