[Gambas-user] Stickers

Doriano Blengino doriano.blengino at ...1909...
Sat Oct 25 19:25:16 CEST 2008


Almanova Sistemi ha scritto:
> Doriano Blengino ha scritto:
>   
>> Almanova Sistemi ha scritto:
>>   
>>     
>>> Hi All,
>>>
>>> I try to write an application for print some stickers and I need to format the text in vaious mode (undelined, bold, italics) various color as alignment.
>>>       
>> What I would do instead is to use no richtext at all. May be I am wrong, 
>> but I think richedit+html is targeted to something different than 
>> labelling, even if richtexts are so handy. With draw.text() you can 
>> print bold text, underline and so on by setting draw.font properties, 
>> and you can place text on paper with great precision. It depends a lot 
>> on what you are doing - for example: these stickers have a fixed format 
>> (template) or they vary a lot? The more they are "fixed" format, the 
>> more a simple draw.text() is good.
>>     
> my stickers don't have a fixed format and I need to see what I do print,
> so I use a TextEdit for see the labeo on the screen and i doing a parser
> for parsing html text and put it on the paper.
>
> Is a good idea?
>   
Try this project - it lets you to design text & lines/rectangles, 
preview them on screen, and print.
You should modify the program to meet your needs, but I think it is a 
good starting point.


Regards,
Doriano


-------------- next part --------------
A non-text attachment was scrubbed...
Name: PrintDesigner-0.0.21.tar.gz
Type: application/x-tgz
Size: 76429 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20081025/5cff4de6/attachment.bin>


More information about the User mailing list