Re: multiple /HWResolution



In article <MPG.216ed916ba1f4214989695@xxxxxxxxxxxxxxx>,
ken <ken@xxxxxxxxxxx> wrote:

In article <1191492943.411605.192580@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
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.
Errr.... you're right, my wording was not a model of clarity. I was of
course referring to the /OutputDevice key of the current page device.

Are you saying that currentpagdevice returns a valid /OutputDevice
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.
I think that's what happens with GS.
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
.



Relevant Pages

  • Re: AD group logon script question
    ... Once these "resource permission groups" are created ... NOT by modifying permissions on the resource. ... only global groups, and they are not members of any ... represent everyone authorized to use application XYZ. ...
    (microsoft.public.scripting.vbscript)
  • Re: Alternative to AfxSetResourceHandle
    ... 'AfxGetResourceHandle' function, ... It contains the handle to the DLL as a static member and another HINSTANCE. ... In addition there are static members for doing things like loading strings, ...
    (microsoft.public.vc.mfc)
  • Re: Performance issues on tandem H series application
    ... ONE request thread is waiting for some resource (other threads may ... If ALL members of a server class is in this state, ...
    (comp.sys.tandem)
  • RE: Group Scope question relating to group nesting
    ... Group 2 with members from a trusted domain ... Group 2 and group 3 are members of group 1 which is assigned to the resource. ... The users in group 3 from the local domain are able to logon to the resource. ... The users in group 2 from the foreign domain aren't able to logon for some ...
    (microsoft.public.exchange.admin)