Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revisionLast revisionBoth sides next revision | ||
| docs:user-guide:services:p910nd [2018/02/17 21:52] – ↷ Page moved from doc:uci:p910nd to docs:user-guide:services:p910nd bobafetthotmail | docs:guide-user:services:print_server:p910nd [2019/08/26 10:47] – content reorganized vgaetera | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| Description for the UCI configuration file ''/ | Description for the UCI configuration file ''/ | ||
| - | For installations instructions and more see: [[docs:user-guide: | + | For installations instructions and more see: [[docs: |
| + | You can run more than one printer at the same time by adding additional sections. | ||
| + | The default configuration is (list all configured printers): | ||
| - | TODO | + | < |
| - | + | uci show p910nd | |
| - | You can run more than one printer at the same time by adding additional sections. The default configuration is (list all configured printers): | + | </ |
| - | + | ||
| - | Under Linux 2.4, the device name for the printer would be of the form / | + | |
| - | + | ||
| - | < | + | |
| - | uci show p910nd</ | + | |
| - | + | ||
| - | < | + | |
| - | uci set p910nd.cfg1=p910nd | + | |
| - | uci set p910nd.cfg1.device=/ | + | |
| - | uci set p910nd.cfg1.port=0 | + | |
| - | uci set p910nd.cfg1.bidirectional=1 | + | |
| - | uci set p910nd.cfg1.enabled=1</ | + | |
| - | + | ||
| - | To add a second printer, do this: | + | |
| - | + | ||
| - | < | + | |
| - | uci set p910nd.cfg2=p910nd | + | |
| - | uci set p910nd.cfg2.device=/ | + | |
| - | uci set p910nd.cfg2.port=1 | + | |
| - | uci set p910nd.cfg2.bidirectional=1 | + | |
| - | uci set p910nd.cfg2.enabled=1 | + | |
| - | uci commit p910nd | + | |
| - | / | + | |
| - | + | ||
| - | To delete the second printer, do this: | + | |
| - | + | ||
| - | < | + | |
| - | uci del p910nd.cfg2 | + | |
| - | uci commit p910nd | + | |
| - | / | + | |
| Description of the options in the p910nd config file ''/ | Description of the options in the p910nd config file ''/ | ||
| Line 48: | Line 20: | ||
| | '' | | '' | ||
| - | To start the p910nd daemon, do this: | + | **Note:** Enabling |
| - | < | + | < |
| - | / | + | # Add a printer |
| + | uci set p910nd.prn1=p910nd | ||
| + | uci set p910nd.prn1.device=/ | ||
| + | uci set p910nd.prn1.port=1 | ||
| + | uci set p910nd.prn1.bidirectional=1 | ||
| + | uci set p910nd.prn1.enabled=1 | ||
| + | uci commit p910nd | ||
| + | / | ||
| - | To start it up automatically on every boot, do this: | + | # Delete the printer prn1 |
| + | uci del p910nd.prn1 | ||
| + | uci commit p910nd | ||
| + | / | ||
| + | </ | ||
| - | < | + | * Under Linux 2.4, the device name for the printer would be of the form /dev/usb/lpn, where n is usually 0 for the first printer. |
| - | /etc/init.d/p910nd enable</ | + | * Under Linux 2.6, the device name for the printing would be of the form /dev/lpn |
| - | + | ||
| - | **Note:** Enabling | + | |