Enabling CUPS: Difference between revisions
(New page: {{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 ...) |
No edit summary |
||
Line 8: | Line 8: | ||
yum install cups.i386 |
yum install cups.i386 |
||
2. Configure your printer by editing: |
2. Configure your printer by editing (See example below): |
||
/etc/cups/printers.conf |
/etc/cups/printers.conf |
||
Line 20: | Line 20: | ||
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. |
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=== |
|||
<nowiki> |
|||
<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> |
|||
</nowiki> |
Revision as of 15:32, 3 January 2008
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>