cups api
cupsfax 0.4
cupsfax project contains a set of two scripts to integrate a fax server into the CUPS printing system. more>>
This way, there are no additional conditions on what can be printed, like fax numbers embedded into the file or job name. This can also be fully integrated into a samba/CUPS configuration, enabling Windows clients to send arbitrary documents as fax. It also gives the full power of the CUPS print processing pipeline to sending faxes.
pycups 1.9.46
pycups library is a set of Python bindings for the CUPS API. more>>
Enhancements
- Printing a test page now works with CUPS 1.4
- Bindings have been added for localizing IPP reasons and marker names from PPD files.
Requirements: Python
fax4CUPS 1.28
fax4CUPS is a simple shell scripts that acts as a CUPS backend. more>>
The nice thing is that you have CUPS around, and this means, for instance, that you can check whether your fax has been sent just using your favorite browser (as you would do for any other printer), even if the fax modem is really on a remote server. fax4CUPS project supports HylaFAX, efax, and mgetty-fax.
Enhancements:
- Two deadly bugs in shell syntax have been fixed.
Tea4CUPS 3.12
Tea4CUPS is similar in functionality to the *nix command tee, but in the form of a CUPS (Common UNIX Printing System) backend. more>>
Tea4CUPS is the Swiss Armys knife of the advanced CUPS administrator, and can easily replace or extend most of the existing specialized CUPS backends (pdf, email, ftp, etc...)
You are greatly encouraged to use this software instead of writing your own CUPS backends : Tea4CUPS will let you plug your own scripts, filters, tools, or commands wherever you want, while giving them access to all the print jobs characteristics in a consistent way.
Tea4CUPS is a 100% Python written standalone script distributed under the terms of the GNU General Public License of the Free Software Foundation.
Tea4CUPS provides three ways to launch commands :
filters : A filter can modify the input datas before they are sent to the printer or made available to the pre and post hooks defined below. Currently a single filter can be defined per print queue.
prehooks : these are guaranteed to be launched before the print job is sent to the real printer. Any prehook which exits -1 can cancel the print job. Any number of prehooks can be defined for a particular print queue.
posthooks : these are guaranteed to be launched after the print job has been sent to the real printer, unless the job was previously cancelled by a prehook. Any number of posthooks can be defined for a particular print queue.
Enhancements:
- Access to the same printer devices by different print queues or print servers is now serialized to avoid problems.
- Support for CUPS 1.2.x and higher was improved.
- The administrator can now stop tea4cups with SIGINT.
- A configurable retry directive in the configuration file gives you more control over what to do when the real CUPS backend fails.
- The documentation and sample configuration file were improved.
CUPS-PDF 2.4.6
CUPS-PDF project is a PDF writer backend for CUPS. more>>
It will convert files printed to its queue in CUPS to PDF and put them in a per-user-based directory structure. It can execute post-processing scripts, e.g. to allow mailing the results to the user.
Important notes:
CUPS-PDF requires root privileges since it has to modify file ownerships. In recent distributions the "RunAsUser" option in cupsd.conf is set to "Yes" which removes these privileges. Please make sure to set "RunAsUser No" if you want to use CUPS-PDF.
make sure if any of CUPS-PDFs working directories (e.g. output) is a NFS mounted volume it is mounted without root_squash!
CUPS-PDF is known to fail if the gs (GhostScript) binary on a system is compressed by upx (Ultimate Packer for eXecutables).
if you are using SELinux make sure it does not interfere with CUPS-PDF
On MacOSX you will have to use pstopdf instead of AFPL GhostScript (see Readme).
GROU.PS Web 2.0 API 0.1
GROU.PS Web is a general purpose PHP API, created for use in Web 2.0 sites. more>>
Our API currently has 2 classes:
1) TagCloud?.class.php
Feed the class with your own data, and create Web 2.0 style tag clouds
2) Utility.class.php
General purpose functions. For instance getStyledDateDiff gives nicely formatted date differences that are in use in digg.com and grou.ps
The APIs are not complete yet. We are open to any ideas, wished coming from you.
Usage:
Tag Cloud Example
< ?php
require_once(/path/to/TagCloud.class.php);
$tc = new TagCloud();
$tc->setMinFontSize(8);
$tc->setMaxFontSize(20);
$tc->setDistributionType(TC_RANDOM_DISTRIBUTION);
$tc->setDataClass(tags);
$tc->addData(love,10);
$tc->addData(sex,20);
$tc->addData(food,5);
$tc->addData(business,1);
$tc->addData(PHP,2);
$res = $tc->generate();
echo $res;
? >
Utility Example:
< ?php
require_once(/path/to/Utility.class.php);
$start_date = "September 21, 1999";
$end_date = "yesterday";
$u = new Utility();
$datediff = $u->getStyledDateDiff($start_date,$end_date);
$birthday = "11 January 1978";
$zodiacsign = $u->getZodiacSign($birthday);
echo $datediff;
echo "
";
echo $zodiacsign;
? >
Clickatell SMS API 1.5
Clickatell SMS API provides a tool for sending SMS messages using the Clickatell gateway. more>>
It provides support to authenticate to this service and query for the current account balance.
This class use the fopen or CURL module to communicate with the gateway via HTTP/S.
Enhancements:
- Fixed bug in function encode_message (tnx Neil)
Wikipedia API 1.0
Wikipedia API is a simple API to embed Wikipedia content dynamically on a Web site. more>>
Wikipedia is an online encyclopedia in which the user community is encouraged to submit information for its entries. Wikipedia is unique in that it is free to the public, the content is fairly well moderated, and its content is licensed under the GFDL (GNU Free Documentation License); therefore, all of its text can be copied, modified, and used any way you see fit.
The only stipulation to using its text, is that the names of the original authors must remain intact. KillerTux.com is currently embedding some of the relevant entries in its own site and has decided to make the API open for public use. It is a simple implementation and should be easy to use. If you are a webmaster and would like to use KillerTux.coms Wikipedia API, this is the place to learn how to do it.
What is an API
An API is an application programming interface with which external applications can communicate with. The syntax and usage of the API dictates the type of data, format, and other specifics of the information to be exchanged. In this case, the API is a simple call to KillerTux.coms web server via the HTTP protocol.
Wikipedia API usage
The URL for the API is "http://scrapers.killertux.com/wikipedia-api.php". It uses the get request method and only has 3 parameters. These parameters are as follows:
wikititle=
wikiformat=[html | text]
wikiimages=[yes | no ]
The wikititle value is the name of the Wikipedia entry you are looking for, in Wikipedias variable entry. This can be found by going to Wikipedia.org and finding an entry. The name is the last part of the URL. For instance, the Wikipedia entry for "Computer Program" is "http://en.wikipedia.org/wiki/Computer_Program". Notice the space is an underscore in the URL. Defining the wikititle value for this API would look like this: wikititle=Computer_Program. This value must be specified. A sample API call would be "http://scrapers.killertux.com/wikipedia-api.php?wikititle=Computer_Program". The wikiformat value currently has two possible values: html and text. html is the default if no value is specified. If you use HTML format, it is recommended that a style sheet be used, although it may not be necessary.
A sample CSS is provided here. The text format option strips all HTML code from the document and returns plain text formatted at 80 characters per column. A sample API call would be "http://scrapers.killertux.com/wikipedia-api.php?wikititle=Computer_Program&wikiformat=html". The wikiimages value is only valid for HTML format; images for the text format are disabled. Image source locations are preserved and images are loaded from Wikipedia, not KillerTux.com. If wikiimages=no is selected, all images and captions will be striped from the document, while other HTML code should remain intact such as links to other articles. A sample API call would be "http://scrapers.killertux.com/wikipedia-api.php?wikititle=Computer_Program&wikiimages=no".
PDL::API 2.4.3
PDL::API is a Perl module for making piddles from Perl and C/XS code. more>>
A simple cookbook how to create piddles manually. It covers both the Perl and the C/XS level. Additionally, it describes the PDL core routines that can be accessed from other modules. These routines basically define the PDL API. If you need to access piddles from C/XS you probably need to know about these functions.
SYNOPSIS
use PDL;
sub mkmypiddle {
...
}
Star Asterisk API 1.00
Star Asterisk API is a high performance API that connects to the manager interface of Asterisk or to AstManProxy. more>>
Star Asterisk API is easy to use, object-oriented, and easy to extend to suit your particular requirements.
Main features:
- Easy to use -- Simple php
- Easy to extend -- Object oriented approach
- High performance -- Handles High volume of traffic
pslj 1.0.0
pslj shell-script is used to print Postscript files to a LaserJet 5L printer. more>>
You can reference this script in your /etc/printcap file, like this (assuming you have installed the script in /usr/local/bin, with mode 755):
ps|HP LaserJet 5L as PostScript:
:lp=/dev/lp1:
:sd=/var/spool/lp1:
:mx#0:
:if=/usr/local/bin/pslj:sh
You need to adapt your /etc/printcap file.
This should work on any UN*X-like platform, that has an lpr style printing subsystem.
I dont use this for normal printing support anymore. Im using cups for that now.
Datashaping 0.3.2
A pythonic query API for structured data more>>
Datashaping 0.3.2 is a useful program which provides very simple pythonic API allowing for complex queries on structured data.
Currently supported are lists of dictionaries. Nested structures (dictionaries, lists) are also indexed and can be queried.
Puppy Linux 4.2.1
Puppy Linux provides you with a perfect and very useful evolutionary operating system which is based on GNU Linux. more>>
Puppy Linux 4.2.1 provides you with a perfect and very useful evolutionary operating system which is based on GNU Linux. Whats different here is that Puppy is extraordinarily small, yet quite full featured. Puppy Linux can boot into a 64MB ramdisk, and that's it, the whole caboodle runs in RAM. Unlike live CD distributions that have to keep pulling stuff off the CD, Puppy in its entirety loads into RAM. This means that all applications start in the blink of an eye and respond to user input instantly.
Major Features:
- Puppy Linux has the ability to boot off a flash card or any USB memory device (flash-Puppy), CDROM (live-Puppy), Zip disk or LS/120/240 Superdisk (zippy-Puppy), floppy disks (floppy-Puppy), internal hard drive (hard-Puppy).
- Puppy occupies about 50-60M on my USB Flash drive, CDROM, or whatever is the storage media.
- When Puppy boots, everything uncompressed into a RAM area that we call a "ramdisk". The live-CD will bootup on systems with only 32M RAM, but the more RAM you have the more Puppy is able to keep files permanently in ramdisk hence more speed. A PC with 128M RAM is the recommended minimum.
- Note that Puppy will automatically use a swap partition if it exists. When booting from a USB Flash device, Puppy tries to load all the Flash files into physical RAM, but if there is not enough RAM then Puppy is able to copy the excess to a swap partition if it exists. This eliminates writes to the Flash memory during a session, greatly extending its life span.
- You may need to have a swap partition to run Firefox or Mozilla on PCs with less than 64M RAM. Certainly, for a PC with only 32M RAM, a swap partition is necessary to run most of the large GUI applications.
Enhancements:
- CUPS-1.3.10 regressed from 1.4b2 to resolve ongoing issues with CUPS printing.
- Fixed printing from Geany, Leafpad and Gnumeric using CUPS-1.3.10
- Abiword-2.6.3 with 2.6.6 plugins has been patched for improved .doc & .docx support (Liberation ttf fonts required for some documents)
- Pwidgets updated to 2.0.8
- Pcrypt updated to 17 May 2009 release and now requires Ccrypt to function. Bcrypt has been dropped in consequence.
- Ccrypt-1.7 added as dependency for Pcrypt
- MIME-types updated in Rox-2.6.1
- Patches for gtk+ Xinput and b43 broadcom network driver
- Pmusic updated to 0.6.4
- Pschedule updated to 0.7
- Plus previously issued patches for nbtscan, mountcifs, jwm-tray, xsane, network wizard (now at April 4 release), mtpaint-snapshot, gtk+2.12.1-Xinput-fix and pcp (Puppy control panel).
Splix 0.0.2
SpliX is a set of CUPS printer drivers for SPL (Samsung Printer Language) printers. more>>
Note that only SPL2 printers are currently supported! However we are looking for people who have a SPL printer to implement it as soon as possible.
Dont hesitate to leave us a message if necessary.
Enhancements:
- Several bugs have been fixed.
- It can be used with CUPS version 1.2 or later.
- The Makefile has been changed.
- The SRT mode is only available for specific printers.
- Splix on 64-bit architectures now works.
- The last band is now printed.
- Margins have been recalculated.
- New translations for German and Italian have been added.
AcuLaser C900 CUPS backend 0.19
AcuLaser C900 CUPS backend provides a LINUX CUPS package (incl. PPD-file) for the EPSON AcuLaser C900. more>>
It is built around the avasys pipsplus driver. The project supports i386 and 32-bit compatible x86_64 LINUX systems (deb/rpm/tgz/gentoo/slack)
There are positive feedbacks for:
- SuSE
- Mandriva
- Slackware
- Red Hat
- Fedora Core
- Debian, Ubuntu
- Gentoo
The included installer will:
- Check for missing packages
- download and install the mandatory epkowa packages automatically
- provide a dummy lpr-package to resolve dependencies
- account for the different Ditros (BSD - System V - Gentoo) and configure the run-levels accordingly
- give suggestions for appropriate URIs for the printer installation
- call the distribution specific CUPS tools (YaST2, printerdrake, kprinter, gnome-cups-config)
Main features:
- Bundling of pages (large documents sometimes "hang")
- generic multiple local printer support
- URI handling for proper interface (usblp) allocation
- installation of XML files for plain foomatic support
- better hotplugging behavior
- networking (IPP, SMB) support through a local pseudo-interface
Enhancements:
- The regular print mode will be selected with every reboot or runlevel change.