Hi,
I've make a module that prints on a sheet pre-printed model.
My problem is that letters are not framed right inside to "block letters".
[img]
http://www.borzini.it/test/blockletters.png
[/img]
Any hints?
Thanks,
Paolo
Printer problem
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Printer problem
Paolo Borzini | paolo@borzini.it
The WhiteFly Software | www.thewhitefly.it
Service on line for printers | www.4pellicole.it
The WhiteFly Software | www.thewhitefly.it
Service on line for printers | www.4pellicole.it
Re: Printer problem
Hi.
How do you have those blocks set up?
Are they individual fields, one per letter, or are they some sort of graphic overlying a single field with a monospaced font? Or something else?
Anyway, if you use individual fields with centered text and the correctly sized font, your problem should go away. There is no shame in using dozens of fields on a project. You can manage these easily by number or some ordered naming scheme.
Write back...
Craig Newman
How do you have those blocks set up?
Are they individual fields, one per letter, or are they some sort of graphic overlying a single field with a monospaced font? Or something else?
Anyway, if you use individual fields with centered text and the correctly sized font, your problem should go away. There is no shame in using dozens of fields on a project. You can manage these easily by number or some ordered naming scheme.
Write back...
Craig Newman
Re: Printer problem
Hi Craig,
I've used a text fields for each string required.
I've used a many types of font but I don't have found a fixed size font.
Paolo
I've used a text fields for each string required.
I've used a many types of font but I don't have found a fixed size font.

Paolo
Paolo Borzini | paolo@borzini.it
The WhiteFly Software | www.thewhitefly.it
Service on line for printers | www.4pellicole.it
The WhiteFly Software | www.thewhitefly.it
Service on line for printers | www.4pellicole.it
Re: Printer problem
Try courier or monaco. These are fixed.
But I would also experiment with separate text fields for each letter, at least for the experience.
Craig Newman
But I would also experiment with separate text fields for each letter, at least for the experience.
Craig Newman
Re: Printer problem
I've tested with two fonts with various size but the result it's not good for long word (over 10 chars).
Please tell me your result with the experiment for each letter
Paolo
Please tell me your result with the experiment for each letter

Paolo
Paolo Borzini | paolo@borzini.it
The WhiteFly Software | www.thewhitefly.it
Service on line for printers | www.4pellicole.it
The WhiteFly Software | www.thewhitefly.it
Service on line for printers | www.4pellicole.it
Re: Printer problem
Hmmm.
I made a field with monaco 18, and a bunch of graphic rectangles with a width of 11. If I string the graphics over the text, they all line up perfectly. Length is not an issue.
What is an issue is that the kerning of the text in the field is too tight to be visually pleasant, so the boxes are too close together. There is no native LiveCode kerning, I think, but maybe someone else will correct me. If there were such a thing, you could probably get away with that sort of display.
But if I were to do what you want to, I would create my array of letter blocks using separate fields, one for each character, the fields named or numbered in some logical way, and have each character be centered within its own field. All the control you need is possible with such an arrangement, and the geometry is now entirely up to you.
Do you have a problem with doing it that way? Do you know how to trap the several messages required to allow painless typing into those fields so it all seems natural? I understand the compactness of a single field, but unless you can put more space between the characters, and those graphics, it will not look very good.
Write back...
Craig Newman
Edit:
It occurs to me that it will be an interesting challenge to select or delete multiple characters (fields) to edit just a portion of text. This is handled easily within a single field, but has to be managed explicitly with multiple fields. Hmmm...
I made a field with monaco 18, and a bunch of graphic rectangles with a width of 11. If I string the graphics over the text, they all line up perfectly. Length is not an issue.
What is an issue is that the kerning of the text in the field is too tight to be visually pleasant, so the boxes are too close together. There is no native LiveCode kerning, I think, but maybe someone else will correct me. If there were such a thing, you could probably get away with that sort of display.
But if I were to do what you want to, I would create my array of letter blocks using separate fields, one for each character, the fields named or numbered in some logical way, and have each character be centered within its own field. All the control you need is possible with such an arrangement, and the geometry is now entirely up to you.
Do you have a problem with doing it that way? Do you know how to trap the several messages required to allow painless typing into those fields so it all seems natural? I understand the compactness of a single field, but unless you can put more space between the characters, and those graphics, it will not look very good.
Write back...
Craig Newman
Edit:
It occurs to me that it will be an interesting challenge to select or delete multiple characters (fields) to edit just a portion of text. This is handled easily within a single field, but has to be managed explicitly with multiple fields. Hmmm...