4 (c) 2008 Yanira <forum-2008@email.de>
6 Licensed under the Apache License, Version 2.0 (the "License");
7 you may not use this file except in compliance with the License.
8 You may obtain a copy of the License at
10 http://www.apache.org/licenses/LICENSE-2.0
16 local uci = luci.model.uci.cursor_state()
18 m = Map("p910nd", translate("p910nd - Printer server"),
19 translatef("First you have to install the packages to get support for USB (kmod-usb-printer) or parallel port (kmod-lp)."))
21 s = m:section(TypedSection, "p910nd", translate("Settings"))
25 s:option(Flag, "enabled", translate("enable"))
27 s:option(Value, "device", translate("Device")).rmempty = true
29 p = s:option(ListValue, "port", translate("Port"), translate("TCP listener port."))
35 s:option(Flag, "bidirectional", translate("Bidirectional mode"))