printer interfacing

hello there,
i want to know the printer interfacing with 8051
i have interfaced it and it is working fine
-but when paper is not put properly that time my machine hangs can u guide me what to do in such case
is it related to BUSY signal?????
pls reply

Parents
  • "i want to know the printer interfacing with 8051"

    What printer?
    What 8051?

    What type of interface does the printer have - USB? Centronics? Serial? Or what?

    "i have interfaced it and it is working fine"

    Is it?

    "but when paper is not put properly that time my machine hangs"

    So it is not fine - it has a bug!

    "can u guide me what to do in such case"

    You need to debug it!

    For a strart, you need to determine exactly what is happening when it "hangs"

    "is it related to BUSY signal?"

    Who knows?!
    You've given absolutely no details whatsoever of the printer, its interface, your circuit, or your software - so how can anyone possibly make any informed suggestions?!

    Your question really is just like, "my car won't work - what is wrong with it?" !

    For a start, you need to read the printer Manual to determine how (or whether) it uses the BUSY signal.
    Then check that your hardware & software correctly handles this.

    Also, check what actually happens on the printer in this situation - preferably with an oscilloscope.
    Again, check that your hardware & software correctly handles this.

    If you can connect the printer to a PC, you could also try seeing what happens in that case...

Reply
  • "i want to know the printer interfacing with 8051"

    What printer?
    What 8051?

    What type of interface does the printer have - USB? Centronics? Serial? Or what?

    "i have interfaced it and it is working fine"

    Is it?

    "but when paper is not put properly that time my machine hangs"

    So it is not fine - it has a bug!

    "can u guide me what to do in such case"

    You need to debug it!

    For a strart, you need to determine exactly what is happening when it "hangs"

    "is it related to BUSY signal?"

    Who knows?!
    You've given absolutely no details whatsoever of the printer, its interface, your circuit, or your software - so how can anyone possibly make any informed suggestions?!

    Your question really is just like, "my car won't work - what is wrong with it?" !

    For a start, you need to read the printer Manual to determine how (or whether) it uses the BUSY signal.
    Then check that your hardware & software correctly handles this.

    Also, check what actually happens on the printer in this situation - preferably with an oscilloscope.
    Again, check that your hardware & software correctly handles this.

    If you can connect the printer to a PC, you could also try seeing what happens in that case...

Children
More questions in this forum