POS for .Net print formatting - can't use escape character (char)27

后端 未结 7 2157
不思量自难忘°
不思量自难忘° 2021-01-26 04:03

I figured out how to print basic text to our POS printer, but I can\'t figure out how to get the escape characters to work (for bold, text alignment, etc). For now I\'m just tes

7条回答
  •  粉色の甜心
    2021-01-26 04:13

    Did you check if your printer supports Bold, Italic etc? i.e.

    if (_printer.CapRecBold)
       // printer supports bold
    
    if (_printer.CapRecItalic)
       // printer supports italic
    

提交回复
热议问题