[Gambas-user] gambas3 printer (comming back)
Charlie Reinl
Karl.Reinl at ...2345...
Mon Dec 29 12:46:31 CET 2014
Am Sonntag, den 28.12.2014, 19:15 +0100 schrieb Fabien Bodard:
> Have you the problem when you call printer.configure ? or as well
> without calling it ?
>
> 2014-12-28 11:31 GMT+01:00 Charlie Reinl <Karl.Reinl at ...9...>:
> > 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
Salut Fabian,
yes, the problem is with printer.configure, choose Paper A6,
PaperWidth/PaperHeight don't change if you change the
printer.orientation
--
Amicalement
Charlie
More information about the User
mailing list