Enabling CUPS

From OLPC
Revision as of 15:32, 3 January 2008 by Walter (talk | contribs)
Jump to navigation Jump to search

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>