Enabling CUPS: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 22: | Line 22: | ||
===Example entry in printers.conf=== |
===Example entry in printers.conf=== |
||
<nowiki> |
|||
<Printer OLPC> |
<Printer OLPC> |
||
Info color laser jet 3800 |
Info color laser jet 3800 |
||
Location 1CC |
Location 1CC |
||
DeviceURI ipp://19.86.47.16 |
DeviceURI ipp://19.86.47.16 |
||
State Idle |
State Idle |
||
StateTime 1179147849 |
StateTime 1179147849 |
||
Accepting Yes |
Accepting Yes |
||
Shared Yes |
Shared Yes |
||
JobSheets none none |
JobSheets none none |
||
QuotaPeriod 0 |
QuotaPeriod 0 |
||
PageLimit 0 |
PageLimit 0 |
||
KLimit 0 |
KLimit 0 |
||
OpPolicy default |
OpPolicy default |
||
ErrorPolicy stop-printer |
ErrorPolicy stop-printer |
||
</Printer> |
</Printer> |
||
</nowiki> |
Revision as of 15:33, 3 January 2008
For Developers
Peter Krenesky, from the Open Source Lab at Oregon State University, has verified that cups is installable and works on the XO over a traditional wireless network with the following steps from the Terminal activity:
1. Install CUPS:
su - yum install cups.i386
2. Configure your printer by editing (See example below):
/etc/cups/printers.conf
3. Restart CUPS:
/etc/init.d/cups restart
4. Print using the lpr command:
lpr -P fooprinter foodoc.ps
(In the above example, the printer name is "fooprinter" and the document being printed is "foodoc.ps".)
The long-term plan is a Sugar integration, but in a pinch this should get you started. Of course, the option remains to copy your files to a USB stick and print from another machines.
Example entry in printers.conf
<Printer OLPC> Info color laser jet 3800 Location 1CC DeviceURI ipp://19.86.47.16 State Idle StateTime 1179147849 Accepting Yes Shared Yes JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 OpPolicy default ErrorPolicy stop-printer </Printer>