Tiny Core Extensions > TCE 2.x
cups
Juanito:
cups.tczl posted
As something of a test, a start-up script has been added to start the cups daemon when the extension is loaded. This will only work if the following extensions are loaded in the following order:
expat2.tczl
dbus.tczl
libcups.tczl
cups.tczl
Note:
1. For versions of tc earlier than 2.4rc1, if the above extensions are placed in /tce, the dbus and cups daemons will not start on boot as the boot process loads the extensions in alphabetical order.
2. If the above extensions and cups.tczl.dep are placed in /tce/optional (or any other folder) and the appbrowser is used to load cups.tczl, then the dbus and cups daemons will start.
Note also:
The cups.tcel extension has not been modified.
--- Code: ---Title: cups.tczl
Description: cups printing system
Version: 1.4.0
Author: see list of sites below
Original-site: see list of sites below
Copying-policy: see list of sites below
Size: 2.91MB
Extension_by: juanito
Comments: cups, the standards-based, open source printing system..
..developed by Apple Inc. for Mac OS X and other UNIX-like..
..operating systems
----------
requires the expat2, dbus and libcups extensions
if the expat2, dbus and libcups extensions are loaded in..
that order, the cups daemon will automatically start.
----------
howto:
the root password needs to be set perform admin tasks with..
..the browser interface
http://localhost:631 will start the browser interface
To persist across boots, add the following to your backup:
/etc/cups/printers.conf
/etc/cups/cupsd.conf (only if you changed it)
----------
This extension contains:
cups-1.4.0 - GPLv2 - http://ftp.easysw.com/pub/cups/1.4.0/cups-1.4.0-source.tar.bz2
Change-log: 2008/09/06
Updated menu item/icon
Added smb backend for samba
Added cups windows drivers in /usr/local/share/cups/drivers
2009/01/30
Modified foomatic filters for perl in /usr/local/bin
2009/03/13
upgraded to cups-1.4 and added start-up script
compiled to use dynamic printer drivers
removed foomatic-rip, split out libcups
Current: 2009/09/16
--- End code ---
perthie:
How should this work in 2.4rc1? When I try to add a printer, the Add Printer dialog is duplicated on the web page and the top half is hung up with "Looking for Printers...".
Juanito:
What kind of printer are you using - usb, parallel, network connected?
I tested with two different hp usb printers via hplip and the printers were found automatically. If you go to the next screen, you can enter a uri manually.
perthie:
I have both a local USB printer and a networked printer. CUPS 1.4 can't detect either, while 1.3.8 detects and sets up both. When I manually set up the networked printer and try a test page, it comes out blank. This is a clean install of TC 2.4rc1 with the extensions loading into RAM. I can see the dbus daemon running.
BTW, Ghostscript is not listed as a dependency.
I brought cups.1.3.8 over from TC 2.3.1 and it works fine.
perthie:
Correction: The network printer was detected. The hangup seems to be with finding USB devices.
Also, the folder /usr/local/lib/cups has been given tc:staff ownership. CUPS 1.4 complains if the printer filters are not owned by root.
Navigation
[0] Message Index
[#] Next page
Go to full version