Quote:
Originally Posted by varnie
Thank you, it works for my task.
Now all I need to figure out is how to tell/instruct eips not to clear the first 10-20 pixels from the top. The problem I have is that after I perform 'eips -c -f', then redraw a page completely, the header and footer areas (the two narrow strips, ~10 and ~20 pixels in height, respectively) are untouched.
|
Instead of "
eips -c -f", you could use "
eips -f -g 0 1 white.png" to "full flash" display an "all white" image starting at the 2nd text row, where the image is short enough that it does not over-write the footer area.
When using eips to display images with a starting position, the column position needs to be 0, or it just horizontally clips the image instead of moving it sideways. But the row position (0-39) works fine.
Another way (which I have actually used, unlike the method above) is to define a shell variable that contains 50 ascii space chars, and then just use eips to "print" that to lines 1 to 38 (with the -f option in your case):
PHP Code:
B=" ";B=$B$B$B$B$B # 50 spaces
for i in $(seq 1 1 38);do eips -f 0 $i "$B"; done
P.S. I personally do not like automatic full flash updates, preferring to provide a button or key to do a manual full flash update when the USER decides that the eink screen is "too dirty". In my experience, eink using fast updates behaves a lot like an "old-school" chalkboard. I taught computer programming at a junior college, and the kindle screen (even when "dirty", is MUCH better than a chalkboard that has been erased too many times since it was last washed). Here is a great example of what I mean by a display (or chalkboard) getting "too dirty" (and an EXCELLENT lecture, by the way): http://video.google.com/videoplay?do...83735068377717