Every native DirectX application runs fine on my machine without making it
any unstable. Why should Java be an exception?
The 6u10 version may very well run just fine on your system. The older versions
combined DirectX and GDI rendering to the same surface which is prohibited on
Vista
Given a print service from something like
PrintService defaultPrintService =
PrintServiceLookup.lookupDefaultPrintService()
is there a way to query the default print service to get the paper sizes
that print service (printer) can handle? For example, I'd like to get a
list back containing
You almost had it. For some reason you aren't properly using the answer
(Object [] res) you got from the service,
so you are only seeing the first of the list. And I'm not sure where you
got MediaRequested from, that
should not compile as there's no such class.
That should be
Media[] res =
You can disable the hw/os check by setting
J2D_D3D_NO_HWCHECK env variable to 'true' prior to
starting your application. I'm pretty sure it will
work fine on your system (make sure you have the
latest drivers).
That was exactly what I was looking for :)
The point is that I don't need the hw
Thanks Phil. Now it's working.
(I stumbled upon a way to make this work about a year ago, but for some
reason, I couldn't remember how to do it. Probably age.)
BTW - The MediaRequested reference was caused by me doing a little editing
in the original post, without compiling. I was starting