7
Reply

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

Nafihudheen KT

Nafihudheen KT

Oct 31 2011 12:01 AM
4.9k

  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)