Re: Re(2): commit (head): GetDefaultPrinter fix

From: <msevior_at_physics.unimelb.edu.au>
Date: Thu Nov 11 2004 - 14:15:28 CET

>
>
> Not good this early in the morning; the emacs grep does not work but,
> of course, there is the Windows 'Find Files' ... so I found the
> relevant code in ap_Win32App.cpp at L1563. Basically all that is
> required is an extra static constructor for the win32 graphics class
> that would create the printer graphics from a printer name. I think
> that would be ~10LOC, and we would get the mail merge for that.
>
> There is virtually zero potential for screwups, this is just
> rehashing what we already do elsewhere. I am inclined to do this
> before 2.2; any objections?
>

As lomg as dom promises to make mail-merge actually work for 2.2 too :-)

Cheers

Martin

> Tomas
>
>
> Date sent: Wed, 10 Nov 2004 11:59:03 -0800 (PST)
> From: Dom Lachowicz <domlachowicz@yahoo.com>
> Subject: Re: commit (head): GetDefaultPrinter fix
> To: abiword-dev@abisource.com
>
>>
>> Hi Tomas,
>>
>> Thanks. This gave me an idea, though. We now have a
>> way of getting at the default printer on Windows. Does
>> this mean that with a little effort, we could have
>> AbiWord.exe print from the command line using the
>> "--print" flag?
>>
>> Thanks,
>> Dom
>>
>> --- Tomas Frydrych <tomasfrydrych@yahoo.co.uk> wrote:
>>
>> >
>> >
>> > Dynamically load GetDefaultPrinter when needed.
>> >
>> > (I had to laugh -- the MS code in the relevant
>> > Knowledge Base article
>> > would not compile!)
>> >
>> > file: ut_Win32OS.cpp
>> >
>> > Tomas
>> >
>> >
>>
>>
>>
>>
>> __________________________________
>> Do you Yahoo!?
>> Check out the new Yahoo! Front Page.
>> www.yahoo.com
>>
>>
>
>
>
Received on Thu Nov 11 14:13:51 2004

This archive was generated by hypermail 2.1.8 : Thu Nov 11 2004 - 14:13:52 CET