Enabling CUPS: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 8: | Line 8: | ||
yum install cups.i386 |
yum install cups.i386 |
||
2. Configure your printer by editing (See example below): |
2. Configure your printer by editing (See [[#Example entry in printers.conf|example]] below): |
||
/etc/cups/printers.conf |
/etc/cups/printers.conf |
||
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>