https://github.com/anachrocomputer/microprinter
Software to drive a till-receipt printer and make it do things that it was never intended to do.
https://github.com/anachrocomputer/microprinter
cbm-1000 citizen escape-sequences receipt-printer serial
Last synced: 23 days ago
JSON representation
Software to drive a till-receipt printer and make it do things that it was never intended to do.
- Host: GitHub
- URL: https://github.com/anachrocomputer/microprinter
- Owner: anachrocomputer
- Created: 2016-02-27T10:33:34.000Z (over 9 years ago)
- Default Branch: main
- Last Pushed: 2024-05-20T21:01:37.000Z (over 1 year ago)
- Last Synced: 2025-01-16T10:49:00.298Z (9 months ago)
- Topics: cbm-1000, citizen, escape-sequences, receipt-printer, serial
- Language: C
- Homepage:
- Size: 32.2 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# microprinter
Some code to drive the Citizen CBM 1000 till-receipt printer.
It can print text, graphics and barcodes. The C source
here is very much a work-in-progress and has some sections #ifdefed
out for development. What's left in place is a routine that will
print a PBM file (text format), which we use as a way to give
people a QR code that represents the Bristol Hackspace URL.## The Printer
The Citizen CBM 1000 is a till-receipt printer that prints on
thermal paper.
It has a serial (RS-232) interface that can be connected to
a modern PC via a USB-to-serial adaptor cable and a 9-to-25 pin
converter.
It accepts ASCII text and uses escape sequences to control special
effects such as boldface and underlining.
Escape sequences are also used to send bit-mapped graphics to the
printer.
Later versions of the printer have a USB interface built-in.