Epson TM-m50II ePOS-Print XML Users Manual - Page 429
Development Information for Customer Displays - How to Use WSDL
View all Epson TM-m50II manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 429 highlights
Chapter 6 Development Information for Customer Displays - How to Use WSDL 6 Create and execute a program to call XML Print Service. Editing example (File to be edited: Program.cs) namespace ConsoleApplication1 { class Program { static void Main(string[] args) { ePOSDisplayPortTypeClient client = new ePOSDisplayPortTypeClient(); parameter param = new parameter(); param.printjobid = "ABC123"; param.devid = "local_display"; param.timeout = "60000"; reset r = new reset(); cursor c = new cursor(); c.type = cursortypetype.none; c.typeSpecified = true; marquee m = new marquee(); m.format = marqueeformattype.place; m.formatSpecified = true; m.repeat = "0"; m.uwait = "500"; m.rwait = "2000"; m.Value = "Thanks for coming!"; object[] epos = new object[] { r, c, m }; response res = client.send(ref param, epos); Console.WriteLine(res.success); Console.WriteLine(res.code); Console.ReadLine(); } } } 429