|
From: Hans-Bernhard B. <br...@ph...> - 2005-02-04 14:14:29
|
Russell Lang wrote: Welcome back! It's been quite a while since we heard from you. It's good to see you still remember gnuplot after all these years. > The file src/win/wprinter.c contains some old code for sending > printer specific output to a printer in DumpPrinter(). The 16-bit > code is probably still Ok, but probably not much used these days. That would be putting it mildly. As of the current release version, 4.0, the 16-bit version no longer even compiles. And the 32-bit version is known to have various problems. Apparently, it never worked on Win9x at all. Neither the "print this" menu entry in the graph context menu, nor the 'set output 'PRN:' method. > So we should be able to replace the old Win32 printing code with > something based on the attached code. In a slightly different form, > this code has been used by GSview and Ghostscript for many years. I suspect just about anything would work better than the current stuff. As a matter of fact, I sometimes think it's time to rewrite the entire Windows-specific part of gnuplot from scratch, given that with Win32 it's possible to have gnuplot behave the same way X11 gnuplot does. In particular, I would really like to get rid of the home-grown terminal emulator and all the problems and limitations it causes. |