[Gambas-user] gambas3 printer (comming back)

Fabien Bodard gambas.fr at ...626...
Sun Dec 28 19:15:07 CET 2014


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
>
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming! The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user



-- 
Fabien Bodard




More information about the User mailing list