PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV 2024 → Barcode  in an RTF-Control ?
Barcode in an RTF-Control ?
Débuté par Udo Libbach, 07 aoû. 2004 19:34 - 3 réponses
Posté le 07 août 2004 - 19:34
who know it ?
I would print Barcode 128 print in an RTF-Field.
Then i store the control in an HF7-Record, later i read the Record,
display the RTF-Control and also print the RTF-Field on the printer.
What i must do ? Who can help me ?
Posté le 08 août 2004 - 11:19
Hi Udo,
welcome to the forum!
I'm not sure, what do you want to do?
1. Print text + embedded image (EAN128) to an RTF-file on disk
2. Read that file from disk to an RTF-control
3. Edit that RTF-control
4. Print that RTF-control
5. Save the contents of the RTF-control back to disk
Is it this?
Regards,
Guenter
P.S. FYI: A minimum of good manners is adviceable in order to get more, better and faster answers. Imagine, you're asking someone of your neighbours for advice. First, you'd say something like 'Hello' or 'Good morning' and after formulating your request you'd say 'Thank you!', 'I hope you can give an advice', something like that. Additionally, it's not wrong to sign with your name, like you would do in any letter. Please, don't get me wrong, this is not a flame, it's just an explanation of the way we are dealing with each other. The forum language is English, definitely. However, since some of us know a little German, we can offer some help just in case you've got a language problem.

who know it ?
I would print Barcode 128 print in an RTF-Field.
Then i store the control in an HF7-Record, later i read the Record,
display the RTF-Control and also print the RTF-Field on the printer.
What i must do ? Who can help me ?
Posté le 08 août 2004 - 16:12
Hi Udo,
welcome to the forum!
I'm not sure, what do you want to do?
1. Print text + embedded image (EAN128) to an RTF-file on disk
2. Read that file from disk to an RTF-control
3. Edit that RTF-control
4. Print that RTF-control
5. Save the contents of the RTF-control back to disk
Is it this?
Regards,
Guenter
P.S. FYI: A minimum of good manners is adviceable in order to get more, better and faster answers. Imagine, you're asking someone of your neighbours for advice. First, you'd say something like 'Hello' or 'Good morning' and after formulating your request you'd say 'Thank you!', 'I hope you can give an advice', something like that. Additionally, it's not wrong to sign with your name, like you would do in any letter. Please, don't get me wrong, this is not a flame, it's just an explanation of the way we are dealing with each other. The forum language is English, definitely. However, since some of us know a little German, we can offer some help just in case you've got a language problem.

who know it ?
I would print Barcode 128 print in an RTF-Field.
Then i store the control in an HF7-Record, later i read the Record,
display the RTF-Control and also print the RTF-Field on the printer.
What i must do ? Who can help me ?


Hello and Thanks for your answer
I just learn to work with the internet, so I'm sorry.
My Problem is a little bit different.
I have prepared Data into a RTF-Control.
With the content an of the data-elements I might set up now the [Barcode] and stop in the [RTF-Control], so that the user could see the code.
The [RTF-Control] becomes in a text-Memo in a [HF] stores and late prints.
Thank you and Regards
Udo Libbach
Posté le 08 août 2004 - 17:03
Hi Udo,
keep in mind, the barcode is an IMAGE, never part of the rtf-text and is prepared separately! As you might know, barcode calculation is non-trivial. The WinDev barcode-control(window) lets you actually see the barcode on your window, the iPrintBarcode commands lets you print the barcode, but outside your rtf-text-file. Of course, you can prepare things easily to make the barcode look as if it was part of the text. RTF-text together with the barcode could be printed with iPrintRTFZone.
looks like:
---------------------
Text ....
Text ....
---------------------
IIIII BARCODE IIIII
---------------------
Text ....
Text ....
---------------------
iEndPrinting
So, that's it.
Best regards,
Guenter
Hello and Thanks for your answer
I just learn to work with the internet, so I'm sorry.
My Problem is a little bit different.
I have prepared Data into a RTF-Control.
With the content an of the data-elements I might set up now the [Barcode] and stop in the [RTF-Control], so that the user could see the code.
The [RTF-Control] becomes in a text-Memo in a [HF] stores and late prints.
Thank you and Regards
Udo Libbach


Hi Udo,
welcome to the forum!
I'm not sure, what do you want to do?
1. Print text + embedded image (EAN128) to an RTF-file on disk
2. Read that file from disk to an RTF-control
3. Edit that RTF-control
4. Print that RTF-control
5. Save the contents of the RTF-control back to disk
Is it this?
Regards,
Guenter
P.S. FYI: A minimum of good manners is adviceable in order to get more, better and faster answers. Imagine, you're asking someone of your neighbours for advice. First, you'd say something like 'Hello' or 'Good morning' and after formulating your request you'd say 'Thank you!', 'I hope you can give an advice', something like that. Additionally, it's not wrong to sign with your name, like you would do in any letter. Please, don't get me wrong, this is not a flame, it's just an explanation of the way we are dealing with each other. The forum language is English, definitely. However, since some of us know a little German, we can offer some help just in case you've got a language problem.

who know it ?
I would print Barcode 128 print in an RTF-Field.
Then i store the control in an HF7-Record, later i read the Record,
display the RTF-Control and also print the RTF-Field on the printer.
What i must do ? Who can help me ?