From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: fa528,468b7a67fec049b7,start X-Google-Attributes: gidfa528,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!news.mailgate.org!nntp.infostrada.it!twister1.libero.it.POSTED!not-for-mail From: x User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.unix.tru64 Subject: java2d printing working and not working depending from where we log in..... Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: Date: Tue, 06 Sep 2005 18:00:08 GMT NNTP-Posting-Host: 151.38.96.205 X-Complaints-To: abuse@net24.it X-Trace: twister1.libero.it 1126029608 151.38.96.205 (Tue, 06 Sep 2005 20:00:08 MET DST) NNTP-Posting-Date: Tue, 06 Sep 2005 20:00:08 MET DST Organization: [Infostrada] Xref: g2news1.google.com comp.unix.tru64:273 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