Mike Sizov 6fc08fded2 Add command for printing 4 shades of grayscale image.
It works in a similar way as a monochrome print, but with few differences:
1. User needs to send 3 rows of color bitstrings for each image row.
2. Printer will stay in place while printing all 3 non-white 'colors',
it will feed the paper each third line.
3. User must multiply height by 3.
4. Command is different: cmd[0] == ASCII_GS && cmd[1] == 118 && cmd[2] == 49

E.g.
For image 200x200, user needs to send header with width 200, height 600.
Image data is arranged the following way (fourth color is blank):
25 bytes (200bits) of 1st color for first row
25 bytes (200bits) of 2nd color for first row
25 bytes (200bits) of 3rd color for first row
25 bytes (200bits) of 1st color for second row
25 bytes (200bits) of 2nd color for second row
...etc...
2023-04-17 00:44:13 +07:00
2022-09-20 17:10:52 +08:00
2022-09-04 21:38:12 +08:00
2022-01-13 21:22:59 +08:00
2022-05-12 13:35:23 +08:00
2022-06-08 09:15:41 +08:00
2022-05-06 15:55:44 +08:00
2021-12-20 12:56:25 +08:00
2020-11-20 18:53:42 +08:00

DevTerm

Description
This code repository offers downloads for the latest images of various DevTerm models, as well as kernel patches, keyboard firmware, the source code for screen and printer drivers, hardware schematics, assembly instructions, and essential technical documents.
Readme LGPL-2.1 106 MiB
Languages
C 47.8%
Shell 46.8%
C++ 2.6%
Makefile 1.2%
Python 1%
Other 0.6%