badog 论坛管理员
Joined: 01 Nov 2006 Posts: 1021
小企鹅: 6575
|
Posted: 2006-Nov-02 Thu, pm9:07 |
|
Post subject: 能上网,就能打印 |
|
Cups 1.2.0
主页
http://www.cups.org/
CUPS provides a portable printing layer for UNIX-based operating systems. It is developed and maintained by Easy Software Products to promote a standard printing solution and is the standard printing system in MacOS X and most Linux distributions.
下载
http://mail.pdaxrom.org/contrib/desertrat/cups_1.2.0_armv5tel.ipk
如何配置:
After installing you need to "create" /etc/cups/cupsd.conf:
CODEcp -a /etc/cups/cupsd.conf.default /etc/cups/cupsd.conf
Edit it if necessary.
Start the cups daemon:
CODE/etc/rc.d/init.d/cups start
If you already have a cups server running on your network then you can list the useable printers:
CODE# lpstat -p
printer Epson700 is idle. enabled since Fri 12 May 2006 12:16:15 PM UTC
printer HP1100A is idle. enabled since Fri 12 May 2006 12:16:16 PM UTC
Then set a default printer:
CODE# lpoptions -d HP1100A
printer-info='HP LaserJet 1100A' printer-is-accepting-jobs=1 printer-is-shared=1 printer-make-and-model='HP LaserJet 1100A Foomatic/ljet4 on wurzel' printer-state=3 printer-state-change-time=1147436176 printer-state-reasons=none printer-type=12294
Check that it works:
CODElpr /etc/passwd |
|