Click here to Skip to main content
15,892,298 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have done a text priting in pos priting but i cant set a font to text file.
It takes a default priter setting . How can i set a font style in vb.
Posted
Comments
Kornfeld Eliyahu Peter 23-Dec-14 4:45am    
how do you send the text to the printer?
Consider, that plain text format have no place to styling...

1 solution

You have to send a escape sequence of characters to the printer. What those characters are can be found in the documentation of the printer.

Any test you send after that escape sequence will be printed using the settings you just changed, until you change them again or reset the printer.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900