Nafihudheen KT

Nafihudheen KT

  • NA
  • 43
  • 79.2k

Can any body give the C# code equallent for the following VB code ?

Oct 31 2011 12:01 AM

  Open "\\system2\EpsonLX-" For Output As #1
   
       Print #1, Chr(27) & "@" 'Initialize printer
       Print #1, Chr(27) & "A" & Chr(11)
       Print #1, Chr(27) & "E" 'Set Font Bold
       Print #1, "Printer is Bold"
       Print #1, "Printer is Bold"
       Print #1, Chr(27) & "F" ' Set Font Normal
      
       Print #1, "Printer is Normal"
       Print #1, "Printer is Normal"

   Close #1

Is this kind of a printing is possible from C#.net please help

Answers (7)