Print drivers
Olly Betts
olly@survex.com
Tue, 13 Apr 2004 03:02:53 +0100
On Mon, Apr 05, 2004 at 01:31:24AM +0100, Olly Betts wrote:
> On Sat, Apr 03, 2004 at 08:38:04PM +0100, Phil Underwood wrote:
> > Give an option to "print it how it looks on the main screen"
> > -this seems to be the thing everyone wants. Coming soon...
>
> Thanks Phil. I've merged the changes in. I've not put the changes in
> CVS yet, and it's time I went to bed - I'll sort that out tomorrow.
Erm, tomorrow plus or minus a week. *cough*
I've fixed most of the problems I'd noticed though. Still to do:
* Finish adding calls to msg() so messages can be translated.
* Implement "print clipped to what's in the window".
* "Print" from the print dialog doesn't do the same thing as "Print"
from the preview dialog under wxGTK (the latter works, but the former
doesn't).
* Selecting "Landscape" in "File->Page Setup" doesn't change the
orientation in the preview window.
* File->Print menu item should be disabled until a survey has been
loaded.
I decided that using the refactored prcore code in the existing printer
drivers was just asking for problems by changing stable code. So aven
has its own version of that code, and removing the need for the code to
also work with the existing printer drivers allows it to be simplified
a lot.
Cheers,
Olly