Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* java2d printing working and not working depending from where we log in.....
@ 2005-09-06 18:00 x
  0 siblings, 0 replies; only message in thread
From: x @ 2005-09-06 18:00 UTC (permalink / raw)


hi everyone,

first of all: sorry for my terrible english, i'll try to be as clear as 
i can....

we are developing a java application which uses java2d both to display a 
chart and to print it.

if we log in (xdm) and start the application from a win32 x-server 
(x-win32 trial version) everything works

if we instead launch it from a cygwin "x -query" session, or directly 
from  the tru64 machine local x-server, the application displays the 
chart but   cannot print it (the job "seems" empty, we can get only the 
banner page).

if we try to print from another x client (netscape) everything works, 
regardless of the x server (as it should be...).

the printer itself is a laserjet (used with the standard embedded 
postscript interpreter) and is accessible through the corporate LAN. we 
have the tru64 machine printcap entry forwarding the job to the printer 
("raw" or "auto" mode).

we suspect that "something could be wrong" with fonts, but apparently 
the postscript file references the same fonts, there are just "some 
numbers"  (the ones between [] brackets iirc...) close to the fonts that 
appear to be different...

the "non working" print job (printed to a file) crashes even 
ghostscript, that complains about the last font entry whatever it is 
(unfortunately none of us "speaks" postscript )

we tried both java 1.3x and 1.4x (in order to get around a nasty 
printing bug of the 1.3 version) but nothing changed....

we tried to use only the ttf fonts that come with the java runtime 
environment, but nothing got better (maybe the java2d renderer uses 
directly the fonts used by the x server? i'm no java developer 
unfortunately)

the x font server is not running on the tru64 machine

the same application works without problems when run under win xp.

...any suggestion?

thanks a lot ;-)
x



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-09-06 18:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-06 18:00 java2d printing working and not working depending from where we log in x

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox