[Gambas-user] gambas3 printer (comming back)

Charlie Reinl Karl.Reinl at ...2345...
Sun Dec 28 11:31:43 CET 2014


Salut Benoît,

I restumbled over that problem, any news about ?

Am Freitag, den 01.08.2014, 11:31 +0200 schrieb Benoît Minisini:
> Le 31/07/2014 19:49, Charlie Reinl a écrit :
> > Salut Benoît,
> >
> > digging around the gambas3 printer object, I can now say the following:
> >
> > - you can not set printer.paper=0, what means set to gambas 'Custom',
> >    you earn a default.paper, in my case A4
> >
> > - changing PaperWidth and/or PaperHeight that will changing also
> >    printer.paper
> >
> > - Changing from printer.orientation works well for A4 (my be all
> >    gambas3 supported paper formats), PaperWidth and PaperHeight are
> >    changed, but not for other possible Formats, changed by gambas3 to
> >    'Custom' with PaperWidth/PaperHeight set.
> >
> > That works all well if use printer.Configure, but the troubles are I
> > want to save this settings for a later use, so the values of the gambas3
> > printer object counts for me.
> >
> > Thanks for your attention.
> >
> 
> This strange behaviour actually comes from the Qt library. I will try to 
> override it so that things become more logical.
> 

-- 
Amicalement
Charlie





More information about the User mailing list