🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #6492

Re: Summary: Color/Not Color

#6492
From: Eric P. Scott
Date: Mon, 25 Jan 1993 07:21
23 lines
1492 bytes
In article <1jvkv6INN1go@rave.larc.nasa.gov>
	arras@cobia-f.icase.edu (Michael Arras) writes:
>	Last week I asked whether or not it was possible to query a PS
>printer to find out if it had color capabilities.  The only responses I
>received mentioned that I should check if systemdict /colorimage is known.
>Unfortunately, this does not work.

Nonexistence of colorimage merely suggests that the interpreter
version predates PostScript Language Color Extensions.  It does
not indicate anything about the hardware characteristics.

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

Why?  PostScript is designed to be "device independent"--you're
not supposed to CARE where your document's going.

For what it's worth, Display PostScript and Level 2 have a
"deviceinfo" operator that returns [a dictionary containing]
information about color capabilities.

					-=EPS=-
Technical Details
Message-ID: <1993Jan25.072102.15984@csus.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!sol.ctr.columbia.edu!The-Star.honeywell.com!umn.edu!csus.edu!news
References: <1jvkv6INN1go@rave.larc.nasa.gov>

Show Full Headers
Complete Article Headers
Newsgroups: comp.lang.postscript
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!sol.ctr.columbia.edu!The-Star.honeywell.com!umn.edu!csus.edu!news
From: eps@futon.SFSU.EDU (Eric P. Scott)
Subject: Re: Summary: Color/Not Color
Message-ID: <1993Jan25.072102.15984@csus.edu>
Sender: news@csus.edu
Reply-To: eps@cs.sfsu.edu
Organization: San Francisco State University
References: <1jvkv6INN1go@rave.larc.nasa.gov>
Date: Mon, 25 Jan 1993 07:21:02 GMT
Lines: 23