Shop OBEX P1 Docs P2 Docs Learn Events
bluetooth enabled printer — Parallax Forums

bluetooth enabled printer

ArchiverArchiver Posts: 46,084
edited 2004-04-27 09:08 in General Discussion
Im currently doing a project on a bluetooth enabled printer. I have
BS2 connected to the BOE,a serial to parallel printer chip(EDE 1400)
and EB500 connected to BOE. On the other side, im using a bluetooth
dongle to connect the circuit via hyper terminal. All the connections
and intialisation went smoothly execpt that im stuck at how to
transfer an imgae file to the EB500. And still cant figure out how to
print the received image file through the printer. Can anybody help
me with a sample program or suggestions on how to transfer an image
file?

Thanks.
Leo

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2004-04-27 09:08
    Hello Leo,

    The easiest way to implement Bluetooth printing using a Basic Stamp
    is to make the module a simple pass through once a connection has
    been established. You want to route all data received by the eb500
    module from the PC directly to your printer. If your printer is bi-
    directional you also want to route all data from the printer back up
    to the PC. This can be quite simple or somewhat complex depending on
    which Basic Stamp you are using.

    1. If you are not using hardware flow control, you need to ensure
    that data does not get missed. If you are sending large amounts of
    data from the PC, a BS2 at 9600bps will have a hard time keeping up
    without missing data while its writing to the printer.

    2. If you are using the Javelin Stamp the task is quite easy because
    it is a faster processor and has a UART buffer. You do not need to
    be nearly as careful to ensure that no data is missed.

    With this pass through scheme, the printer will behave as if it were
    connected directly to the PC via a serial cable. Neither
    HyperTerminal nor a printer driver will be able to tell the
    difference.

    Sincerely,

    Bryan Hall
    A7 Engineering
    http://www.a7eng.com
Sign In or Register to comment.