Can you print text straight from a Stamp to a printer?
ranamus
Posts: 2
I would like to go from a Stamp·to a printer directly. Is this possible?
I'm using a Basic Stamp 2 with a DB-9 connector. Once programmed the PC is disconnected and a printer hooked up. Can I go from the Stamp into a serial to USB converter and then into the USB connection of a printer? Will the USB understand 8,N,1 ?
·
I'm using a Basic Stamp 2 with a DB-9 connector. Once programmed the PC is disconnected and a printer hooked up. Can I go from the Stamp into a serial to USB converter and then into the USB connection of a printer? Will the USB understand 8,N,1 ?
·
Comments
Normaly the PC is doing lots of homework to prepare youre pages for the printer. All the formatting of text is done in the PC and the printer does not understand the ASCII output of a Stamp.
Find an old matrix printer, it should be possible to get that running from a Stamp using 8 output pins and some pins for flow control etc. .
Regards,
Klaus
A much easier method would be to use an ordinary RS-232 serial printer with the SEROUT command. You may need to take care of carraige returns and line feeds yourself, depending on the printer, but that's no big deal (HEX OA and OD).
Alternatively you can also use an old parallel printer you might have around by using the EDE-1400 Printer Interface chip from these folks:
http://www.elabinc.com/
Using that chip you can issue SEROUT commands as you could in the prior example above, but to a parallel printer, and this chip takes care of the conversion for you.
Regards,
Bruce Bates
http://www.cdadapter.com/smp.htm
I have ordered one to try out and will let you know·at a later date·how it works. I would be interested in hearing anyone else's experience with this type of printer and interface.
John
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Manxstamp,
Isle of Man, British Isles
Thanks again