Re: win32lib: printerDC

new topic     » goto parent     » topic index » view thread      » older message » newer message

----=_g8qtgvs2dhfrn5hn3umtt9cb05bc70tlbd.MFSBCHJLHS

On Sat, 12 Jul 2003 01:38:30 +1000, Derek Parnell
<ddparnell at bigpond.com> wrote:

>> On Fri, 11 Jul 2003 14:53:53 +0100, Pete Lomax
>> <petelomax at blueyonder.co.uk> wrote:
>>=20
>> Derek,
>> Can you make printerDC global please, or provide a routine for setting
>> it so I can use my own getPrintChoice and getPageSetup routines.
>>=20
>
>getPrintChoice() already supports using you own structure set up. Is =
that not enough?
>
>getPageSetupEx() can be modified so that you can supply you own =
structure too.
I've put one in my version.

there is no devmode structure, so you cannot save or set the paper or
orientation, collation or print to file.

Attached is my win32prt.ew file which does these things. Note that it
is "as-is", with the case of the first letter of all clashing global
names changed to avoid name clashes, and it is initialised last, but
that is what I had to do to get it to workblink

Pete
PS PrintButton() is application-specific as it stands.

----=_g8qtgvs2dhfrn5hn3umtt9cb05bc70tlbd.MFSBCHJLHS
Content-Type: application/octet-stream; name=win32prt.ew

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu