I created a FreeDOS program that simulates printing on a 9-pin impact
("dot matrix") printer.

I made this for a few reasons: 1. I am writing an article about dot
matrix printing, and didn't have a good way to demonstrate it; and 2.
It was something fun to do in an afternoon.

A few notes:

- This is a simplified version of a dot matrix printer. Characters are
5x8. The 9th "pin" is reserved for underline only. Although printer
control codes aren't implemented yet, so underline doesn't work
anyway.

- I didn't create a character set as "firmware" for the virtual
printer. So currently, printable characters are rendered as the bit
pattern for the character's ascii code (except 32, which is rendered
as a space).


I've shared it on my GitHub, with screenshots of the output:
https://github.com/freedosproject/vp


Compile with OpenWatcom. Uses the MIT license.


Jim



*I grabbed the "freedosproject" username some time ago so no one else
could take it and use it for something else. I use this account to
share source code for programming projects that I do on the YouTube
channel. The FreeDOS source archive is at GitLab:
https://gitlab.com/FreeDOS (there's also a link from my GitHub
profile)


_______________________________________________
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to