[Gambas-user] Printing

Shane shanep1967 at ...169...
Wed Oct 14 10:45:11 CEST 2015


sorry my bad I think I forgot the ignore property


On 14/10/15 16:17, Fabien Bodard wrote:
> Le 13 oct. 2015 23:16, "Shane" <shanep1967 at ...169...> a écrit :
>> Is there a way to stop ReportImage from scaling up to fill the page
>>
> Hum. Change the height and width. If they are 0 then autoresize is used.
>
>>
>> On 14/10/15 08:02, Shane wrote:
>>> Thanks Fabien I had a quick look at setting ignore to true and I can now
>>> move things where i want
>>> so it might work for me after all Thanks.
>>>
>>>
>>> On 14/10/15 03:47, Fabien Bodard wrote:
>>>> Well gb.report is based on a similar arrangement routine than the
> forms.
>>>> To center a picture on the page you have 2 way.
>>>>
>>>> - playing with the containers to center it
>>>> - set the ignore property of the image to true and setup the left and
>>>> top properties (or X and Y)
>>>>
>>>> To setup a text just add a reportlabel and give to it a text.
>>>>
>>>> you can setup the page padding by setting the report padding.
>>>>
>>>> Gambas report have all the job to resolve font size... you need to
>>>> play around it to understand who do what.
>>>>
>>>> It seem complex only because it use a not traditional way to describe
>>>> a page. A report is a set of sections that can contains containers.
>>>> Each section is like a report, but share things like page size and
>>>> orientation.
>>>>
>>>> My two actual dark point are the picture resolution on rendering,
>>>> because of the resolution... but i will find how to do that son.
>>>> Multilevel recurssivity... my old problem on automation. But it is not
>>>> a problem for filled reports.
>>>>
>>>> you can see some of my reports here :
>>>> https://plus.google.com/u/0/communities/113475756360896510823
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> 2015-10-13 8:01 GMT+02:00 Shane <shanep1967 at ...169...>:
>>>>> Hi Fabien I had a look at gb.report and once again I can not make head
>>>>> or tails of it I got stuck
>>>>> at the very first thing all I wanted to to was display an image in the
>>>>> center of the page and some text
>>>>> either side but when i finally got an image to display it would only
>>>>> display in the top left and I could not move it just seem over
> complicated!
>>>>> On 12/10/15 18:32, Fabien Bodard wrote:
>>>>>> Normally the size is the same... The scaling is done by the paint
> class.
>>>>>> Be carefull as a point have not the same size between screen and
> printer.
>>>>>> Have you try to use gb. report ?
>>>>>> Le 12 oct. 2015 09:19, "Shane" <shanep1967 at ...169...> a écrit :
>>>>>>
>>>>>>> What am I doing wrong here I'm trying to print something the same
> size on
>>>>>>> the printer as on the screen
>>>>>>> but when it goes to the printer it huge ?
>>>>>>> I'm using Paint.Scale and from what the doc's say this should scale
> the
>>>>>>> fonts ?
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
> ------------------------------------------------------------------------------
>>>>>>> _______________________________________________
>>>>>>> Gambas-user mailing list
>>>>>>> Gambas-user at lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>>>>>>
>>>>>>>
> ------------------------------------------------------------------------------
>>>>>> _______________________________________________
>>>>>> Gambas-user mailing list
>>>>>> Gambas-user at lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/gambas-user
> ------------------------------------------------------------------------------
>>>>> _______________________________________________
>>>>> Gambas-user mailing list
>>>>> Gambas-user at lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>>
> ------------------------------------------------------------------------------
>>> _______________________________________________
>>> Gambas-user mailing list
>>> Gambas-user at lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
>>
> ------------------------------------------------------------------------------
>> _______________________________________________
>> Gambas-user mailing list
>> Gambas-user at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
> ------------------------------------------------------------------------------
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user





More information about the User mailing list