![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hello All, I'm new here in PICK, can you give some example that prints a certain text on screen or to the printer on bold weight? I wish to have a report wherein the total amount of the invoice is printed bold. Any help are greatly appreciated. Thank you In the program that prints your report, you need to send the escape sequence |
#3
| |||
| |||
|
|
In the program that prints your report, you need to send the escape sequence to turn bold printing on before your total value then send the escape sequence to turn it back off afterwards. That's a simple statement for me to say because there may be a lot more involved than that, depending on a number of things, such as are there other printers that this report might be sent to? Maybe a display, too, since you're asking about going to the screen. Think of it as a stream of data that's being sent to the printer, which is exactly what it is, and you just have to insert the sequence of characters that the printer is looking for that says BOLD ON then when you want it to go back to regular print, you have to send the command BOLD OFF. You'll need to look in your manual for that printer and find the right sequence. Most likely it will start with the <ESC> key value, or 27, followed by a couple more characters. Good luck. BobW |
#4
| |||
| |||
|
|
Thanks, I already did that, "Bold-ON" is "E" while "Bold-OFF" is "F" Print Char(2): "E": "Churva": Char(27): "F" Still, that code didn't work. Help me! |
#5
| |||
| |||
|
|
On Jun 1, 5:35 pm, "BobW" <BobW56.at.rkwco.com> wrote: In the program that prints your report, you need to send the escape sequence to turn bold printing on before your total value then send the escape sequence to turn it back off afterwards. That's a simple statement for me to say because there may be a lot more involved than that, depending on a number of things, such as are there other printers that this report might be sent to? Maybe a display, too, since you're asking about going to the screen. Think of it as a stream of data that's being sent to the printer, which is exactly what it is, and you just have to insert the sequence of characters that the printer is looking for that says BOLD ON then when you want it to go back to regular print, you have to send the command BOLD OFF. You'll need to look in your manual for that printer and find the right sequence. Most likely it will start with the <ESC> key value, or 27, followed by a couple more characters. Good luck. BobW Thanks, I already did that, "Bold-ON" is "E" while "Bold-OFF" is "F" Print Char(2): "E": "Churva": Char(27): "F" Still, that code didn't work. Help me!- Hide quoted text - - Show quoted text - |
#6
| |||
| |||
|
|
On Jun 1, 6:25 am, Engel <engel.alf... (AT) gmail (DOT) com> wrote: Thanks, I already did that, "Bold-ON" is "E" while "Bold-OFF" is "F" Print Char(2): "E": "Churva": Char(27): "F" Still, that code didn't work. Help me! Are you sure the sequence should start with Char(2), or is that a typing mistake? What you have posted seems correct *if* that is what your printer manual describes as the code sequences. |
#7
| |||
| |||
|
|
I'm sorry it is just a typographical error, so it must be Char(27) not Char(2). I have visited some manual and the code goes that way, it says that Char(27)+E turns boldface ON, while Char(27)+F turns it off. Like what I have said, I use those snippets but, it fails. If someone who has the same printer of mine could test, I love to hear it from them the codes I have to write. Thanks |
#8
| |||
| |||
|
|
Hello All, I'm new here in PICK, can you give some example that prints a certain text on screen or to the printer on bold weight? I wish to have a report wherein the total amount of the invoice is printed bold. Any help are greatly appreciated. Thank you I have not used Epson printers for some time now but |
#9
| |||
| |||
|
|
Engel wrote: Hello All, I'm new here in PICK, can you give some example that prints a certain text on screen or to the printer on bold weight? I wish to have a report wherein the total amount of the invoice is printed bold. Any help are greatly appreciated. Thank you I have not used Epson printers for some time now but I still have a manual for the LX-800 printer. It shows Esc E to select emphasized mode and Esc F to cancel and Esc G to select double-strike mode and Esc H to cancel. Maybe these codes will work on your 300. Ron White -- Posted via NewsDemon.com - Premium Uncensored Newsgroup Service ------->>>>>>http://www.NewsDemon.com<<<<<<------ Unlimited Access, Anonymous Accounts, Uncensored Broadband Access |
![]() |
| Thread Tools | |
| Display Modes | |
| |