Click here to Skip to main content
15,887,316 members
Home / Discussions / C#
   

C#

 
AnswerRe: Not able to use Modern UI Charts for Windows 8 Pin
Abhinav S20-May-13 18:49
Abhinav S20-May-13 18:49 
GeneralRe: Not able to use Modern UI Charts for Windows 8 Pin
Raghavendra Reddy C20-May-13 20:30
professionalRaghavendra Reddy C20-May-13 20:30 
AnswerRe: Not able to use Modern UI Charts for Windows 8 Pin
Pete O'Hanlon20-May-13 21:40
mvePete O'Hanlon20-May-13 21:40 
GeneralRe: Not able to use Modern UI Charts for Windows 8 Pin
Raghavendra Reddy C20-May-13 22:35
professionalRaghavendra Reddy C20-May-13 22:35 
GeneralRe: Not able to use Modern UI Charts for Windows 8 Pin
Pete O'Hanlon20-May-13 22:54
mvePete O'Hanlon20-May-13 22:54 
AnswerRe: Not able to use Modern UI Charts for Windows 8 Pin
Raghavendra Reddy C20-May-13 22:53
professionalRaghavendra Reddy C20-May-13 22:53 
AnswerRe: Not able to use Modern UI Charts for Windows 8 Pin
Richard MacCutchan20-May-13 22:54
mveRichard MacCutchan20-May-13 22:54 
QuestionPROBLEM with SEND DATA to LOCAL PORT C# Pin
Andrew Nguyen20-May-13 17:18
Andrew Nguyen20-May-13 17:18 
hi,
I am trying to write some data to local port to open the cash drawer....
with this simple code

C#
private void button1_Click(object sender, EventArgs e)
{
    serialPort1.Open();
    //serialPort1.PortName(textBox1.Text);

    serialPort1.PortName = textBox1.Text;
    serialPort1.Write("16 20 1 0 1");
    serialPort1.Close();
}



However the Port is not recoginized in C# unless it's a COM port...
My printer somehow say it should be a local port with the name USB_BTP-R880NP_1 (as the name of the printer) .. How can i communicate with it without using a COM command from C#...
Second question is
in the reference, it said to send data to the port to open cash drawer by following this format :
ASCII DLE DC4 n m t
HEx 10 14 n m t
Decimal 16 20 n m t
Range n = 1
m =0,1
1<=t <= 6
Is my command above correct?
Thanks



AnswerRe: PROBLEM with SEND DATA to LOCAL PORT C# Pin
Ron Beyer20-May-13 17:56
professionalRon Beyer20-May-13 17:56 
QuestionUsage of IDataErrorInfo Pin
radkrish20-May-13 8:11
radkrish20-May-13 8:11 
AnswerRe: Usage of IDataErrorInfo Pin
Ron Beyer20-May-13 14:55
professionalRon Beyer20-May-13 14:55 
GeneralUnderstanding Jagged Arrays Pin
N8tiv20-May-13 3:29
N8tiv20-May-13 3:29 
GeneralRe: Understanding Jagged Arrays Pin
Richard Deeming20-May-13 3:44
mveRichard Deeming20-May-13 3:44 
GeneralRe: Understanding Jagged Arrays Pin
N8tiv20-May-13 4:00
N8tiv20-May-13 4:00 
GeneralRe: Understanding Jagged Arrays Pin
Richard Deeming20-May-13 4:19
mveRichard Deeming20-May-13 4:19 
GeneralRe: Understanding Jagged Arrays Pin
Richard MacCutchan20-May-13 5:12
mveRichard MacCutchan20-May-13 5:12 
GeneralRe: Understanding Jagged Arrays Pin
N8tiv20-May-13 6:04
N8tiv20-May-13 6:04 
GeneralRe: Understanding Jagged Arrays Pin
Richard MacCutchan20-May-13 7:19
mveRichard MacCutchan20-May-13 7:19 
GeneralRe: Understanding Jagged Arrays Pin
N8tiv20-May-13 7:30
N8tiv20-May-13 7:30 
GeneralRe: Understanding Jagged Arrays Pin
Matt T Heffron20-May-13 8:49
professionalMatt T Heffron20-May-13 8:49 
GeneralRe: Understanding Jagged Arrays Pin
Richard MacCutchan20-May-13 22:26
mveRichard MacCutchan20-May-13 22:26 
GeneralRe: Understanding Jagged Arrays Pin
N8tiv23-May-13 15:24
N8tiv23-May-13 15:24 
GeneralRe: Understanding Jagged Arrays Pin
Richard MacCutchan23-May-13 20:42
mveRichard MacCutchan23-May-13 20:42 
GeneralRe: Understanding Jagged Arrays Pin
N8tiv23-May-13 21:15
N8tiv23-May-13 21:15 
GeneralRe: Understanding Jagged Arrays Pin
Richard MacCutchan23-May-13 22:22
mveRichard MacCutchan23-May-13 22:22 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.