Shop OBEX P1 Docs P2 Docs Learn Events
Connect one BasicStamp to Serial Printer (Serial communication) — Parallax Forums

Connect one BasicStamp to Serial Printer (Serial communication)

ArchiverArchiver Posts: 46,084
edited 2003-12-10 05:29 in General Discussion
Dear Friends,

Any person know the topology and program to connect anything serial printer
to one basicstamp bs2p by serial protocol.....

I appreciate if you can help me

best regards

Atentamente.
Ing. Damian Trujillo G.
RIESE & CIA, S.A.
Caracas - Venezuela
) +58-212-7934266/4377
7 +58-212-7940791/0908
+ dtrujillo_riese@c...

[noparse][[/noparse]Non-text portions of this message have been removed]

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2003-12-10 05:29
    Is there a specific printer in mind? usually you connect the SOUT pin on the BS2
    to the serial input pin on the printer. Use the debug command like this:

    debug" this is a test to print a line on the printer"

    if you have the command codes from the printer use them to give instructions to
    the printer like return line might be $0A, or magnification ON might be
    $1D,$21,1 these are found in the users manual of most printers, you can find
    them on the net. you can use them in combination format such as

    debug " this is a test",$0A

    that would print that line followed by a return line. Hope it helps.



    Do you Yahoo!?
    Protect your identity with Yahoo! Mail AddressGuard

    [noparse][[/noparse]Non-text portions of this message have been removed]
Sign In or Register to comment.