Hi All,
I am writing a POS system and using a receipt printer (Epson TM-U220D). Unfortunately the printer drivers from Epson didn't work & hence I resorted to using the Windows Generic/Text printer. I am using a series of to output to the printer, which works fine. My problem is that I need to do some form of simple formatting on the receipt, e.g. make company name bold, etc. My question is, how do I send the control codes to achieve the above
Thanks all.

how to send control codes via "???" to receipt printer
GregWold
Look at the printer manual for the codes you need and sendt hem as CHR(x).
e.g.
CHR(15)+"This is some text"
Paul Dettorre
additionally to the direct embedding of that CHR() codes, the command has a lot of Macros like
"{ESC}A This is plain text {Ctrl+A}Something different"
For a more indept list (which is not in the helpfile),
see http://fox.wikis.com/wc.dll Wiki~ ~VFP
LavP
"Plain text, {27}{69}bold{27}{70}, plain again"
This syntax is the reason why you need to print curly braces as "{123}". 123 is the ANSI code for "{".
DotNetDevelop
captJackSparo
Thanks all of you guys for your invaluable insights.