But if I do not call EndPage() or EndDoc(),I could not get the line. I want to see something printed when I print a line. How? Thank u!
shooterlily
Posts
-
How could print a line without ending the page? -
How could print a line without ending the page?I want to do some printing randomly, each time print a single line. When I use EndDoc() or Escape(ENDDOC), the printer ends a page. How could I do printing like the POS terminal printer?
-
How to customize http connection timeout?It sounds quite reasonable.Thank you!
-
How to customize http connection timeout?I knew something about it. The timout is a new property that is introduced in .NET framework 1.1. I have changed my framework version to 1.1. But when I use it like the following, IDictionary props = new Hashtable(); props["timeout"] = 30000; HttpClientChannel channel = new HttpClientChannel(props, new SoadClientFormatterSinkProvider()); it seems the timeout(30 seconds) does not take effect. Why? Could you help me ?
-
How to customize http connection timeout?Are you sure? When I use the following code, channel = new HttpClientChannel(); channel.Properties.Add("timeout",10000); JIT throws System.NotSupportedException. What is your suggestion?
-
How to customize http connection timeout?Here is my code. HttpClientChannel channel = new HttpClientChannel(); ChannelServices.RegisterChannel(channel); try{ url = "http://"+servername+":7777"; RemotingConfiguration.RegisterActivatedClientType(typeof(MyService), url); MyService myservice = new MyService(); }catch(Exception){...} If I input an error servername,I want to know error in customized timeout such as 10 seconds or else. How? Thanks!