Re: multiple /HWResolution
- From: François Robert <moc.xeta@xxxxxxxxxxxxxxx>
- Date: Thu, 04 Oct 2007 22:51:46 GMT
In article <MPG.216ed916ba1f4214989695@xxxxxxxxxxxxxxx>,
ken <ken@xxxxxxxxxxx> wrote:
In article <1191492943.411605.192580@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,Errr.... you're right, my wording was not a model of clarity. I was of
francois.d.robert@xxxxxxxxx says...
I wouldn't have said so. Ghostscript is a generic interpreter which is
capable of being configured to drive many different output devices.
However, out of the box, it doesn't really drive any specifically.
I wrote so, because if GS returns /x11 (or whatever) for the current
page device,
It can't return '/x11' for the current page device, because
currentpagedevice returns a dictionary. One of the members of that
dictionary (see below) is the OutputDevice, either a name or string.
course referring to the /OutputDevice key of the current page device.
Are you saying that currentpagdevice returns a valid /OutputDeviceI think that's what happens with GS.
member in the dictionary, but that device is not listed as a resource ?
That would be a bug, because the /OutputDevice is required to be a name
matching one of the /OutputDevice resources.
Here is what a snippet and its output on GS 8.54 (Mac) and OS X
Preview.app (Distiller) :
%!PS
(product = ") print product print (") =
(instances of /OutputDevice category = ) =
(*) { (") print print (") =} 50 string /OutputDevice resourceforall
currentpagedevice /OutputDevice
2 copy known
{ get
(/OutputDevice in current page device: ) print ==
}{ pop pop
(/OutputDevice not found in current page device ) =
} ifelse
%%EOF
product = "PSNormalizer.framework"
instances of /OutputDevice category =
"Printer"
/OutputDevice in current page device: /Printer
product = "AFPL Ghostscript"
instances of /OutputDevice category =
/OutputDevice in current page device: /x11
The page device dictionary and the /OutputDevice are different.Agreed.
________________________________________________________
François Robert
.
- Follow-Ups:
- Re: multiple /HWResolution
- From: ken
- Re: multiple /HWResolution
- References:
- multiple /HWResolution
- From: abeddie
- Re: multiple /HWResolution
- From: François Robert
- Re: multiple /HWResolution
- From: ken
- Re: multiple /HWResolution
- From: francois . d . robert
- Re: multiple /HWResolution
- From: ken
- multiple /HWResolution
- Prev by Date: Re: EPS and Word
- Next by Date: Re: multiple /HWResolution
- Previous by thread: Re: multiple /HWResolution
- Next by thread: Re: multiple /HWResolution
- Index(es):
Relevant Pages
|