Actually, thinking about it a little. I would likely use an 8x16 font. Then, 
you could supply a simple “standard” dos font on the command line or have the 
program pull the font directly from video memory at startup. 

Then, I would programmatically separate the font into two separate 8x8 fonts. 
One consistent of the even lines in left to right order. And another font of 
the odd lines in right to left order.

Then, during simulated printing, the fake print head would print the even 
lines, shift down 1 pixel and print backwards. Then, drop down the remaining 
character bits and start the next line. 

This could also be used to generate audio using the PC speaker in order to 
“Simulate”  the sounds of printing. 

Combined with a visual print head, scrolling fan fold paper, audio, it would be 
kind of neat. 

Then, of course, would be to tie it to a LPT port, add file/image output, and 
of course support common printer escape sequences. Maybe even emulation of some 
classic printers. Like a Citizen GSX-130. 

:-)

_______________________________________________
Freedos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to