Thread: Serial port Communication

  1. #16
    Registered User
    Join Date
    Nov 2007
    Posts
    99

    serial port communication

    Thank you for u r reply,

    i will definitely check the hyper terminal with COM1 port,
    but my actual question is how to connect the printer to the COM1 port,
    still i have not connected it,what is the procedure,

    as i have set of procedure how to connect hyper terminal , how to configure it through COM1 is there any way to connect the printer,


    please tell me.

  2. #17
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    Did you read the link that Pico posted: http://technet.microsoft.com/en-us/l.../cc728155.aspx

    As to "how you connect the printer to serial port", you'd have to have the right cable first of all - probably comes with the printer, but I don't know - whoever sold you the printer may know... This is really quite far from C++ programming...

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  3. #18
    Registered User
    Join Date
    Nov 2007
    Posts
    99

    serial port communication

    dear experts,
    thank u for reply,

    ya i understood know,as u suggested i used the Hyperterminal to check whether COM ports are working, for that i used one serial cable ,

    but it worked for following configuration of COM1

    Bits per second :9600
    Data bits :8
    Parity :none
    Stopbits :2
    Flow control :xon/xoff

    so my question is whether i can use this configuration and use that serial cable
    and and use my program to communicate between 2pcs, and also what is the configuration that i have to replace for Flow control:xon/xoff which was 0 previously.

    what are u r suggestions insead of printer is it possible to make communication between two pcs, please give me u r suggestion, how to do, whether one
    hyperterminal and one program or running program on both the PCs,
    please help me.
    Last edited by vin_pll; 01-06-2009 at 04:06 AM.

  4. #19
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    What are you ACTUALLY trying to achieve?

    And you can use full words in this forum - it is not terribly limited in space, so saving two characters by typing "u" instead of "you" is just annoying - that makes sense when you are trying to get the most out of a 16-character display on an old mobile phone, or try to get the most out of a 240-byte packet for SMS. Not much point here - I don't know what the limit for a post is, but it's certainly several kilobytes, and most people have a 800 x 600 or better resolution.

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  5. #20
    Registered User
    Join Date
    Oct 2008
    Posts
    115
    I admire the patience of the experts right here.. I ,myself, can't really understand the point of this topic, I'm thinking this would lead to nothing unless the issue is isolated by the person asking the question.. This would be informational if it's resolved.

  6. #21
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    Quote Originally Posted by $l4xklynx View Post
    I admire the patience of the experts right here.. I ,myself, can't really understand the point of this topic, I'm thinking this would lead to nothing unless the issue is isolated by the person asking the question.. This would be informational if it's resolved.
    That is exactly why I asked what the original poster wishes to achieve - it is not clear to me what he/she/they are actually trying to do - as the example I give fairly often, it is like being the mechanic being asked "How do I loosen a wheel-nut", when the actual question that should be asked is "How do I replace my punctured wheel with the spare" - because whilst you do need to know how to loosen a wheel-nut to replace the wheel, there are several other steps involved, and perhaps the right solution is actually not to replace the wheel at all, but use some of the "magic puncture repair in a bottle".

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  7. #22
    Registered User
    Join Date
    Nov 2007
    Posts
    99

    serial port communication

    dear experts,

    really sorry for my post if it is really felt very bad to you,

    as i intially said i dont know anything about serial port communication and i am following the steps what u were referring me,

    anyhow my actual task was to do a serial communication with printer, but after checking everything i found that serial printer was not available so i thought of atleast communicating in between two PCS, for that your hyperterminal concept had helped me,

    once again if you felt this thread is useless or wasting your time i am extremely sorry, thanks for all your replies.

  8. #23
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    Quote Originally Posted by vin_pll View Post
    once again if you felt this thread is useless or wasting your time i am extremely sorry, thanks for all your replies.
    It's more the case that we can not help you (and you are the one asking for help) when you do not give a good description of what you want to do - if you are happy with the answers given, then fine.

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  9. #24

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Duplex communication thro serial port
    By Priyachu in forum Networking/Device Communication
    Replies: 1
    Last Post: 05-30-2009, 04:24 AM
  2. Duplex communication thro serial port
    By Priyachu in forum Linux Programming
    Replies: 1
    Last Post: 05-30-2009, 04:03 AM
  3. Serial Port Communication
    By maxorator in forum C++ Programming
    Replies: 11
    Last Post: 04-27-2006, 03:13 PM
  4. DOS, Serial, and Touch Screen
    By jon_nc17 in forum A Brief History of Cprogramming.com
    Replies: 0
    Last Post: 01-08-2003, 04:59 PM
  5. Need help or info about serial port communication
    By Unregistered in forum Linux Programming
    Replies: 1
    Last Post: 01-08-2002, 01:48 PM