SHARE
TWEET

Untitled

a guest Jan 20th, 2019 46 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. private void btn_close_bill_Click(object sender, EventArgs e)
  2.     {
  3.         PrinterUtility.EscPosEpsonCommands.EscPosEpson obj = new PrinterUtility.EscPosEpsonCommands.EscPosEpson();
  4.         var byteA;
  5.         byteA = PrintExtensions.AddBytes(byteA, Encoding.ASCII.GetBytes("Namen"));
  6.         byteA = PrintExtensions.AddBytes(byteA, obj.CharSize.DoubleWidth4());
  7.         byteA = PrintExtensions.AddBytes(byteA, Encoding.ASCII.GetBytes("Addressn"));
  8.         byteA = PrintExtensions.AddBytes(byteA, obj.CharSize.DoubleWidth2());
  9.         byteA = PrintExtensions.AddBytes(byteA, Encoding.ASCII.GetBytes("TP Numbern"));
  10.         byteA = PrintExtensions.AddBytes(byteA, obj.CharSize.DoubleWidth2());
  11.         PrinterUtility.PrintExtensions.Print(byteA, Foodcity_Management_System.Properties.Settings.Default.PrinterPath);
  12.  
  13.    }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top