unwireddevices / p910nd

p910nd patch to control the printer with GPIO

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Patch to control printer's power from OpenWRT-based print server with p910nd printing daemon.

Use solid state relay connected to print server's GPIO output.

Additional command-line options:
-g <gpio> (GPIO number)
-t <timeout> (timeout in seconds to let the printer finish its job; printer will be turned off in ''timeout'' seconds after p910nd finish sending a job to it; default is 300 seconds)

Corresponding /etc/config/p910nd.conf options:
gpio <number>
timeout <seconds>

Every new job resets the timeout counter.

Usage example: http://www.black-swift.com/wiki/index.php?title=Wireless_Print_Server

Precompiled binary for OpenWRT 14.07, ar71x target architecture: http://files.black-swift.com/files/misc/p910nd_0.95-3-bsb1_ar71xx.ipk

About

p910nd patch to control the printer with GPIO


Languages

Language:Makefile 58.4%Language:Shell 41.6%