Carlos kambui

Carlos kambui

  • NA
  • 499
  • 126.8k

change vb.net codes to c#

Aug 11 2016 9:26 AM
am developing a system using c# i want to print receipt using thermal printer i have the following codes for vb.net and now i want to convert to c# ,below are my codes kindly help to convert to c#
Dim msetheader As String = Chr(27) + "!" + Chr(40)
Dim msetbold As String = Chr(27) + "!" + Chr(33)
Dim mseqntbold As String = Chr(27) + "!" + Chr(6)
Dim msetnormal As String = Chr(27) + "!" + Chr(1)
Dim msetnrmbig As String = Chr(27) + "!" + Chr(1)
Dim malignleft As String = Chr(27) + Chr(97) + Chr(48)
Dim maligncenter As String = Chr(27) + Chr(97) + Chr(49)
Dim menter As String = Chr(13)
Dim mprintermaxchars As String = 56
 

Answers (1)