This patch is against p910nd-0.91. It includes the patches used on the OpenWRT project. Inclusion of these changes in the next p910nd version will help both projects by allowing them to share a single code base for this utility.
The changes are:
a) replacing fopen() with open(), etc
b) Adding LOG_NOTICE logging of print jobs
c) ability to specify default printer location in makefile
d) Using select() for writes as well as reads
e) Delaying forwarding of data from the printer slightly, which dramatically increases performance of bidirectional printing on a limited CPU.
Contact n2rjt at his yahoo.com address for more information.