printing text straight to the printer
-
hello... can anybody help? is there a way to print what a textbox contains straight to the printer? i can't seem to figure it out... thanks!!
-
hello... can anybody help? is there a way to print what a textbox contains straight to the printer? i can't seem to figure it out... thanks!!
Search the Comments next time. This has been covered here dozens of times. HOW TO: Send Raw Data to a Printer by Using Visual Basic .NET[^]. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
-
hello... can anybody help? is there a way to print what a textbox contains straight to the printer? i can't seem to figure it out... thanks!!
if u need i can send an example, Send email for demand
-
Search the Comments next time. This has been covered here dozens of times. HOW TO: Send Raw Data to a Printer by Using Visual Basic .NET[^]. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
please offer next time Both :D How The Raw Data is Printed[^] and HOW TO: Send Raw Data to a Printer by Using Visual Basic .NET[^].[^] Noww I m Bronze Member of code project yuppiiiiiiiii
-
please offer next time Both :D How The Raw Data is Printed[^] and HOW TO: Send Raw Data to a Printer by Using Visual Basic .NET[^].[^] Noww I m Bronze Member of code project yuppiiiiiiiii
Tooting your own horn are you? That article didn't exist at the time. And after seeing it, I wouldn't recommend it to anyone, yet. You've got a lot of work to do to clean up that code so it's readable, let alone orgainized into logical blocks. On top of that, I hate it when people just post code with some comments in it but don't actually write an article explaining the code and theory behind it. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
-
Tooting your own horn are you? That article didn't exist at the time. And after seeing it, I wouldn't recommend it to anyone, yet. You've got a lot of work to do to clean up that code so it's readable, let alone orgainized into logical blocks. On top of that, I hate it when people just post code with some comments in it but don't actually write an article explaining the code and theory behind it. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
hi! is there some sort of printer settings that i need to follow prior to the code? it doesn't seem to be working. if i use the "print a string" method, it justs prints the first letter. if i use the "print a file" methond, it prints only the first word.
-
hi! is there some sort of printer settings that i need to follow prior to the code? it doesn't seem to be working. if i use the "print a string" method, it justs prints the first letter. if i use the "print a file" methond, it prints only the first word.
On most printers today, you have to send a Form Feed character (ASCII 12) to the pritner to get it to form feed and print the contents of the buffer. If it still does not print, then there is some setting or flush commadn you hvae to send to the printer. But, only the documentation on the printer will tell you what that is. You might even have to go to the manufacturer to get that information. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome