HDTenEightyP/NetNews huggingface dataset:
From: dsmith@aa.cad.slb.com (J. Daniel Smith)
Newsgroups: comp.lang.postscript
Subject: How to tell if color PS printer?
Summary: How do I know if I'm printing on a color PostScript printer
Keywords: color
Date: 1 Oct 92 03:26:11 GMT
Organization: Applicon; Ann Arbor, MI (USA)

How can I tell with absolute certainty if a printer can print in
color?  With Level 1 PostScript a solution that probably almost always
worked was to check for something like "setcmykcolor" since that
operator was only available on color printers.  However, using Level 2
PostScript, "setcmykcolor" is supported in all implemtations; its up
to the rendering mechanism to determine how best to render the color.

My situation is this:  I have a company logo that uses just one color.
On a color output device, I want to use the correct color; however on
a B/W device, I want to use black and not some shade of gray.

Thanks for any info,
   Dan
-- 
=========================================================================
J. Daniel Smith                           dsmith@ann-arbor.cad.slb.com
Applicon Schlumberger                     dsmith@aaaca1.sinet.slb.com 
Ann Arbor, Michigan (USA)                 ...!uunet!sharkey!applga!dsmith
From: dmb@lyapunov.ucsd.edu (Doug Brownell)
Newsgroups: comp.lang.postscript
Subject: PS --> Autocad conversions?
Date: 30 Sep 1992 18:34:33 GMT
Organization: University of California, San Diego
NNTP-Posting-Host: lyapunov.ucsd.edu
X-Newsreader: Tin 1.1 PL3

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
From: fyu@shanghai.oracle.com (Francis H. Yu)
Newsgroups: comp.lang.postscript
Subject: PostScript-to-EPSON 24 pin filter wanted
Date: 28 Sep 92 15:52:46 GMT
Article-I.D.: oracle.1992Sep28.155246.22351
Organization: Oracle Corporation
Originator: fyu@139.185.34.2
X-Disclaimer: This message was written by an unauthenticated user
              at Oracle Corporation.  The opinions expressed are those
              of the user and not necessarily those of Oracle.

I want to use my EPSON LQ-850 as a PostScript previewer.  Is there a public-
domain PS->EPSON 24 pin converter?  Thanks.
-- 
Francis H. Yu
Oracle Corporation, 500 Oracle Parkway, Box 659504, Redwood Shores, CA  94065
Email:  fyu@shanghai.oracle.com  Voice:  (415) 506-3129  FAX:  (415) 506-7103
From: cjmchale@dsg.cs.tcd.ie (Ciaran McHale)
Newsgroups: comp.lang.postscript
Subject: Re: Boundingbox???
Date: 2 Oct 92 11:45:04 GMT
Organization: DSG, Dept. of Computer Science, Trinity College Dublin

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


Ciaran.
-- 
Ciaran McHale                                                             ----
Department of Computer Science, Trinity College, Dublin 2, Ireland.       \bi/
Telephone: +353-1-7021539 FAX: +353-1-772204 email: cjmchale@dsg.cs.tcd.ie \/
From: bradlee@cg-atla.UUCP (Rob Bradlee)
Newsgroups: comp.lang.postscript
Subject: Questions about error handling in "system" PS software
Keywords: error
Date: 25 Sep 92 17:18:28 GMT
Distribution: comp
Organization: Agfa Compugraphic Division, Wilmington, Mass. USA

I've started maintaining a piece of "system" PostScript that we include 
with our RIPs.  This code has very careful error handling which has raised
serveral questions in my mind.

	1) Glenn Reid mentions someplace in "Thinking in PS" that 
		/routine errordict /typecheck get exec 
	   is bad form.  In his example on pg. 139 he uses the form
		errordict begin (concatenate) typecheck end

	Would Glenn or any one else care to elaborate on the relative 
	benefits of using begin&end vs get exec?


	2) I see in Glenn's above example and in some of our code that 
	   I'm checking that the input is validated at the beginning
	   and if there is an error then one of the errordict routines
	   is called which has the effect of jumping out of the routine.
	   Therefore Glenn doesn't bother to put the rest of the code
	   in a ifelse clause.  For example:

			dup type /arraytype ne {
				errordict begin (concatenate) typecheck end
				} if
			rest of code here

	versus:


			dup type /arraytype ne {
				errordict begin (concatenate) typecheck end
				} {
				rest of code here
				} ifelse

	I much prefer the former example because it's much simpler, but
	are there any unknown consequences?

	3) Finally, one technique of validating a routines input is to
		{ dup } stopped
	   Is this any better than 
		count 1 ge

-- 
Rob Bradlee  w:(508)-658-5600 X5153 
Agfa Corporation.                      ...!{decvax}!cg-atla!bradlee
200 Ballardvale St.                        bradlee@cg-atla.agfa.com
Wilmington, Mass. 01887
From: clewis@ferret.ocunix.on.ca (Chris Lewis)
Newsgroups: comp.lang.postscript
Subject: Re: Help!
Date: 7 Oct 92 02:56:08 GMT
Organization: Elegant Communications Inc., Ottawa, Canada

In article <1992Oct6.033843.8566@gn.ecn.purdue.edu> mfleeter@gn.ecn.purdue.edu (Michael S Fleeter) writes:
>I hope someone can help me.  I have a program that was written
>by someone else that uses postscript commands.  When I send the
>files to the printer, I only get listings of the files; no 
>graphics.  

You probably have a "smart spooler" that automatically
detects ASCII and converts it to postscript.  Try prepending
%! as the first line.  %! (should) indicate that the following
stuff is already postscript.
-- 
Chris Lewis; clewis@ferret.ocunix.on.ca; Phone: Canada 613 832-0541
Psroff 3.0 info: psroff-request@ferret.ocunix.on.ca
Ferret list: ferret-request@ferret.ocunix.on.ca
From: usenet@inesc.pt (USENET News System)
Subject: Problem printing PS document
Organization: INESC - Inst. Eng. Sistemas e Computadores, LISBOA, PORTUGAL
Date: Mon, 28 Sep 1992 18:58:25 GMT

	I have the following problem:
		I have some documents written in postscript, and I am trying
to print them, but they are not coming out at all.
		The documents are from an electronically distributed magazine, 
and some issues come out perfect, but others just don't come out. 
		The OS is Unix, and I use lpr -Pps <filename> to print.
	I get no errors during this, and when I do lpq to see the queue, it
reports that it IS printing, which is obviously not true.

	I would appreciate any suggestion as to the nature of the problem,
preferably through email, as I don't usually read this newsgroup.

Joao
	jota@iguana.inesc.pt

----
 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: val@news.ccutah.edu (Val Kartchner)
Subject: X-window PS for VMS?
Organization: University of Utah Computer Center
Date: Wed, 30 Sep 92 20:56:26 GMT

I'm currently developing a Postscript program for printing a report.  I will
also be doing other reports in the future.  However, the only Postscript
interpreter that I have available is a printer.  I've already printed a third
of a ream (sp?) of paper, and I do hate killing trees.

I would like to use the X-station that is sitting on my desk as the output
device until I want a hardcopy output.  I've found Ghostscript (GNU's
Postscript interpreter) on athena-dist.mit.edu, but I don't have the time nor
the inclination to port it.  (I've tried to port GNU stuff before, you see.)

Would someone happen to know a site from which I may ftp an executable for
VMS?  (No comments on my choice of platform, please.  That's not the issue.)
In case that is not available, would someone know where I could get the C
source code already ported for VMS?

				Thanks in advance,
					-=:[ VAL ]:=-

P.S.: Followup if you think it's relevant, or send mail to me (at the address
      in my signature).  I'll followup if I get significant replies.
--
|===== The previous was my opinion -- val@csulx.weber.edu =====///============|
| "AMIGA: The computer for the creative mind." (tm) Commodore /// Weber State |
| "Macintosh: The computer for the rest of us."(tm) Apple \\\///  University  |
|============== "I think, therefore I AMiga." =============\///=== Ogden, UT =| 
Xref: sparky comp.lang.postscript:4842 comp.fonts:2862
From: churchh@ut-emx.uucp (Henry Churchyard)
Newsgroups: comp.lang.postscript,comp.fonts
Subject: Re: Need Adobe Type 1 IBM PC Graphics Character Set
Summary: IBM courier font, reencode
Date: 27 Sep 92 03:36:25 GMT
Followup-To: comp.lang.postscript, comp.fonts
Organization: The University of Texas at Austin, Austin, Texas

In article <farmer.83@main.mndly.umn.edu>, farmer@main.mndly.umn.edu (David Farmer) writes:
> I need an Adobe Type 1 Font version of the IBM PC Graphics Character Set.
> Mono-spaced, including lines and all symbols.  
 
  Actully the best solution would be to get the IBM courier type 1
font, which was made public by IBM.  It's available as file
tex/courier.tar.Z on ftp.urc.tue.nl (131.155.2.79).  You'd have to
reencode the font to get the IBM-PC code-page 437 character mapping,
but all the characters are already there in the font (sometimes with
strange character names; for example the line drawing characters have
been given the names /SF010000 to /SF540000 -- there's actually a
table of these /S??????? names in the back of the UNICODE book by
Addison-Wesley).  
--
         --Henry Churchyard     churchh@emx.cc.utexas.edu
From: brown@vidiot.UUCP (Vidiot)
Newsgroups: comp.lang.postscript
Subject: Re: NeWSprint help
Date: 2 Oct 92 06:31:29 GMT
Reply-To: brown@vidiot.UUCP (Vidiot)
Organization: Vidiot's Hangout

In article <1acrjhINNdeh@network.ucsd.edu> dmb@lyapunov.ucsd.edu (Doug Brownell) writes:
<
<I have a dumb question.  I have a number of Type 1 fonts
<which won't print on our Sparc-printers, generating the error
<message 'command "eexec" undefined'.  The message is somewhat
<more complicated than that, but I'll refrain from posting
<more unless asked.  Is this due to an older version of NeWS,
<or is it intrinsic to Openwin?  The error page indicated I'm
<using NeWSprint 1.0 fcs, Openwin 2, NeWSprint interpreter
<version 2.1 .  I'd really like to be able to use these fonts!

Yep, you need to upgrade to NeWSprint 2.0.  Version 1 doesn't work with
downloaded fonts, version 2 does.  I know, I've downloaded the Crillee font
to the SPARCprinter to use with my ST:TNG Program Guide.
-- 
      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: churchh@ut-emx.uucp (Henry Churchyard)
Newsgroups: comp.lang.postscript
Subject: Re: Need "handwriting-like" PostScript font
Summary: Kelly Brown
Date: 3 Oct 92 00:35:31 GMT
Distribution: comp
Organization: The University of Texas at Austin, Austin, Texas

In article <JIT.92Sep28012028@Xenon.stanford.edu> jit@Xenon.stanford.edu (Satyajit Nath) writes:
>    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" ...

  The Kelly Brown type 1 font recently placed on wuarchive is kind of cute...
--
         --Henry Churchyard     churchh@emx.cc.utexas.edu
Newsgroups: comp.lang.postscript
From: it1@ra.msstate.edu (Tim Tsai)
Subject: quarto
Organization: Mississippi State University
Date: Tue, 6 Oct 1992 07:03:30 GMT

  I have a postscript file that has this annoying "quarto" header
attached to it.  The effect is that 4 text pages are printed on one
piece of paper.  The resulting output is readable but rather annoying.
Can somebody help me remove this restriction?  Thanks..

  PS:  I tried removing the only the header, and that doesn't
seem to help (file went to the printer but no output).  I
notice that at the end of the file "oldshowpage" is used.  Should
I replace all occurences of oldshowpage with showpage?

Newsgroups: comp.lang.postscript
From: gonzo@lonestar.utsa.edu (Jerry . Gonzalez)
Subject: Transparent Halftoning
Organization: University of Texas at San Antonio
Date: Fri, 2 Oct 1992 16:33:03 GMT


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.

Any help would be greatly appreciated!! 

Thanks,

Jerry
From: schuster@panix.com (Michael Schuster)
Newsgroups: comp.lang.postscript
Subject: Re: What is LWIIf "Fatal system error at 0x40154772"
Date: 29 Sep 92 01:02:25 GMT
Organization: PANIX Public Access Unix & Internet, NYC

In article <1992Sep28.215635.21218@klaava.Helsinki.FI> jokipalt@klaava.Helsinki.FI (Samuli Jokipaltio) writes:
>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.

It sounds like you have a piece of code that crashes the PS interpreter.

I have a Don Lancaster program which will reliably crash the HP 33439P/Q
PostScript cartridge with the same message (different address) due to
stack overflow.


-- 
_______________________________Mike Schuster________________________________
NY Pub. Access UNIX/Internet: schuster@panix.com | 70346.1745@CompuServe.COM
The Portal (R) System: schuster@cup.portal.com   | MCI Mail,GEnie: MSCHUSTER
Newsgroups: comp.lang.postscript
From: henry@trilithon.mpk.ca.us (Henry McGilton)
Subject: Question:  how do I print raw postscript from a Mac
Organization: Trilithon Software
Date: Fri, 2 Oct 1992 18:18:21 GMT


David Bau Writes:

    *  Hello, postscript gurus.  I've got a postscript file that
    *  I've rolled myself that computes and draws mazes randomly,
    *  and I've been happily printing it from my unix system by
    *  sending it directly to postscript printers.  However, a
    *  mac user wants to be able to print out the same file from
    *  his mac; but all the word processors seem to intercept the
    *  text of my postscript file and print it out as text!

    *  How do you send postscript text directly to a postscript
    *  printer on a Macintosh?

On System 6, Use the SendPs utility, or,
the Adobe font downloader utility -- latest is version 5.0.4,

On System 7, use the LaserWriter utility from More Tidbits folder.

This information is all covered in my new book, PostScript by
Example, should be in the stores about now.


        ........  Henry
Newsgroups: comp.lang.postscript,comp.fonts
From: kevind@pogo.wv.tek.com (Kevin Draz)
Newsgroups: comp.lang.postscript
Subject: Re: Halftone screens (was Re: lousy images)
Keywords: lousy screen
Date: 27 Sep 92 01:59:03 GMT
Organization: Tektronix, Inc., Wilsonville,  OR.

In article <g1xqbbty@csv.warwick.ac.uk> esurw@warwick.ac.uk (Stephen Landamore) writes:
>with having a narrow linewidth  and a grainy resolution of halftoning,
>I don't  really know. This  would  seem  to imply  that the above idea
>would be great in practice, you say it 'gives only a few distinct gray
>levels' ... just how many?

In simple halftoning (which is what most printers deal with) the number of
gray levels is approximately the square of the printer resolution divided by
the screen frequency, i.e. a 300 dpi printer at 60 lpi would have (300/60)^2
= 25 gray levels, plus one for all-white.  Some slight deviations in actual
gray levels result from the rotation of the screens, strange dot functions,
or special tuning within a screen to remove unpleasant dot structures.

Some printers have methods for increasing the gray levels of a given
frequency screen.  The most common of these is "supercell" techniques.
Check with a specific printer manufacturer for details of screening.  If you
assume too much, you may cheat yourself out of better image quality.

KD
-- 
----
kevind@pogo.wv.tek.com  | For most software publishers, quality is job 1.01.
Tektronix Color Printers|                            -- MacWeek Magazine
Organization: University of Illinois at Chicago
Date: Saturday, 26 Sep 1992 20:43:56 CDT
From: Sergiu <U54888@uicvm.uic.edu>
Newsgroups: comp.lang.postscript
Subject: Willing to pay for Postscript help.

   I'm willing to pay for some rather detailed and specific information about a
particular facet of the Postscript printing/programing language. From what I
understand about Postscript, what I need help in is "composite fonts" and their
implementation. If you know Postscript or know someone who does, can you please
contact me or help me contact them? The sooner I get this informatio, the more
useful it will be and the better the reward.
   Thank you

P.S. I'd also be interested in a program that alows you to modify actual
     Postscript fonts or create new ones.
P.P.S. You can write me at the above address or call voice at (708)470-9238.
       and ask for Gabriel or Sergio
Newsgroups: comp.lang.postscript
From: jbotz@mtholyoke.edu (Jurgen Botz)
Subject: counting pages?
Organization: Mount Holyoke College
X-Newsreader: Tin 1.1 PL5
Date: Sat, 26 Sep 1992 21:58:57 GMT

Are there any programs that will take a postscript file as input
and return the number of pages?  I know this is non-trivial, and
yes, I know I can count pages by getting the page count from the
printer before and after printing a document, but I need a way to
predict how many pages a printjob is going to take in advance.

--
Jurgen Botz                  |   Internet: JBotz@mtholyoke.edu
Academic Systems Consultant  |     Bitnet: JBotz@mhc.bitnet
Mount Holyoke College        |      Voice: (US) 413-538-2375 (daytime)
South Hadley, MA, USA        | Snail Mail: J. Botz, 01075-0629
From: bkph@kauai.ai.mit.edu (Berthold K.P. Horn)
Newsgroups: comp.lang.postscript
Subject: Re: is tilde character broken?
Date: 28 Sep 92 12:16:23 GMT
Distribution: comp
In-reply-to: kells@iis.ethz.ch's message of 27 Sep 92 07:08:19 GMT


In article <kells.717577699@iis> kells@iis.ethz.ch (Kevin Kells) writes:


   Hi folks, sorry if this is a repeat question.

   I use TeX/LaTeX to create text with the Spanish n-tilde character
   (\~n).  When I use the PostScript Times-Roman font, the n-tilde doesn't
   look like an n with a little tilde over it; the tilde is printed
   larger-than-normal _inside_ the n instead of on top. 

   My assessment of the problem is that TeX expects the tilde character to
   be small and properly positioned for the corresponding "x" character
   in a given font. Apparently, the PostScript tilde is larger and centered
   and expects to be miniaturized and raised to form the tilde "accent"
   for the "x" character.

   Who is correct? How can I fix/hack this so that it works?

   Please e-mail and I'll post if there is enough interest.


plain TeX and LaTeX have hard-wired positions for accents based 
on where they are in Computer Modern.  Here is the relevant part of
plain.tex: 

\def\acute{\mathaccent"7013 }
\def\grave{\mathaccent"7012 }
\def\ddot{\mathaccent"707F }
\def\tilde{\mathaccent"707E }
\def\bar{\mathaccent"7016 }
\def\breve{\mathaccent"7015 }
\def\check{\mathaccent"7014 }
\def\hat{\mathaccent"705E }
\def\vec{\mathaccent"017E }
\def\dot{\mathaccent"705F }
\def\widetilde{\mathaccent"0365 }
\def\widehat{\mathaccent"0362 }

If you use fonts other than CM you have to redefine these macros, or
reencode these fonts to use the same encoding scheme as CM.

For example, if you use `texannew' encoding you'll want to use instead:

\def\acute{\mathaccent"70B4 }	% acute
\def\grave{\mathaccent"7060 }	% grave
\def\ddot{\mathaccent"70A8 }	% dieresis
\def\tilde{\mathaccent"7098 }	% tilde
\def\bar{\mathaccent"70AF }	% macron
\def\breve{\mathaccent"70C6 }	% breve
\def\check{\mathaccent"708D }	% caron
\def\hat{\mathaccent"7088 }	% circumflex
\def\dot{\mathaccent"70C7 }	% dotaccent

What is happening to you without this change is the result of the fact that
Computer Modern has the character `circumflex', a small raised glyph
suitable for us as an accent in the position where Type 1 fonts have
`asciicircum', a large glyph that sits on the baseline, as you discovered.
Similarly, CM text fonts have `tilde', where Type 1 fonts have 
`asciitilde'.

Read my diatribe on font encoding (:-) for more details.

Berthold K.P. Horn
Cambridge, Massachusetts, USA
From: heitke@tellabs.com (Steve Heitke)
Newsgroups: comp.lang.postscript
Subject: Mac LaserWriter files on HP LaserJet??
Date: 29 Sep 92 17:02:35 GMT
Article-I.D.: tellab5.1992Sep29.170235.17418
Organization: Tellabs, Inc., Lisle, IL
Originator: heitke@sunk12


I recently *found* some postscript files that I would like to print on a
HP LaserJet IIIsi, the problem is the files were done on a MAC.  The files
specify the LaserWriter II as the printer, the following was clipped from
the top of one of the files:

	%! *** Created by macps: 
	/macps save def
	%!PS-Adobe-2.0
	%%Title: 
	%%Creator: Aldus FreeHand 2.02
	%%CreationDate: 
	%%Pages: (atend)
	%%BoundingBox: ? ? ? ?
	%%PageBoundingBox: 30 31 582 761
	%%BeginProcSet: "(AppleDict md)" 68 0
	%!
	%%Title: "Laser Prep -- The Apple PostScript Dictionary (md)"
	%%Creator: Apple Software Engineering
	%%CreationDate: 
	%{appledict version #68 0
	% (C) CopyRight Apple Computer, Inc. 1984,1985,1986,1987,1988 
	% All Rights Reserved.
	%%EndComments

	<stuff deleted>

	... statusdict begin product(LaserWriter II)anchorsearch end

	<more stuff deleted>

My question is, How can I re-convert these to print on a HP LaserJet?  I see the
files are already wrapped with "macps" and "Laser Prep" was used on them to add
the LaserWriter II as the printer.  I tried changing the LaserWriter stuff to 
LaserJet but it didn't work.  I also tried re-running "macps" and "prepfix" to
add the LaserJet but "prepfix" blew away more than half of my test file!  Any
ideas or suggestions other than "forget it" are welcome, thanks.

-Steve
-- 
		Steve Heitke   -   heitke@tellabs.com
Newsgroups: comp.lang.postscript
From: kells@iis.ethz.ch (Kevin Kells)
Subject: is tilde character broken?
Organization: Swiss Federal Institute of Technology (ETH), Zurich, CH
Distribution: comp
Date: Sun, 27 Sep 1992 07:08:19 GMT

Hi folks, sorry if this is a repeat question.

I use TeX/LaTeX to create text with the Spanish n-tilde character
(\~n).  When I use the PostScript Times-Roman font, the n-tilde doesn't
look like an n with a little tilde over it; the tilde is printed
larger-than-normal _inside_ the n instead of on top. 

My assessment of the problem is that TeX expects the tilde character to
be small and properly positioned for the corresponding "x" character
in a given font. Apparently, the PostScript tilde is larger and centered
and expects to be miniaturized and raised to form the tilde "accent"
for the "x" character.

Who is correct? How can I fix/hack this so that it works?

Please e-mail and I'll post if there is enough interest.

Thanks, 
Kevin

--
Kevin Kells <kells@iis.ethz.ch>         telephone: +41-1-256-5746
Integrated Systems Laboratory, ETH-Zentrum, CH-8092 Zurich, Switzerland
Newsgroups: comp.lang.postscript